/* ==========================================================================
   FinSat theme
   ========================================================================== */

:root {
	--ink: #0C1A16;
	--green: #0E6B47;
	--green-dark: #09492F;
	--lime: #C9DB45;
	--bg: #F3F5F2;
	--white: #FFFFFF;
	--line: #D6DDD8;
	--line-2: #C9D2CC;
	--line-3: #E3E8E4;
	--dash: #9AA8A1;
	--muted: #3F4F49;
	--muted-2: #4A5A54;
	--danger: #B4412F;
	--amber: #9A6510;
	--dark-2: #16271F;
	--dark-3: #1A2E25;
	--dark-4: #1F3A2C;
	--dark-line: #2C4237;
	--dark-line-2: #3A5246;
	--dark-row: #22362C;
	--on-dark: #C5D0CA;
	--on-dark-2: #9FB1A8;
	--on-dark-3: #8FA198;
	--arrow: #6F8579;
	--tone-good: #C9DB45;
	--tone-mid: #E8B04A;
	--tone-bad: #F08A7A;
	--sans: 'Instrument Sans', system-ui, sans-serif;
	--mono: 'IBM Plex Mono', ui-monospace, monospace;
	--radius: 12px;
	--radius-lg: 16px;
}

*,
*::before,
*::after { box-sizing: border-box; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
}

a { color: var(--green); }
a:hover { color: var(--green-dark); }
img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
button { font: inherit; }
button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.section--dark :focus-visible,
.explorer :focus-visible { outline-color: var(--lime); }
p, h1, h2, h3, h4, ul, ol, dl, dd, figure, blockquote { margin: 0; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto;
	z-index: 100; top: 8px; left: 8px;
	padding: 12px 16px; background: var(--white); color: var(--ink);
}

.mono { font-family: var(--mono); }
.site { min-height: 100vh; display: flex; flex-direction: column; }
.site-main { flex: 1 0 auto; }

/* ---------- Layout ---------- */

.container { max-width: 1200px; margin: 0 auto; }
.section { padding: 96px 24px; }
.section--pad-lg { padding: 104px 24px; }
.section--pad-hero { padding: 96px 24px 88px; }
.section--pad-page { padding: 72px 24px 64px; }
.section--pad-bottom { padding: 0 24px 104px; }
.section--pad-faq { padding: 72px 24px 104px; }
.section--white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--white + .section--white { border-top: 0; }
.section--white-flat { background: var(--white); }
.section--dark { background: var(--ink); color: var(--white); }

.stack { display: flex; flex-direction: column; }
.gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-20 { gap: 20px; } .gap-24 { gap: 24px; }
.gap-28 { gap: 28px; } .gap-32 { gap: 32px; } .gap-40 { gap: 40px; } .gap-48 { gap: 48px; } .gap-64 { gap: 64px; }

.split {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
	gap: 48px;
	align-items: start;
}
.split--center { align-items: center; }
.split--wide-gap { gap: 56px; }
.split--quote { gap: 32px 56px; }

/* ---------- Typography ---------- */

.heading { display: flex; flex-direction: column; gap: 16px; }
.heading--narrow { max-width: 720px; }
.heading--mid { max-width: 760px; }
.heading--wide { max-width: 820px; }
.eyebrow {
	font-family: var(--mono);
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--green);
}
.section--dark .eyebrow { color: var(--lime); }
.h1 { font-size: clamp(44px, 6.2vw, 82px); line-height: 1; letter-spacing: -0.04em; font-weight: 600; }
.h1--page { max-width: 900px; font-size: clamp(40px, 5.4vw, 72px); line-height: 1.02; letter-spacing: -0.035em; }
.h2 { font-size: clamp(32px, 3.6vw, 46px); line-height: 1.08; letter-spacing: -0.025em; font-weight: 600; }
.h2--sm { font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -0.02em; }
.h3 { font-size: 28px; font-weight: 600; letter-spacing: -0.015em; }
.lead { font-size: 18px; line-height: 1.6; color: var(--muted); }
.lead--lg { font-size: 19px; line-height: 1.55; max-width: 680px; }
.section--dark .lead { color: var(--on-dark); }
.note { font-size: 13px; color: var(--muted-2); }
.section--dark .note { color: var(--on-dark-2); }
.mono-note { font-family: var(--mono); font-size: 13px; color: var(--muted-2); }
.text-link { font-weight: 600; font-size: 16px; }

.breadcrumb { font-family: var(--mono); font-size: 13px; color: var(--muted-2); }
.breadcrumb a { color: var(--muted-2); }

