/* ==========================================================================
   Search Intelligence — Home page styles
   Ported from Search Intelligence - Home.dc.html / SI-Nav.dc.html /
   SI-StickyCTA.dc.html. Tokens match the locked design system (CLAUDE.md).
   ========================================================================== */

:root {
	--bg: #F3F4F5;
	--surface: #FFFFFF;
	--text: #373E46;
	--text-secondary: #5F6163;
	--muted: #808182;
	--muted-2: #9FA2A4;
	--muted-3: #6E6F6F;
	--border: #E2E4E6;
	--accent: #2F8FEF;
	--accent-2: #5F7FA6;
	--accent-light: #8FBCE8;
	--onDark-secondary: #C6CBD1;
	--tint-2: #E4EDF6;
	--tint-2-hover: #DCE8F3;
	--tint-3: #CFE0F1;
	--tint-3-hover: #C2D8ED;
	--negative: #A6534B;
	--dark: #373E46;

	--section-pad-y: clamp(48px, 9vw, 100px);
	--section-pad-x: clamp(20px, 6vw, 64px);
	--content-max: 1180px;
}

/* -------------------------------------------------------------------------
   Base / reset
   ------------------------------------------------------------------------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	-webkit-font-smoothing: antialiased;
}
a { cursor: pointer; text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

.site-main { background: var(--bg); color: var(--text); min-height: 100vh; }

[hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* -------------------------------------------------------------------------
   Typography utilities
   ------------------------------------------------------------------------- */
.eyebrow {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--accent-2);
	margin-bottom: 20px;
}
.eyebrow--dark { color: var(--accent-light); }
.eyebrow--muted { font-size: 11px; letter-spacing: 0.18em; color: var(--muted); margin-bottom: 8px; }