.prose { font-size: 17px; line-height: 1.65; color: var(--muted); }
.prose > * + * { margin-top: 18px; }
.prose strong { color: var(--ink); }
.prose h2, .prose h3 { color: var(--ink); font-weight: 600; letter-spacing: -0.015em; }
.prose h2 { font-size: 28px; margin-top: 32px; }
.prose h3 { font-size: 22px; margin-top: 24px; }
.prose ul, .prose ol { padding-left: 22px; }

/* ---------- Buttons ---------- */

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 52px;
	padding: 0 24px;
	border-radius: 8px;
	border: 1px solid transparent;
	font-weight: 600;
	font-size: 16px;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
	transition: background-color .15s, color .15s, border-color .15s;
}
.btn--sm { height: 48px; padding: 0 20px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--green); color: var(--white); }
.btn--primary:hover { background: var(--green-dark); color: var(--white); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { background: #B8CA34; color: var(--ink); }
.btn--ghost { border-color: var(--white); color: var(--white); background: transparent; }
.btn--ghost:hover { background: var(--white); color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Header ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(243, 245, 242, 0.94);
	backdrop-filter: saturate(1.2) blur(6px);
	border-bottom: 1px solid var(--line);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.site-header__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
	height: 68px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand img { width: 32px; height: 32px; }
.brand__name { display: flex; flex-direction: column; line-height: 1.05; font-weight: 700; font-size: 15px; letter-spacing: -0.01em; }
.site-footer .brand,
.site-footer .brand:hover { color: var(--white); }

.nav { display: flex; align-items: center; gap: 22px; font-size: 14.5px; font-weight: 500; }
.is-landing .nav { gap: 28px; font-size: 15px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: contents; }
.nav li { display: contents; }
.nav a { color: var(--ink); text-decoration: none; padding: 2px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--green); }
.nav a[aria-current="page"] { border-bottom-color: var(--green); }

.mnav { display: none; position: relative; margin-left: auto; }
.mnav summary {
	list-style: none;
	cursor: pointer;
	height: 44px;
	padding: 0 16px;
	border-radius: 8px;
	border: 1px solid var(--ink);
	display: flex;
	align-items: center;
	font-weight: 600;
	font-size: 15px;
}
.mnav summary::-webkit-details-marker { display: none; }
.mnav__panel {
	position: absolute;
	right: 0;
	top: 52px;
	width: 240px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 8px;
	display: flex;
	flex-direction: column;
	box-shadow: 0 8px 24px rgba(12, 26, 22, 0.12);
}
.mnav__panel ul { list-style: none; margin: 0; padding: 0; display: contents; }
.mnav__panel li { display: contents; }
.mnav__panel a { padding: 12px; color: var(--ink); text-decoration: none; font-weight: 500; border-radius: 8px; }
.mnav__panel a:hover { background: var(--bg); }
.mnav__panel a.mnav__cta { color: var(--green); font-weight: 600; }
.hcta { height: 44px; padding: 0 18px; font-size: 15px; }

@media (max-width: 900px) {
	.nav { display: none; }
	.mnav { display: block; }
}
@media (min-width: 761px) {
	.is-landing .nav { display: flex; }
	.is-landing .mnav { display: none; }
}
@media (max-width: 480px) { .hcta { display: none; } }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: var(--on-dark); padding: 64px 24px 32px; border-top: 1px solid var(--dark-line); }
.site-footer__inner { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 48px; }
.site-footer__top { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.site-footer__brand { flex: 2 1 300px; display: flex; flex-direction: column; gap: 14px; }
.site-footer__brand p { font-size: 15px; max-width: 340px; line-height: 1.55; }
.site-footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer__col a { color: var(--white); text-decoration: none; }
.site-footer__col a:hover { color: var(--lime); }
.site-footer__title { margin: 0 0 4px; font-family: var(--mono); font-size: 12px; color: var(--on-dark-3); letter-spacing: 0.06em; text-transform: uppercase; }
.site-footer__bottom {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	border-top: 1px solid var(--dark-line);
	padding-top: 24px;
	font-size: 13px;
	color: var(--on-dark-3);
}
.site-footer__bottom a { color: var(--on-dark-3); }

/* ---------- Hero ---------- */

.hero { display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: flex-end; }
.hero__main { flex: 3 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero__side { flex: 2 1 340px; display: flex; flex-direction: column; gap: 24px; padding-bottom: 8px; }
.hero__side .lead { font-size: 19px; line-height: 1.55; }
.page-hero { display: flex; flex-direction: column; gap: 22px; }

/* ---------- Explorer ---------- */

.explorer-wrap { display: flex; flex-direction: column; gap: 16px; }
.explorer { background: var(--ink); color: var(--white); border-radius: var(--radius-lg); overflow: hidden; }
.explorer__filters {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 20px 28px;
	padding: 22px 24px;
	border-bottom: 1px solid var(--dark-line);
}
.explorer__label {
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-family: var(--mono);
	font-size: 11.5px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--on-dark-2);
}
.explorer__label--range { min-width: 200px; }
.explorer__select {
	height: 44px;
	min-width: 150px;
	padding: 0 12px;
	border-radius: 8px;
	border: 1px solid var(--dark-line-2);
	background: var(--ink);
	color: var(--white);
	font-family: var(--sans);
	font-size: 15px;
	letter-spacing: 0;
	text-transform: none;
}
.explorer input[type=range] { height: 44px; margin: 0; accent-color: var(--lime); }
.explorer__chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip {
	height: 40px;
	padding: 0 16px;
	border-radius: 999px;
	cursor: pointer;
	font-family: var(--sans);
	font-size: 15px;
	background: transparent;
	border: 1px solid var(--dark-line-2);
	color: var(--on-dark-2);
}
.chip[aria-pressed="true"] { background: var(--dark-4); border-color: var(--lime); color: var(--white); }
.explorer__count { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; }
.explorer__count b { font-family: var(--mono); font-weight: 400; font-size: 40px; line-height: 1; color: var(--lime); }
.explorer__count span { font-size: 14px; color: var(--on-dark-2); margin-top: 4px; }
.explorer__body { display: flex; flex-wrap: wrap; }
.explorer__table-wrap { flex: 3 1 580px; min-width: 0; overflow-x: auto; border-right: 1px solid var(--dark-line); }
.explorer__table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
.explorer--ref .explorer__table { min-width: 760px; }
.explorer__table th {
	text-align: left;
	padding: 14px 12px;
	font-family: var(--mono);
	font-size: 11.5px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--on-dark-2);
	font-weight: 500;
}
.explorer__table td { padding: 14px 12px; }
.explorer__table th:first-child,
.explorer__table td:first-child { padding-left: 24px; }
.explorer__table th:last-child,
.explorer__table td:last-child { padding-right: 24px; }
.explorer__table .is-num { text-align: right; }
.explorer__table .is-id { font-family: var(--mono); font-size: 14px; }
.explorer__table .is-ref { font-family: var(--mono); font-size: 13px; color: var(--lime); }
.explorer__table .nowrap { white-space: nowrap; }
.explorer__table tbody tr { cursor: pointer; border-top: 1px solid var(--dark-row); }
.explorer__table tbody tr:hover { background: var(--dark-2); }
.explorer__table tbody tr[aria-selected="true"] { background: var(--dark-3); box-shadow: inset 3px 0 0 var(--lime); }
.explorer__empty { padding: 32px 24px; color: var(--on-dark-2); font-size: 15px; }
.explorer__detail { flex: 2 1 340px; min-width: 0; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.explorer__detail-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.explorer__detail-head span:first-child { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; color: var(--on-dark-2); text-transform: uppercase; }
.explorer__detail h3 { margin: 4px 0; font-size: 26px; font-weight: 600; letter-spacing: -.015em; }
.explorer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 12px; }
.ex-block { border: 1px solid var(--dark-line); border-radius: 10px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.ex-block__label { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; color: var(--lime); text-transform: uppercase; }
.ex-kv { display: flex; justify-content: space-between; gap: 8px; font-size: 15px; }
.ex-kv span:first-child { color: var(--on-dark-2); }
.ex-kv span:last-child { font-weight: 600; text-align: right; }
.ex-kv .is-ref { font-family: var(--mono); font-weight: 400; color: var(--lime); }
.ex-bar { height: 8px; border-radius: 4px; background: var(--dark-line); overflow: hidden; }
.ex-bar span { display: block; height: 100%; border-radius: 4px; background: var(--lime); }
.pill {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	border: 1px solid currentColor;
	font-family: var(--mono);
	font-size: 12px;
	letter-spacing: .06em;
	font-weight: 500;
	text-transform: uppercase;
}
.pill--good { color: var(--tone-good); }
.pill--mid { color: var(--tone-mid); }
.pill--bad { color: var(--tone-bad); }

/* ---------- Compare list ---------- */

.compare { display: flex; flex-direction: column; border-top: 1px solid var(--ink); }
.compare__row { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.compare__row span:last-child { font-family: var(--mono); font-size: 13px; color: var(--muted-2); text-align: right; }
.compare__row.is-highlight { font-weight: 600; padding: 18px 0; border-bottom: 0; }
.compare__row.is-highlight span:last-child { color: var(--green); }

/* ---------- Process steps ---------- */

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.step { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: var(--radius); }
.step--outline { border: 1px solid var(--line-2); }
.step--filled { background: var(--white); }
.section--white .step--filled { background: var(--bg); }
.step--dark { background: var(--ink); color: var(--white); }
.step__meta { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 13px; text-transform: uppercase; }
.step__meta span:last-child { color: var(--muted-2); }
.step--filled .step__meta span:last-child { color: var(--green); }
.step--dark .step__meta span:last-child { color: var(--lime); }
.step h3 { margin-top: 8px; font-size: 24px; font-weight: 600; letter-spacing: -0.01em; }
.step p { font-size: 16px; line-height: 1.55; color: var(--muted); }
.step--dark p { color: var(--on-dark); }
.handoff { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 16px; }
.handoff__note { grid-column: 1 / -1; font-family: var(--mono); font-size: 13px; color: var(--muted-2); padding-top: 8px; }
.handoff__card { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: var(--radius); border: 1px dashed var(--dash); }
.handoff__card h3 { font-size: 20px; font-weight: 600; }
.handoff__card p { font-size: 16px; line-height: 1.55; color: var(--muted); }

/* ---------- Case study parts ---------- */

.brief-row { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.brief-dl { flex: 1 1 300px; display: flex; flex-direction: column; border-top: 1px solid var(--ink); }
.brief-dl > div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.brief-dl dt { font-family: var(--mono); font-size: 12px; color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.06em; }
.brief-dl dd { margin: 6px 0 0; font-size: 18px; font-weight: 600; }
.brief-box { flex: 1 1 300px; display: flex; flex-direction: column; gap: 4px; padding: 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.brief-box__label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--green); margin-bottom: 8px; text-transform: uppercase; }
.brief-box dl > div { padding: 12px 0; border-top: 1px solid var(--line-3); }
.brief-box dt { font-size: 13px; color: var(--muted-2); }
.brief-box dd { margin: 4px 0 0; font-size: 18px; font-weight: 600; }
.funnel { flex: 2 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.funnel__row { display: flex; flex-direction: column; gap: 8px; }
.funnel__head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.funnel__num { font-family: var(--mono); font-size: 44px; font-weight: 500; letter-spacing: -0.02em; }
.funnel__label { font-size: 16px; color: var(--muted); }
.funnel__bar { height: 14px; border-radius: 4px; background: var(--line-2); }
.funnel__row--mid .funnel__bar { background: #7FA593; }
.funnel__row--strong .funnel__bar { background: var(--green); }
.funnel__row--strong .funnel__num { color: var(--green); }
.funnel__summary { margin-top: 8px; font-size: 18px; line-height: 1.55; }
.signals-dl { display: flex; flex-direction: column; border-top: 1px solid var(--ink); }
.signals-dl > div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.signals-dl dt { font-weight: 600; }
.signals-dl dd { color: var(--muted); }
@media (max-width: 520px) { .signals-dl > div { grid-template-columns: 1fr; gap: 4px; } }
.figure { display: flex; flex-direction: column; gap: 12px; }
.figure img { width: 100%; height: auto; display: block; border-radius: var(--radius); border: 1px solid var(--line); }
.figure figcaption { font-size: 14px; color: var(--muted-2); }
.media-cover { width: 100%; height: 440px; object-fit: cover; border-radius: var(--radius); display: block; }
.sig-card { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.sig-card h3 { font-size: 20px; font-weight: 600; }
.sig-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 16px; }
.sig-grid p:first-child { font-weight: 600; color: var(--green); }
.sig-grid p + p { margin-top: 4px; font-size: 15px; color: var(--muted); }
.sig-card--dark { background: var(--ink); color: var(--white); border: 0; flex-direction: row; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.sig-card--dark p { margin-top: 6px; font-size: 15px; color: var(--on-dark); }
.sig-card--dark .sig-value { font-family: var(--mono); font-size: 36px; color: var(--lime); }
.data-table-wrap { overflow-x: auto; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.data-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.data-table th { text-align: left; padding: 14px 12px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--muted-2); background: var(--bg); font-weight: 500; text-transform: uppercase; }
.data-table td { padding: 14px 12px; border-top: 1px solid var(--line-3); }
.data-table th:first-child, .data-table td:first-child { padding-left: 20px; }
.data-table th:last-child, .data-table td:last-child { padding-right: 20px; }
.data-table .is-num { text-align: right; font-family: var(--mono); font-weight: 500; color: var(--green); }
.data-table .is-mono { font-family: var(--mono); }
.data-table .is-ref { font-family: var(--mono); color: var(--muted-2); }
.data-table .is-mid { color: var(--amber); }
.data-table .is-bad { color: var(--danger); }
.dark-card { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--radius); background: var(--ink); color: var(--white); }
.dark-card h3 { font-size: 22px; font-weight: 600; }
.dark-card p { font-size: 16px; line-height: 1.55; color: var(--on-dark); }
.dark-card a { color: var(--lime); font-weight: 600; }
.row-split { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.row-split__main { flex: 3 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.row-split__side { flex: 2 1 320px; }

/* ---------- Quote ---------- */

.quote { display: flex; flex-direction: column; gap: 16px; border-top: 1px solid var(--ink); padding-top: 20px; }
.quote p { font-size: 19px; line-height: 1.55; }
.quote footer { font-size: 14px; color: var(--muted-2); }

/* ---------- Roles ---------- */

.roles { display: flex; flex-wrap: wrap; gap: 16px; align-items: stretch; }
.role-card { flex: 1 1 360px; display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.role-card:first-child { border: 2px solid var(--green); }
.role-card__label { font-size: 22px; font-weight: 600; }
.role-card:first-child .role-card__label { color: var(--green); }
.role-card__q { font-size: 18px; font-weight: 600; }
.role-card ul { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 16px; line-height: 1.5; color: var(--muted); }
.roles__arrow { display: flex; align-items: center; justify-content: center; font-size: 28px; color: var(--muted-2); padding: 0 4px; }
.section--dark .roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); }
.section--dark .roles__arrow { display: none; }
.section--dark .role-card { background: transparent; border: 1px solid var(--dark-line); gap: 16px; }
.section--dark .role-card:first-child { background: var(--dark-2); }
.section--dark .role-card__label { font-family: var(--mono); font-size: 13px; font-weight: 400; color: var(--on-dark); text-transform: uppercase; }
.section--dark .role-card:first-child .role-card__label { color: var(--lime); }
.section--dark .role-card__q { font-size: 22px; }
.section--dark .role-card ul { color: var(--on-dark); }
.statement-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 32px; border-top: 1px solid var(--line); padding-top: 32px; }
.section--dark .statement-row { border-top-color: var(--dark-line); }
.statement-row p:first-child { font-size: 26px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }
.statement-row p + p { font-size: 17px; line-height: 1.6; color: var(--muted); }
.section--dark .statement-row p + p { color: var(--on-dark); }

/* ---------- Columns ---------- */

.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 32px; }
.cols--240 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.col { display: flex; flex-direction: column; gap: 10px; border-top: 2px solid var(--ink); padding-top: 18px; color: var(--ink); text-decoration: none; }
a.col:hover { color: var(--ink); border-top-color: var(--green); }
.col h3 { font-size: 22px; font-weight: 600; }
.col p { font-size: 16px; line-height: 1.55; color: var(--muted); }
.col .col__meta { margin-top: 4px; font-family: var(--mono); font-size: 13px; color: var(--muted-2); }
.col__more { font-family: var(--mono); font-size: 13px; color: var(--green); }
.section--dark .col { color: var(--white); border-top-color: var(--white); }
.section--dark .col p { color: var(--on-dark); }
.note-box { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 20px 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); align-items: baseline; }
.note-box span:first-child { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--green); text-transform: uppercase; }
.note-box span + span { font-size: 16px; line-height: 1.5; }

/* ---------- Cards ---------- */

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: var(--radius); color: var(--ink); text-decoration: none; }
a.card { transition: border-color .15s, transform .15s; }
a.card:hover { color: var(--ink); transform: translateY(-2px); }
.card--white { background: var(--white); border: 1px solid var(--line); }
.card--outline { border: 1px solid var(--line-2); }
.card--filled { background: var(--white); }
.section--white .card--filled { background: var(--bg); }
.card--dark { background: var(--ink); color: var(--white); }
a.card--dark:hover { color: var(--white); }
.card__eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--muted-2); text-transform: uppercase; }
.card--filled .card__eyebrow { color: var(--green); }
.card--dark .card__eyebrow { color: var(--lime); }
.card h3 { font-size: 22px; font-weight: 600; }
.card .card__statement { font-size: 26px; line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; }
.card p { font-size: 16px; line-height: 1.55; color: var(--muted); }
.card--dark p { color: var(--on-dark); }
.card ul { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 16px; color: var(--muted); }
.card--dark ul { color: var(--on-dark); }
.card__more { margin-top: auto; font-family: var(--mono); font-size: 13px; color: var(--green); }
.card--dark .card__more { color: var(--lime); }
.cards--compact .card { padding: 24px; gap: 10px; }
.cards--compact .card h3 { font-size: 21px; }
.cards--compact .card__eyebrow { font-size: 13px; letter-spacing: 0; text-transform: none; }