.h2 {
	font-size: 38px;
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.01em;
	margin: 0 0 22px;
	color: var(--text);
}
.h2--narrow { max-width: 720px; }
.h2--wide { max-width: 800px; }
.h2--onDark { color: #FFFFFF; }
.h2--faq { font-size: 34px; line-height: 1.2; margin-bottom: 40px; }

.body-text { font-size: 16px; line-height: 1.65; color: var(--text-secondary); margin: 0 0 16px; }
.body-text:last-child { margin-bottom: 0; }
.body-text--onDark { color: var(--onDark-secondary); }
.section__lead { margin-bottom: 48px; max-width: 740px; }

.text-steel { color: var(--accent-2); }
.text-accent { color: var(--accent); }

.inline-link { color: var(--accent); text-decoration: none; }
.inline-link:hover { text-decoration: underline; }

.link-arrow {
	color: var(--accent);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	display: inline-block;
	transition: transform 0.2s ease, color 0.2s ease;
}
.link-arrow:hover { transform: translateX(5px); color: var(--accent-2); }
.link-arrow--onDark { color: var(--accent-light); }
.link-arrow--onDark:hover { color: #FFFFFF; }

.diagnostic-pill {
	background: var(--accent-2);
	padding: 5px 12px;
	border-radius: 999px;
	font-weight: 700;
	letter-spacing: -0.005em;
	white-space: nowrap;
	display: inline-block;
}
.diagnostic-highlight { font-weight: 700; color: var(--accent); white-space: nowrap; }

/* -------------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------------- */
.btn-primary {
	background: var(--accent);
	color: #FFFFFF;
	font-size: 16px;
	font-weight: 600;
	padding: 16px 30px;
	border-radius: 8px;
	border: none;
	text-decoration: none;
	display: inline-block;
	cursor: pointer;
	text-align: center;
	transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary:hover { background: var(--accent-2); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(47, 143, 239, 0.3); }
.btn-primary--small { font-size: 14px; padding: 10px 20px; }
.btn-primary--block { width: 100%; font-size: 15.5px; padding: 16px 28px; }

.btn-secondary {
	border: 1px solid var(--accent-2);
	color: var(--text);
	font-size: 16px;
	font-weight: 500;
	padding: 15px 30px;
	border-radius: 8px;
	background: none;
	text-decoration: none;
	display: inline-block;
	cursor: pointer;
	text-align: center;
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.btn-secondary:hover { background: var(--accent-2); color: #FFFFFF; transform: translateY(-2px); }
.btn-secondary--block { width: 100%; font-size: 15.5px; padding: 15px 28px; }

/* -------------------------------------------------------------------------
   Nav — v1.4 dropdown mega-menu. The header is `position:fixed` (was
   `sticky`) so dropdown flyouts aren't clipped by any ancestor's
   overflow/stacking context; .site-nav__spacer keeps page content clear
   of it, its height kept in sync with the header's real rendered height
   by initMegaNav() in main.js (ResizeObserver, since the header can wrap
   to 2 rows at some widths). Desktop vs mobile is a real @media switch
   at 1280px, not JS state — wider than the site's usual 640px breakpoint
   because a 5-group dropdown nav needs more room before collapsing than
   a card grid does.
   ------------------------------------------------------------------------- */
.site-nav__spacer { height: 64px; }
.site-nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	row-gap: 10px;
	padding: 14px clamp(16px, 5vw, 64px);
	background: #FFFFFF;
	border-bottom: 1px solid var(--border);
}
.site-nav__logo { display: flex; align-items: center; text-decoration: none; }
.site-nav__logo img { height: 34px; width: auto; }
.site-nav__links { display: flex; align-items: center; gap: clamp(10px, 2.4vw, 26px); flex-wrap: wrap; row-gap: 10px; }
.nav-link {
	color: var(--text-secondary);
	font-size: 15.5px;
	font-weight: 500;
	text-decoration: none;
	transition: color 0.2s ease;
}
.nav-link:hover { color: var(--accent); }
.nav-link.is-active { color: var(--accent); font-weight: 600; }

.nav-group { position: relative; }
.nav-group__row { display: flex; align-items: center; gap: 3px; }
.nav-group__toggle {
	cursor: pointer;
	font-size: 10px;
	color: var(--muted-3);
	line-height: 1;
	padding: 6px 2px 6px 0;
	user-select: none;
}
.nav-group__dropdown {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 10;
	background: #FFFFFF;
	border: 1px solid var(--border);
	border-radius: 10px;
	box-shadow: 0 16px 40px rgba(55, 62, 70, 0.16);
	padding: 10px;
	min-width: 230px;
}
.nav-group:hover .nav-group__dropdown,
.nav-group.is-open .nav-group__dropdown { display: block; }
.nav-group__item {
	display: block;
	padding: 9px 12px;
	border-radius: 7px;
	color: var(--text);
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease;
}
.nav-group__item:hover { background: var(--bg); color: var(--accent); }

.site-nav__mobile-actions { display: none; align-items: center; gap: 10px; }
.site-nav__mobile-toggle {
	background: none;
	border: none;
	cursor: pointer;
	font-size: 24px;
	line-height: 1;
	color: var(--text);
	padding: 2px 4px;
	user-select: none;
}

.mobile-nav-panel {
	box-sizing: border-box;
	position: fixed;
	top: 64px;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	z-index: 95;
	background: #FFFFFF;
	overflow-y: auto;
	padding: 8px clamp(16px, 5vw, 64px) 32px;
}
.mobile-nav-group { border-bottom: 1px solid var(--border); }
.mobile-nav-group__row { display: flex; align-items: center; justify-content: space-between; padding: 16px 2px; }
.mobile-nav-group__link { color: var(--text); font-size: 16px; font-weight: 600; text-decoration: none; }
.mobile-nav-group__toggle {
	cursor: pointer;
	font-size: 20px;
	color: var(--muted-3);
	padding: 4px 8px;
	user-select: none;
}
.mobile-nav-group__items { display: none; flex-direction: column; gap: 2px; padding: 0 2px 16px 12px; }
.mobile-nav-group.is-open .mobile-nav-group__items { display: flex; }
.mobile-nav-group__item { padding: 9px 0; color: var(--text-secondary); font-size: 14.5px; font-weight: 500; text-decoration: none; }
.mobile-nav-panel__cta {
	display: block;
	text-align: center;
	background: var(--accent);
	color: #FFFFFF;
	font-size: 15px;
	font-weight: 600;
	padding: 15px 20px;
	border-radius: 8px;
	text-decoration: none;
	margin-top: 24px;
}

.sub-nav {
	box-sizing: border-box;
	position: fixed;
	top: 64px;
	left: 0;
	right: 0;
	z-index: 90;
	background: rgba(255, 255, 255, 0.92);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	border-bottom: 1px solid var(--border);
	padding: 8px clamp(16px, 5vw, 64px);
	overflow-x: auto;
}
.sub-nav__spacer { height: 44px; }
.sub-nav__inner {
	max-width: var(--content-max);
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 6px;
	width: max-content;
	min-width: 100%;
	justify-content: center;
}
.sub-nav__pill {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 6px 14px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 500;
	color: var(--text-secondary);
	background: transparent;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.25s ease, color 0.25s ease;
}
.sub-nav__pill.is-active { background: var(--accent); color: #FFFFFF; font-weight: 600; }
.sub-nav__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--muted-2); display: inline-block; transition: background 0.25s ease; }
.sub-nav__pill.is-active .sub-nav__dot { background: #FFFFFF; }

@media (max-width: 1280px) {
	.site-nav__links { display: none; }
	.site-nav__mobile-actions { display: flex; }
	.sub-nav, .sub-nav__spacer { display: none; }
}
@media (min-width: 1281px) {
	.mobile-nav-panel { display: none; }
}

/* -------------------------------------------------------------------------
   Sticky mobile CTA
   ------------------------------------------------------------------------- */
.sticky-cta {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 50;
	background: #FFFFFF;
	border-top: 1px solid var(--border);
	box-shadow: 0 -8px 24px rgba(55, 62, 70, 0.12);
	padding: 12px 16px;
	padding-bottom: max(12px, env(safe-area-inset-bottom));
	display: flex;
	align-items: center;
	gap: 12px;
}
.sticky-cta__text { flex: 1; min-width: 0; }
.sticky-cta__label { font-size: 13.5px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-cta__sub { font-size: 11.5px; color: var(--muted); }
.sticky-cta__button {
	background: var(--accent);
	color: #FFFFFF;
	font-size: 13.5px;
	font-weight: 600;
	padding: 11px 18px;
	border-radius: 8px;
	text-decoration: none;
	white-space: nowrap;
	flex-shrink: 0;
}
@media (min-width: 641px) {
	.sticky-cta { display: none !important; }
}

/* -------------------------------------------------------------------------
   Section shell
   ------------------------------------------------------------------------- */
.section { padding: var(--section-pad-y) var(--section-pad-x); }
.section--surface { background: #FFFFFF; }
.section--dark { background: var(--dark); color: #FFFFFF; }
.section--border-top { border-top: 1px solid var(--border); }
.section__inner { max-width: var(--content-max); margin: 0 auto; }

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* -------------------------------------------------------------------------
   Hero + pathway diagram (shared by hero + proof pathway)
   ------------------------------------------------------------------------- */
.hero { padding: var(--section-pad-y) var(--section-pad-x) 80px; }
.hero__grid {
	max-width: var(--content-max);
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: clamp(32px, 6vw, 60px);
	align-items: center;
}
.hero__title { font-size: 60px; font-weight: 650; line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 30px; max-width: 880px; color: var(--text); }
.hero__lead { font-size: 19px; line-height: 1.6; color: var(--text-secondary); margin: 0 0 14px; max-width: 760px; }
.hero__lead:last-of-type { margin-bottom: 36px; }
.hero__actions { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.hero__hint { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted-3); margin-bottom: 6px; }
.hero__hint-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); display: inline-block; flex-shrink: 0; }
.hero__note { font-size: 12.5px; color: var(--muted-2); }
.hero-image-wrap { width: 100%; padding: 26px; }
.hero-image-wrap--sector { padding: 22px; }
.hero-image-frame {
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 40px 70px -24px rgba(55, 62, 70, 0.4), 0 14px 30px rgba(55, 62, 70, 0.16);
	transform: perspective(1200px) rotateX(3deg) rotateY(-2deg);
}
.hero-image-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__image { aspect-ratio: 4 / 3; }
/* Matches the crop saved in the design tool's image-slot state (x: -5.36% pan
   on a 4:3 frame) — shifts the visible window right so the laptop screen
   reads as the focal point instead of a dead-center crop. */
.hero__image img { object-position: 66% center; }

.pathway { border-radius: 12px; }
.pathway--hero {
	max-width: var(--content-max);
	margin: 60px auto 0;
	background: #FFFFFF;
	border: 1px solid var(--border);
	padding: 36px 40px;
	box-shadow: 0 4px 16px rgba(55, 62, 70, 0.08);
}
.pathway--proof { background: var(--bg); border: 1px solid var(--border); padding: 32px 36px; margin-bottom: 20px; }
.pathway__label { font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; }
.pathway__row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.pathway__box {
	flex: 1;
	border-radius: 8px;
	padding: 16px 14px;
	text-align: center;
	font-size: 13.5px;
	font-weight: 500;
	color: var(--text);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.pathway--hero .pathway__box { min-width: 130px; }
.pathway--proof .pathway__box { min-width: 110px; }
.pathway__box--wide { flex: 1.2; min-width: 150px; }
.pathway__box--dashed { border: 1px dashed var(--muted-2); color: var(--muted-3); }
.pathway__box--dashed:hover { transform: translateY(-3px); border-color: var(--accent-2); color: var(--text); }
.pathway__box--solid { border: 1px solid var(--accent-2); }
.pathway__box--solid:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(95, 127, 166, 0.22); border-color: var(--accent); }
.pathway__box--highlight { border: 1.5px solid var(--accent); font-weight: 600; box-shadow: 0 0 20px rgba(47, 143, 239, 0.16); }
.pathway__box--highlight:hover { transform: translateY(-3px); box-shadow: 0 0 30px rgba(47, 143, 239, 0.32); }

.pathway__arrow { color: var(--accent-2); font-size: 18px; font-weight: 300; transition: transform 0.2s ease; }

/* -------------------------------------------------------------------------
   Category strip
   ------------------------------------------------------------------------- */
.category-strip { padding: 64px; background: #FFFFFF; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.category-strip__inner {
	max-width: var(--content-max);
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: clamp(28px, 6vw, 64px);
	flex-wrap: wrap;
}
.category-strip__title { font-size: 38px; font-weight: 650; letter-spacing: -0.01em; line-height: 1.1; flex: 1 1 280px; color: var(--text); }
.category-strip__divider { width: 1px; align-self: stretch; background: var(--border); }
.category-strip__text { font-size: 17px; line-height: 1.6; color: var(--text-secondary); margin: 0; flex: 1; min-width: 280px; }

/* -------------------------------------------------------------------------
   Moment before the lead
   ------------------------------------------------------------------------- */
.moment__grid {
	max-width: var(--content-max);
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: clamp(32px, 6vw, 80px);
	align-items: start;
}
.moment__list { display: flex; flex-direction: column; gap: 16px; }
.moment__item { font-size: 22px; font-weight: 500; color: var(--text); }
.moment__side { padding-top: 70px; }
.moment__quote { border-left: 2px solid var(--accent); padding: 4px 0 4px 22px; font-size: 17px; font-weight: 500; color: var(--text); line-height: 1.5; }

/* -------------------------------------------------------------------------
   Cards (shared component: problem / governs / sectors / proof-links / insights)
   ------------------------------------------------------------------------- */
.card-grid { display: grid; gap: 22px; }
.card-grid--3 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card-grid--4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; }
.card-grid--sectors { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card-grid--md { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card-grid--sm { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }

.card {
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 32px 28px;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(55, 62, 70, 0.1); border-color: var(--accent-2); background: #FFFFFF; }
.card__accent { width: 32px; height: 2px; background: var(--accent); margin-bottom: 22px; }
.card__title { font-size: 18px; font-weight: 600; color: var(--text); margin-bottom: 12px; }
.card__title--lg { font-size: 21px; }
.card__text { font-size: 14px; line-height: 1.6; color: var(--text-secondary); margin: 0; }
.card__meta-label { font-size: 10.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 20px 0 6px; }
.card__meta-value { font-size: 13.5px; line-height: 1.5; color: var(--accent-2); }
.card__meta-plain { font-size: 13px; line-height: 1.6; color: var(--muted-3); }
.card__meta-label--tight { letter-spacing: 0.14em; margin-bottom: 10px; }
.sector-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.sector-pills--best { margin-bottom: 0; }
.sector-pill { border-radius: 999px; padding: 5px 11px; font-size: 12.5px; font-weight: 500; }
.sector-pill--govern { background: #E4EDF6; border: 1px solid #C9DDF0; color: var(--text); }
.sector-pill--best { background: var(--bg); border: 1px solid var(--border); color: var(--text-secondary); }
.sector-pill--best-onLight { background: #FFFFFF; border: 1px solid var(--border); color: var(--text-secondary); }
.card__text--dark { color: var(--text); font-size: 15px; line-height: 1.6; margin: 0; }
.card__title--sm { font-size: 15.5px; margin-bottom: 8px; }
.card__text--sm { font-size: 13.5px; line-height: 1.55; }
.card__ol { margin: 0; padding-left: 18px; font-size: 13.5px; line-height: 1.9; color: var(--text-secondary); }
.belief-quote { font-size: 24px; line-height: 1.5; color: #FFFFFF; font-weight: 500; margin: 0; max-width: 760px; }
.card__cta { margin-top: auto; }

.card--surface { background: #FFFFFF; box-shadow: 0 4px 16px rgba(55, 62, 70, 0.06); padding: 30px; }
.card--surface:hover { box-shadow: 0 14px 34px rgba(55, 62, 70, 0.15); background: #FFFFFF; }
.card--featured { border: 1.5px solid var(--accent-2); }
.card--featured:hover { box-shadow: 0 14px 34px rgba(47, 143, 239, 0.2); }

.card--sector { padding: 34px 32px; display: flex; flex-direction: column; gap: 16px; }
.card--sector .card__text { margin: 0; }

.card--compact { padding: 26px 24px; display: flex; flex-direction: column; gap: 12px; }
.card--compact:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(55, 62, 70, 0.1); }
.card--compact .card__title { font-size: 16px; margin-bottom: 0; }
.card--compact .card__text { font-size: 13.5px; }

/* Section-scoped typography fine-tuning (matches source's per-section sizes) */
.problem .card__title { font-size: 20px; }
.problem .card__text { font-size: 14.5px; }
.insights .card--compact { padding: 30px; }
.insights .card--compact .card__title { font-size: 17px; }
.insights .card--compact .card__text { font-size: 14px; }

/* -------------------------------------------------------------------------
   The problem
   ------------------------------------------------------------------------- */
.problem__columns {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 56px;
	margin-bottom: 56px;
}
.problem__statement { font-size: 21px; line-height: 1.45; color: var(--text); font-weight: 500; margin: 0; }

/* -------------------------------------------------------------------------
   What SI governs
   ------------------------------------------------------------------------- */
.governs .card { padding: 30px; }

/* -------------------------------------------------------------------------
   How SI works
   ------------------------------------------------------------------------- */
.step-list { max-width: 880px; }
.step {
	background: #FFFFFF;
	border-radius: 10px;
	padding: 30px 36px;
	display: grid;
	grid-template-columns: 170px 1fr;
	gap: 32px;
	align-items: start;
	transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16); }
.step--2 { background: var(--tint-2); }
.step--2:hover { background: var(--tint-2-hover); }
.step--3 { background: var(--tint-3); border: 1.5px solid var(--accent-2); }
.step--3:hover { background: var(--tint-3-hover); box-shadow: 0 14px 34px rgba(47, 143, 239, 0.28); }
.step__title { font-size: 19px; font-weight: 600; color: var(--text); }
.step__body .card__text { font-size: 14.5px; margin-bottom: 12px; }
.step__note { font-size: 13.5px; font-weight: 500; color: var(--accent-2); }
.step-arrow { display: flex; justify-content: center; padding: 4px 0; color: var(--accent-light); font-size: 20px; font-weight: 300; }
.how-works__footer { display: flex; align-items: center; gap: 28px; margin-top: 40px; flex-wrap: wrap; }
.how-works__footer-text { font-size: 16px; font-weight: 500; color: #FFFFFF; }

/* -------------------------------------------------------------------------
   Proof pathway
   ------------------------------------------------------------------------- */
.proof-pathway__lead { max-width: 740px; margin-bottom: 14px; }
.proof-pathway__statement { font-size: 16px; line-height: 1.65; color: var(--text); font-weight: 500; margin: 0 0 48px; }

/* -------------------------------------------------------------------------
   Governance vs SEO
   ------------------------------------------------------------------------- */
.compare__eyebrow { margin-bottom: 40px; }
.compare__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	border: 1px solid var(--border);
	border-radius: 12px;
	overflow: hidden;
	background: #FFFFFF;
}
.compare__col { padding: 48px 44px; }
.compare__col--muted { border-right: 1px solid var(--border); }
.compare__col--active { background: rgba(47, 143, 239, 0.05); }
.compare__label { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 16px; }
.compare__label--active { color: var(--accent-2); }
.compare__heading { font-size: 28px; font-weight: 600; line-height: 1.2; margin: 0 0 24px; color: var(--text); }
.compare__heading--muted { color: var(--muted-2); }
.compare__text { font-size: 14.5px; line-height: 1.65; color: var(--text-secondary); margin: 0 0 14px; }
.compare__text:last-child { margin-bottom: 0; }
.compare__text--muted { color: var(--muted); }
.compare__cta { margin-top: 28px; }

/* -------------------------------------------------------------------------
   Manifesto
   ------------------------------------------------------------------------- */
.manifesto { padding: clamp(56px, 10vw, 110px) var(--section-pad-x); }
.manifesto__inner { max-width: 860px; margin: 0 auto; text-align: center; }
.manifesto__heading { font-size: 44px; font-weight: 650; line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 32px; color: #FFFFFF; }
.manifesto__text { font-size: 17px; line-height: 1.65; color: var(--onDark-secondary); margin: 0 0 16px; }
.manifesto__statement { font-size: 19px; line-height: 1.6; color: #FFFFFF; font-weight: 500; margin: 0 0 36px; }

/* -------------------------------------------------------------------------
   FAQ
   ------------------------------------------------------------------------- */
.faq__inner { max-width: 900px; margin: 0 auto; }
.faq__list { display: flex; flex-direction: column; gap: 22px; }
.faq__item { border-bottom: 1px solid var(--border); padding-bottom: 22px; }
.faq__item--last { border-bottom: none; padding-bottom: 0; }
.faq__question { font-size: 16.5px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.faq__answer { font-size: 14.5px; line-height: 1.6; color: var(--text-secondary); margin: 0; }

/* -------------------------------------------------------------------------
   Final CTA
   ------------------------------------------------------------------------- */
.final-cta { padding: clamp(48px, 9vw, 90px) var(--section-pad-x); }
.final-cta__grid {
	max-width: var(--content-max);
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: clamp(32px, 6vw, 70px);
	align-items: center;
}
.final-cta__heading { font-size: 38px; font-weight: 650; line-height: 1.15; letter-spacing: -0.015em; color: var(--text); margin: 0 0 22px; }
.final-cta__actions { display: flex; flex-direction: column; gap: 14px; align-items: stretch; }
.final-cta__note { font-size: 12.5px; color: var(--muted-2); text-align: center; }

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */
.site-footer { background: var(--dark); padding: clamp(36px, 8vw, 60px) var(--section-pad-x) clamp(24px, 6vw, 40px); }
.site-footer__inner { max-width: var(--content-max); margin: 0 auto; }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 50px; margin-bottom: 48px; }
.footer__logo { margin-bottom: 16px; }
.footer__logo img { height: 30px; width: auto; filter: brightness(0) invert(1); }
.footer__blurb { font-size: 13.5px; line-height: 1.6; color: var(--muted-2); margin: 0; max-width: 260px; }
.footer__col { display: flex; flex-direction: column; gap: 11px; }
.footer__heading { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; text-decoration: none; }
.footer__link { color: var(--onDark-secondary); font-size: 13.5px; text-decoration: none; transition: color 0.2s ease; }
.footer__link:hover { color: #FFFFFF; }
.footer__link--highlight { color: var(--accent-light); font-weight: 600; }
.footer__link--highlight:hover { color: #FFFFFF; }
.footer__legal {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding-top: 22px;
	display: flex;
	justify-content: space-between;
	font-size: 12px;
	color: var(--muted);
	flex-wrap: wrap;
	gap: 10px;
}
.footer__legal-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer__legal-link { color: var(--muted); text-decoration: none; transition: color 0.2s ease; }
.footer__legal-link:hover { color: var(--onDark-secondary); }

/* -------------------------------------------------------------------------
   Diagnostic modal
   ------------------------------------------------------------------------- */
.modal-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(35, 40, 46, 0.62);
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 32px;
}
.modal-backdrop[hidden] { display: none; }
.modal {
	background: #FFFFFF;
	border-radius: 14px;
	max-width: 640px;
	width: 100%;
	max-height: 88vh;
	overflow: auto;
	box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
	position: relative;
}
.modal__close {
	position: absolute;
	top: 22px;
	right: 24px;
	width: 30px;
	height: 30px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--muted);
	font-size: 18px;
	cursor: pointer;
	border: 1px solid var(--border);
	background: none;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.modal__close:hover { background: var(--bg); color: var(--text); border-color: var(--accent-2); }

.modal__panel { padding: 56px 48px 48px; }
.modal__panel[hidden] { display: none; }
.modal__title { font-size: 28px; font-weight: 650; color: var(--text); margin: 0 0 12px; letter-spacing: -0.01em; }
.modal__intro { font-size: 15px; line-height: 1.6; color: var(--text-secondary); margin: 0 0 28px; }
.modal__input {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: 14px 16px;
	font-size: 15px;
	font-family: 'Inter', sans-serif;
	color: var(--text);
	margin-bottom: 10px;
}
.modal__error { color: var(--negative); font-size: 13.5px; margin-bottom: 14px; }
.modal__fine-print { font-size: 12.5px; color: var(--muted-2); margin-top: 18px; }
.modal__score { font-size: 15px; color: var(--muted); margin-bottom: 28px; }
.modal__actions { display: flex; gap: 14px; flex-wrap: wrap; }

[data-panel="result"] .modal__title { font-size: 32px; margin-bottom: 8px; }
[data-panel="result"] .modal__intro { font-size: 15.5px; line-height: 1.65; margin-bottom: 36px; }

.result-bar { background: var(--bg); border: 1px solid var(--border); border-radius: 10px; height: 10px; margin-bottom: 32px; overflow: hidden; }
.result-bar__fill { height: 100%; border-radius: 10px; background: var(--accent); width: 0; transition: width 0.4s ease; }

.quiz__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.quiz__header .eyebrow { margin-bottom: 0; }
.quiz__step-count { font-size: 12.5px; color: var(--muted); }
.quiz__progress { background: var(--bg); border-radius: 999px; height: 6px; margin-bottom: 32px; overflow: hidden; }
.quiz__progress-fill { height: 100%; border-radius: 999px; background: var(--accent); width: 0; transition: width 0.3s ease; }
.quiz__question { font-size: 24px; font-weight: 600; color: var(--text); line-height: 1.35; margin: 0 0 32px; letter-spacing: -0.005em; }
.quiz__options { display: flex; flex-direction: column; gap: 12px; }
.quiz__option {
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 18px 20px;
	font-size: 15px;
	font-weight: 500;
	color: var(--text);
	cursor: pointer;
	transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.quiz__option:hover { border-color: var(--accent); background: var(--bg); transform: translateX(3px); }

/* -------------------------------------------------------------------------
   Sector pages (Insurance / Banking / Wealth / FMCG)
   ------------------------------------------------------------------------- */
.sector-hero { padding: var(--section-pad-y) var(--section-pad-x) 70px; }
.sector-hero__title { font-size: 52px; font-weight: 650; line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 26px; max-width: 820px; color: var(--text); }
.sector-hero__lead { font-size: 18px; line-height: 1.6; color: var(--text-secondary); margin: 0 0 16px; max-width: 740px; }
.sector-hero__lead:last-of-type { margin-bottom: 36px; }

.sector-truth__grid { max-width: var(--content-max); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 60px; }
.sector-truth__title { font-size: 34px; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 24px; color: var(--text); }
.sector-truth__callout { background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 32px 30px; }
.sector-truth__callout p { font-size: 15.5px; line-height: 1.65; color: var(--text-secondary); margin: 0 0 14px; }
.sector-truth__callout p:last-child { margin-bottom: 0; }
.sector-truth__callout p.is-emphasis { color: var(--text); font-weight: 500; }

.sector-problem__title { font-size: 34px; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 28px; max-width: 780px; color: var(--text); }
.sector-problem__body { font-size: 16px; line-height: 1.65; color: var(--text-secondary); margin: 0 0 16px; max-width: 760px; }
.sector-problem__emphasis { font-size: 17px; line-height: 1.6; color: var(--text); font-weight: 500; margin: 20px 0 0; }

.sector-governs__title { font-size: 34px; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 48px; max-width: 780px; color: #FFFFFF; }
.sector-governs__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.sector-governs__card {
	background: #FFFFFF;
	border-radius: 10px;
	padding: 28px;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.sector-governs__card:hover { transform: translateY(-5px); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18); }
.sector-governs__card--featured { border: 1.5px solid var(--accent-2); }
.sector-governs__card--featured:hover { box-shadow: 0 14px 34px rgba(47, 143, 239, 0.22); }
.sector-governs__label { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.sector-governs__label a { color: inherit; text-decoration: underline; }
.sector-governs__body { font-size: 14px; line-height: 1.6; color: var(--text-secondary); margin: 0 0 10px; }
.sector-governs__question { font-size: 13px; color: var(--accent-2); font-weight: 500; }

.sector-map__title { font-size: 32px; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 20px; color: var(--text); }
.sector-map__body { font-size: 16px; line-height: 1.65; color: var(--text-secondary); margin: 0 0 36px; max-width: 760px; }
.sector-map__footnote { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 20px 0 0; }
.pathway--map { background: var(--bg); border: 1px solid var(--border); padding: 32px 36px; }
.pathway--map .pathway__row { gap: 8px; }
.pathway--map .pathway__box { min-width: 110px; padding: 14px 12px; font-size: 12.5px; }
.pathway--map .pathway__arrow { font-size: 16px; }
.pathway__box--wide-sm { flex: 1.1; min-width: 120px; }

.sector-risks__title { font-size: 30px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 32px; color: var(--text); }
.risk-table-wrap { background: #FFFFFF; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.risk-table { border-collapse: collapse; width: 100%; }
.risk-table th, .risk-table td { text-align: left; padding: 14px 16px; font-size: 14px; border-bottom: 1px solid var(--border); }
.risk-table thead tr { background: var(--bg); }
.risk-table th { color: var(--text); font-weight: 600; }
.risk-table td:first-child { font-weight: 500; color: var(--text); }
.risk-table td:last-child { color: var(--text-secondary); }
.risk-table tr:last-child td { border-bottom: none; }

.sector-produces__grid { max-width: var(--content-max); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 60px; }
.sector-produces__heading { font-size: 26px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 22px; color: var(--text); }
.sector-produces__list { font-size: 15px; line-height: 2; color: var(--text-secondary); margin: 0; padding-left: 20px; }
.sector-leadership { display: flex; flex-direction: column; gap: 16px; }
.sector-leadership__role { font-weight: 600; color: var(--text); }
.sector-leadership__question { color: var(--text-secondary); font-size: 15px; }

.sector-final-cta .final-cta__heading { font-size: 36px; margin-bottom: 20px; }

/* -------------------------------------------------------------------------
   Doc pages (Method / Decision Confidence / Data & Governance / Results & Proof)
   ------------------------------------------------------------------------- */
.doc-hero { padding: var(--section-pad-y) var(--section-pad-x) 70px; }
.doc-hero__title { font-size: 48px; font-weight: 650; line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 26px; max-width: 800px; color: var(--text); }
.doc-hero__title--lg { font-size: 50px; max-width: 820px; }
.doc-hero__title--sm { font-size: 46px; line-height: 1.15; }
.doc-hero__lead { font-size: 18px; line-height: 1.6; color: var(--text-secondary); margin: 0 0 36px; max-width: 740px; }

.statement__title { font-size: 28px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 20px; max-width: 800px; color: var(--text); }
.statement__body { font-size: 16px; line-height: 1.65; color: var(--text-secondary); margin: 0 0 16px; max-width: 760px; }
.statement__emphasis { font-size: 17px; line-height: 1.6; color: var(--text); font-weight: 500; margin: 0; }

.h3 { font-weight: 600; letter-spacing: -0.01em; color: var(--text); margin: 0 0 16px; }
.h3 a { color: inherit; text-decoration: underline; }
.h3--24 { font-size: 24px; }
.h3--26 { font-size: 26px; }
.h3--28 { font-size: 28px; margin-bottom: 20px; max-width: 800px; }
.h3--30 { font-size: 30px; margin-bottom: 20px; }
.h3--onDark { color: #FFFFFF; }

.doc-two-col { max-width: var(--content-max); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 60px; }
.doc-two-col p { font-size: 14.5px; line-height: 1.65; color: var(--text-secondary); margin: 0 0 12px; }
.doc-two-col p:last-child { margin-bottom: 0; }
.doc-two-col p.is-emphasis { color: var(--text); font-weight: 500; }
.doc-two-col ul { font-size: 14.5px; line-height: 1.9; color: var(--text-secondary); margin: 0; padding-left: 20px; }

.pill-chain { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pill-chain__item { border: 1px solid var(--accent-2); border-radius: 999px; padding: 7px 14px; font-size: 12px; color: #FFFFFF; }
.pill-chain__item--highlight { border: 1.5px solid var(--accent); font-weight: 600; }
.pill-chain__item--dashed { border: 1px dashed var(--muted-2); color: var(--onDark-secondary); }
.pill-chain__arrow { color: var(--accent-light); }
.pill-chain__note { font-size: 14.5px; line-height: 1.6; color: var(--onDark-secondary); margin: 20px 0 0; max-width: 740px; }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-cloud__item { border: 1px solid var(--accent-2); border-radius: 999px; padding: 8px 16px; font-size: 13px; color: var(--text); }
.tag-cloud__item--highlight { border: 1.5px solid var(--accent); font-weight: 600; }

.multi-col-list { font-size: 15px; line-height: 1.9; color: var(--text-secondary); margin: 0; padding-left: 20px; columns: 2; column-gap: 40px; }
.multi-col-list--onDark { color: var(--onDark-secondary); line-height: 2; }

.doc-cta { padding: clamp(48px, 9vw, 90px) var(--section-pad-x); }
.doc-cta__grid { max-width: var(--content-max); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(32px, 6vw, 70px); align-items: center; }
.doc-cta__heading { font-size: 32px; font-weight: 650; line-height: 1.15; letter-spacing: -0.015em; color: var(--text); margin: 0 0 20px; }

.card--proof { padding: 26px; }
.card--proof .card__text { font-size: 14px; line-height: 1.55; }

.contrast-grid { max-width: var(--content-max); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.contrast-card { border-radius: 10px; padding: 28px; }
.contrast-card--muted { background: rgba(255, 255, 255, 0.06); }
.contrast-card--surface { background: #FFFFFF; }
.contrast-card__label { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 10px; }
.contrast-card__label--muted { color: var(--muted-2); }
.contrast-card__label--accent { color: var(--accent-2); }
.contrast-card__text { font-size: 20px; font-weight: 600; }
.contrast-card__text--onDark { color: var(--onDark-secondary); }
.contrast-card__text--dark { color: var(--text); }

/* -------------------------------------------------------------------------
   Insights / Buyer Intelligence / By Role / Resources
   ------------------------------------------------------------------------- */
.h3--32 { font-size: 32px; margin-bottom: 20px; }

.link-card {
	text-decoration: none;
	color: inherit;
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 30px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.link-card:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(55, 62, 70, 0.1); border-color: var(--accent-2); }
.link-card--featured { border: 1.5px solid var(--accent-2); }
.link-card--featured:hover { box-shadow: 0 14px 34px rgba(47, 143, 239, 0.2); }
.link-card__eyebrow { font-size: 10.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.link-card__title { font-size: 18px; font-weight: 600; color: var(--text); }
.link-card__title--lg { font-size: 19px; }
.link-card__body { font-size: 14px; line-height: 1.6; color: var(--text-secondary); margin: 0; }
.link-card__cta { color: var(--accent); font-size: 14px; font-weight: 600; margin-top: auto; }

.card__list-plain { font-size: 12.5px; line-height: 1.7; color: var(--muted); margin: 0; }

.featured-callout {
	max-width: var(--content-max);
	margin: 0 auto;
	background: var(--dark);
	border-radius: 12px;
	padding: 48px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 40px;
	align-items: center;
}
.featured-callout__eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-light); margin-bottom: 12px; }
.featured-callout__title { font-size: 26px; font-weight: 650; color: #FFFFFF; margin: 0 0 14px; }
.featured-callout__body { font-size: 15px; line-height: 1.6; color: var(--onDark-secondary); margin: 0; }
.featured-callout .btn-primary { white-space: nowrap; }

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; }
.team-photo-wrap { width: 100%; padding: 14px; margin-bottom: 16px; }
.team-photo-frame {
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 30px 50px -20px rgba(55, 62, 70, 0.35), 0 10px 20px rgba(55, 62, 70, 0.14);
	transform: perspective(1000px) rotateX(3deg) rotateY(-2deg);
}
.team-photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-name { font-size: 15.5px; font-weight: 600; color: var(--text); }
.team-role { font-size: 13px; color: var(--muted); }

/* -------------------------------------------------------------------------
   Contact / Book a Demo forms
   ------------------------------------------------------------------------- */
.form-hero { padding: var(--section-pad-y) var(--section-pad-x) 60px; }
.form-hero__title { font-size: 48px; font-weight: 650; line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 20px; max-width: 780px; color: var(--text); }
.form-hero__lead { font-size: 17px; line-height: 1.6; color: var(--text-secondary); margin: 0 0 14px; max-width: 680px; }
.form-hero__note { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0; max-width: 680px; }

.form-section { padding: clamp(40px, 8vw, 70px) var(--section-pad-x) clamp(60px, 9vw, 100px); }
.form-wrap { max-width: 640px; margin: 0 auto; }
.form-fields { display: flex; flex-direction: column; gap: 16px; }
.form-input {
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: 14px 16px;
	font-size: 15px;
	font-family: 'Inter', sans-serif;
	color: var(--text);
	width: 100%;
	box-sizing: border-box;
	background: #FFFFFF;
}
textarea.form-input { resize: vertical; }
.form-error { color: var(--negative); font-size: 13.5px; }
.form-fine-print { font-size: 12.5px; color: var(--muted-2); text-align: center; }
.form-success {
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 48px;
	text-align: center;
}
.form-success__title { font-size: 24px; font-weight: 650; color: var(--text); margin: 0 0 10px; }
.form-success__body { font-size: 15px; line-height: 1.6; color: var(--text-secondary); margin: 0; }

.coming-soon { background: var(--bg); border: 1px dashed var(--muted-2); border-radius: 12px; padding: 56px 48px; text-align: center; }
.coming-soon__title { font-size: 26px; font-weight: 650; color: var(--text); margin: 0 0 14px; letter-spacing: -0.01em; }
.coming-soon__body { font-size: 15.5px; line-height: 1.65; color: var(--text-secondary); margin: 0 auto 28px; max-width: 560px; }

/* -------------------------------------------------------------------------
   Governance Domain pages (AI Narrative Integrity, Commercial Intent,
   Competitive Displacement, Customer Decision Moments, Technical
   Integrity, Trust Architecture) + the standalone Diagnostic page.
   Almost everything else these two page types need already exists
   (.card/.card--featured for the "key question" callout, .doc-two-col's
   sibling — this is that sibling, minus its p/ul cascade so a plain
   paragraph inside doesn't inherit doc-two-col's smaller type), .modal
   for the diagnostic card, .pathway__box for Evidence Trail, .pill-chain
   for dark-section pill rows, .tag-cloud for outputs).
   ------------------------------------------------------------------- */
.domain-grid { max-width: var(--content-max); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 60px; }

.modal--standalone { max-width: 640px; margin: 0 auto; max-height: none; overflow: visible; box-shadow: 0 12px 40px rgba(55, 62, 70, 0.1); border: 1px solid var(--border); }

/* -------------------------------------------------------------------------
   Legal pages (Privacy Policy, Cookie Policy, Terms and Conditions)
   ------------------------------------------------------------------------- */
.legal-wrap { max-width: 800px; margin: 0 auto; }
.legal-hero { padding: clamp(48px, 9vw, 90px) var(--section-pad-x) 50px; }
.legal-hero__title { font-size: 42px; font-weight: 650; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 16px; color: var(--text); }
.legal-hero__date { font-size: 14px; color: var(--muted); margin: 0 0 4px; }
.legal-body { padding-top: clamp(40px, 7vw, 60px); }
.legal-body__heading { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; margin: 32px 0 14px; color: var(--text); }
.legal-body__heading:first-child { margin-top: 0; }
.legal-body p { font-size: 16px; line-height: 1.7; color: var(--text-secondary); margin: 0 0 12px; }
.legal-body ul { margin: 0 0 12px; padding-left: 20px; color: var(--text-secondary); font-size: 16px; line-height: 1.7; }
.legal-body ul p { margin: 0; }
.legal-body a { color: var(--accent); text-decoration: none; }
.legal-body strong { color: var(--text); }
.legal-body__table-wrap { overflow-x: auto; margin: 0 0 32px; }
.legal-body table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.legal-body thead tr { border-bottom: 1.5px solid var(--accent-2); }
.legal-body th { text-align: left; padding: 10px 12px; color: var(--text); font-weight: 600; }
.legal-body td { padding: 12px; color: var(--text-secondary); vertical-align: top; }
.legal-body tbody tr { border-bottom: 1px solid var(--border); }
.legal-body td.legal-body__term { color: var(--text); font-weight: 600; white-space: nowrap; }
.legal-cross-links { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--border); }

/* -------------------------------------------------------------------------
   Mobile (<=640px) — real @media queries; the DC prototype faked this with
   a JS isMobile flag because its runtime didn't support helmet media
   queries reliably. That constraint doesn't apply here.
   ------------------------------------------------------------------------- */
@media (max-width: 640px) {
	.pathway__row { flex-direction: column; align-items: stretch; gap: 10px; }
	.pathway__arrow { transform: rotate(90deg); align-self: center; }

	.step { grid-template-columns: 1fr; gap: 12px; }

	.moment__side { padding-top: 0; }

	.modal-backdrop { padding: 14px; }
	.modal__panel { padding: 44px 22px 32px; }

	.multi-col-list { columns: 1; }
}

/* -------------------------------------------------------------------------
   Founder Story accordion
   ------------------------------------------------------------------------- */
.founder-accordion { display: flex; flex-direction: column; gap: 14px; }
.founder-accordion__item { background: #FFFFFF; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.founder-accordion__item.is-open { border: 1.5px solid var(--accent-2); }
.founder-accordion__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; cursor: pointer; }
.founder-accordion__title { font-size: 18px; font-weight: 600; letter-spacing: -0.01em; color: var(--text); margin: 0; }
.founder-accordion__chev { display: inline-block; color: var(--accent-2); font-size: 18px; line-height: 1; transition: transform 0.25s ease; }
.founder-accordion__item.is-open .founder-accordion__chev { transform: rotate(180deg); }
.founder-accordion__body { display: none; padding: 20px 24px 26px; border-top: 1px solid var(--border); font-size: 15.5px; line-height: 1.65; color: var(--text-secondary); }
.founder-accordion__item.is-open .founder-accordion__body { display: block; }
.founder-accordion__body p { margin: 0 0 14px; }
.founder-accordion__body p:last-child { margin-bottom: 0; }
.founder-accordion__signature { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--border); }
.founder-accordion__signature-name { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; color: var(--text); }
.founder-accordion__signature-role { font-size: 13.5px; color: var(--muted); margin-top: 4px; }