.split-head { display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: flex-end; }
.split-head > .heading { flex: 1 1 420px; }
.split-head > .lead { flex: 1 1 360px; }

/* ---------- Problem / solution tabs ---------- */

.ps-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.ps-tab {
	display: flex;
	gap: 16px;
	align-items: center;
	padding: 18px 20px;
	border-radius: var(--radius);
	cursor: pointer;
	color: var(--ink);
	background: var(--white);
	border: 1px solid var(--line-2);
	text-align: left;
}
.ps-tab[aria-selected="true"] { background: var(--bg); border: 2px solid var(--green); padding: 17px 19px; }
.ps-tab__num { font-family: var(--mono); font-size: 13px; color: var(--muted-2); }
.ps-tab__text { display: flex; flex-direction: column; gap: 2px; }
.ps-tab__text b { font-size: 18px; font-weight: 600; }
.ps-tab__text span { font-size: 14px; color: var(--muted-2); }
.ps-panel { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.ps-panel--solution { flex-direction: column; align-items: stretch; gap: 28px; }
.ps-col { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.ps-statement { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.25; letter-spacing: -0.015em; font-weight: 600; }
.map { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 520 / 600; background: #1B2A24; }
.map > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pin {
	position: absolute;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	cursor: pointer;
	font: 600 16px var(--sans);
	border: 2px solid var(--white);
	background: rgba(12, 26, 22, 0.7);
	color: var(--white);
}
.pin[aria-pressed="true"] { background: var(--lime); color: var(--ink); }
.map__card {
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 16px;
	background: var(--white);
	border-radius: 10px;
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 14px;
}
.map__card b { font-size: 15px; }
.map__card div { display: flex; justify-content: space-between; gap: 12px; }
.map__card div span:first-child { color: var(--muted-2); }
.map__card div span:last-child { font-weight: 600; }
.map__card .is-no { color: var(--danger); }
.stepper { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 8px; }
.stepper button {
	width: 100%;
	display: flex;
	gap: 12px;
	align-items: center;
	padding: 14px 16px;
	border-radius: 10px;
	cursor: pointer;
	font-size: 16px;
	background: var(--white);
	color: var(--ink);
	border: 1px solid var(--line-2);
}
.stepper button.is-done { background: #E3EBE6; }
.stepper button[aria-current="step"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.stepper button span:first-child { font-family: var(--mono); font-size: 13px; }
.stepper button span:last-child { font-weight: 600; }
.ps-step { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.ps-step__media { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.ps-step__media img { width: 100%; height: 420px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); display: block; }
.ps-step__media figcaption { font-size: 14px; color: var(--muted-2); }
.ps-step__body { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.ps-step__who { font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; color: var(--green); text-transform: uppercase; }
.ps-step__body h3 { font-size: 32px; line-height: 1.1; letter-spacing: -0.02em; font-weight: 600; }
.ps-step__body ul { list-style: none; padding: 0; border-top: 1px solid var(--ink); }
.ps-step__body li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.ps-step__hand { font-size: 15px; color: var(--muted-2); }
.ranked { height: 420px; border-radius: var(--radius); background: var(--ink); color: var(--white); padding: 24px; display: flex; flex-direction: column; gap: 6px; overflow: hidden; }
.ranked__head { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--on-dark-2); padding-bottom: 10px; text-transform: uppercase; }
.ranked__row { display: flex; align-items: center; gap: 16px; padding: 14px 12px; border-top: 1px solid var(--dark-row); }
.ranked__row:first-of-type { border-top: 0; border-radius: 8px; background: var(--dark-3); box-shadow: inset 3px 0 0 var(--lime); }
.ranked__row span:first-child { font-family: var(--mono); font-size: 14px; width: 60px; }
.ranked__row span:nth-child(2) { flex: 1; }

/* ---------- Shift chain ---------- */

.chain-box { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: var(--radius); border: 1px solid var(--dark-line); }
.chain-box--accent { background: var(--dark-2); border-color: var(--dark-line-2); }
.chain-box__label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--on-dark-2); text-transform: uppercase; }
.chain-box--accent .chain-box__label { color: var(--lime); }
.chain-box__note { font-size: 16px; color: var(--on-dark); }
.chain-box--accent .chain-box__note { font-size: 18px; font-weight: 600; color: var(--white); }
.chain { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.chain__arrow { color: var(--arrow); }
.chain__btn {
	height: 44px;
	padding: 0 16px;
	border-radius: 8px;
	cursor: pointer;
	font: 500 15px var(--sans);
	background: transparent;
	color: var(--white);
	border: 1px solid var(--dark-line-2);
}
.chain__btn.is-accent { background: var(--dark-4); }
.chain__btn[aria-pressed="true"] { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.chain-out { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--dark-line); padding-top: 20px; min-height: 64px; }
.chain-out b { font-size: 18px; }
.chain-out p { font-size: 16px; line-height: 1.55; color: var(--on-dark); }

/* ---------- Vision ---------- */

.vision-card { display: flex; flex-direction: column; gap: 14px; padding: 32px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.vision-card__label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--muted-2); text-transform: uppercase; }
.vision-card h2 { font-size: 30px; line-height: 1.15; letter-spacing: -0.02em; font-weight: 600; }
.vision-card p { font-size: 20px; line-height: 1.45; color: var(--green); font-weight: 500; }
.accent-line { font-size: 18px; font-weight: 600; color: var(--green); }

/* ---------- CTA band ---------- */

.cta-band {
	display: flex;
	flex-wrap: wrap;
	gap: 24px 48px;
	align-items: center;
	justify-content: space-between;
	padding: 48px;
	border-radius: var(--radius-lg);
	background: var(--ink);
	color: var(--white);
}
.cta-band__text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 12px; }
.cta-band__text p { font-size: 17px; line-height: 1.55; color: var(--on-dark); }
.section--dark .cta-band { background: var(--dark-2); border: 1px solid var(--dark-line); }
@media (max-width: 560px) { .cta-band { padding: 32px 24px; } }

/* ---------- Profile tips ---------- */

.tips { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.tip-group { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.tip-group h3 { font-size: 20px; font-weight: 600; }
.tip-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tip-tag { height: 36px; padding: 0 14px; border-radius: 999px; cursor: pointer; font: 500 14px var(--sans); background: var(--bg); color: var(--ink); border: 1px solid var(--line-2); }
.tip-tag[aria-pressed="true"] { background: var(--green); color: var(--white); border-color: var(--green); }
.tip-out { padding-top: 10px; border-top: 1px solid var(--line-3); font-size: 15px; line-height: 1.5; color: var(--muted); }

/* ---------- Use case tabs ---------- */

.uc-head { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end; justify-content: space-between; }
.seg { display: flex; gap: 6px; padding: 4px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); flex-wrap: wrap; }
.seg__btn { height: 40px; padding: 0 18px; border-radius: 7px; cursor: pointer; font: 600 15px var(--sans); border: 0; background: transparent; color: var(--ink); }
.seg__btn[aria-selected="true"] { background: var(--ink); color: var(--white); }
.uc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 0 40px; }
.uc-item { display: flex; flex-direction: column; gap: 8px; padding: 22px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.uc-item:hover { color: var(--ink); }
.uc-item:hover h3 { color: var(--green); }
.uc-item h3 { font-size: 20px; font-weight: 600; }
.uc-item p { font-size: 16px; line-height: 1.55; color: var(--muted); }
.uc-item span { font-family: var(--mono); font-size: 13px; color: var(--green); }

/* ---------- Split media / intro ---------- */

.ticks { list-style: none; padding: 0; border-top: 1px solid var(--ink); }
.ticks li { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
.intro-statement { font-size: 24px; line-height: 1.35; font-weight: 600; letter-spacing: -0.01em; }
.intro-statement span { color: var(--green); }

/* ---------- Pilot + forms ---------- */

.pilot-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; border-top: 1px solid var(--ink); }
.pilot-steps li { display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.pilot-steps li > span { font-family: var(--mono); font-size: 13px; color: var(--muted-2); padding-top: 4px; }
.pilot-steps b { display: block; font-weight: 600; font-size: 18px; }
.pilot-steps p { margin-top: 4px; font-size: 16px; color: var(--muted); }
.form-card { display: flex; flex-direction: column; gap: 16px; padding: 32px; border-radius: var(--radius-lg); background: var(--bg); border: 1px solid var(--line); }
.section--default .form-card,
.form-card--white { background: var(--white); }
.form-card h3 { margin-bottom: 4px; font-size: 24px; font-weight: 600; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.form-grid--wide { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.field input,
.field select,
.field textarea {
	height: 46px;
	padding: 0 12px;
	border-radius: 8px;
	border: 1px solid var(--dash);
	background: var(--white);
	color: var(--ink);
	font: 400 16px var(--sans);
}
.field textarea { height: auto; padding: 12px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--green); }
.form-note { font-size: 14px; line-height: 1.5; color: var(--muted-2); }
.form-status { font-size: 15px; font-weight: 500; }
.form-status.is-ok { color: var(--green); }
.form-status.is-error { color: var(--danger); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 560px) { .form-card { padding: 24px; } }

/* ---------- FAQ ---------- */

.faq-side { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.faq-side > .heading { flex: 1 1 300px; }
.faq-list { flex: 2 1 560px; min-width: 0; border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; font-size: 19px; font-weight: 600; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-plus { font-weight: 400; transition: transform .2s; }
.faq-list details[open] .faq-plus { transform: rotate(45deg); }
.faq-list p { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--muted); }
.faq-groups { display: flex; flex-direction: column; gap: 64px; }
.faq-group { display: flex; flex-wrap: wrap; gap: 24px 56px; }
.faq-group h2 { flex: 1 1 260px; font-size: 28px; font-weight: 600; letter-spacing: -0.015em; }
.faq-group .faq-list { flex: 3 1 560px; }

/* ---------- Team ---------- */

.team { display: flex; flex-direction: column; gap: 32px; border-top: 1px solid var(--ink); padding-top: 40px; }
.team__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.team__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 16px; }
.member { display: flex; gap: 14px; align-items: center; }
.member__avatar { width: 52px; height: 52px; border-radius: 50%; background: #DCE5DF; display: flex; align-items: center; justify-content: center; font-weight: 600; flex: none; overflow: hidden; }
.member__avatar img { width: 100%; height: 100%; object-fit: cover; }
.member b { display: block; font-weight: 600; }
.member div span { display: block; margin-top: 2px; font-size: 14px; color: var(--muted-2); }

/* ---------- Contact ---------- */

.contact { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.contact__aside { flex: 1 1 320px; display: flex; flex-direction: column; gap: 24px; }
.contact__main { flex: 2 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.contact-list { display: flex; flex-direction: column; border-top: 1px solid var(--ink); }
.contact-list > div { padding: 16px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.contact-list__label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--muted-2); text-transform: uppercase; }
.contact-list__value { display: block; margin-top: 2px; font-size: 17px; font-weight: 600; }
.copy-btn { height: 40px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--dash); background: var(--white); font: 500 14px var(--sans); cursor: pointer; color: var(--ink); }
.next-box { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: var(--radius); background: var(--ink); color: var(--white); }
.next-box p { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--lime); text-transform: uppercase; }
.next-box ol { padding-left: 20px; display: flex; flex-direction: column; gap: 10px; font-size: 16px; line-height: 1.5; color: var(--on-dark); }
.msg-box { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: var(--radius-lg); background: var(--ink); color: var(--white); }
.msg-box__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.msg-box__head span { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--lime); text-transform: uppercase; }
.msg-box__head button { height: 40px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--lime); background: transparent; color: var(--lime); font: 500 14px var(--sans); cursor: pointer; }
.msg-box pre { margin: 0; white-space: pre-wrap; font-family: var(--mono); font-size: 14px; line-height: 1.6; color: #E6ECE8; }
.msg-box p { font-size: 14px; color: var(--on-dark); }

/* ---------- Archive / singles ---------- */

.case-card { display: flex; flex-direction: column; gap: 14px; padding: 0; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); color: var(--ink); text-decoration: none; overflow: hidden; }
.case-card:hover { color: var(--ink); border-color: var(--green); }
.case-card img { width: 100%; height: 220px; object-fit: cover; display: block; }
.case-card__body { padding: 0 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.case-card__body:first-child { padding-top: 24px; }
.case-card h2 { font-size: 24px; font-weight: 600; letter-spacing: -0.01em; }
.case-card p { font-size: 16px; line-height: 1.55; color: var(--muted); }
.case-card .card__more { margin-top: auto; }
.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }

/* ---------- Editor placeholder ---------- */

.block-placeholder { display: flex; flex-direction: column; gap: 4px; padding: 32px; margin: 16px 24px; border: 1px dashed var(--dash); border-radius: var(--radius); font-family: var(--sans); color: var(--muted); background: var(--white); }
.block-placeholder strong { color: var(--ink); }
