/*
 * Good Soft вЂ” "Precision Blueprint" design system.
 *
 * Hand-authored CSS with design tokens instead of a utility build step: no node
 * toolchain in CI, no "class compiled but stylesheet stale" failures.
 *
 * Brand blue #54A0D8 stays the accent thread. Text and buttons use --brand-deep
 * (#17557D, ~8:1 on white) because plain brand blue only reaches 2.87:1 and fails
 * WCAG AA for body copy.
 */

/* --------------------------------------------------------------------------
 * Fonts (self-hosted variable subsets)
 * ----------------------------------------------------------------------- */

@font-face {
	font-family: 'Manrope';
	font-style: normal;
	font-weight: 500 800;
	font-display: swap;
	src: url('../fonts/manrope-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: 'Manrope';
	font-style: normal;
	font-weight: 500 800;
	font-display: swap;
	src: url('../fonts/manrope-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: 'Manrope';
	font-style: normal;
	font-weight: 500 800;
	font-display: swap;
	src: url('../fonts/manrope-cyrillic.woff2') format('woff2');
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 400 600;
	font-display: swap;
	src: url('../fonts/inter-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 400 600;
	font-display: swap;
	src: url('../fonts/inter-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 400 600;
	font-display: swap;
	src: url('../fonts/inter-cyrillic.woff2') format('woff2');
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
	font-family: 'JetBrains Mono';
	font-style: normal;
	font-weight: 400 500;
	font-display: swap;
	src: url('../fonts/jetbrains-mono-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: 'JetBrains Mono';
	font-style: normal;
	font-weight: 400 500;
	font-display: swap;
	src: url('../fonts/jetbrains-mono-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --------------------------------------------------------------------------
 * Tokens
 * ----------------------------------------------------------------------- */

:root {
	--brand: #54a0d8;
	--brand-rgb: 84, 160, 216;
	--brand-deep: #17557d;
	--brand-deep-hover: #123f5c;
	--brand-tint: #e8f2fa;
	--ink: #0b1720;
	--slate: #51636f;
	--muted: #5c6e7a;
	--line: #e3eaf1;
	--line-strong: #d5e0e8;
	--bg: #f6f8fa;
	--dark: #0a1f2e;
	--dark-soft: #10293a;
	--radius: 16px;
	--radius-sm: 10px;
	--container: 1240px;
	--gutter: 32px;
	--header: 72px;
	--font-head: 'Manrope', system-ui, sans-serif;
	--font-body: 'Inter', system-ui, sans-serif;
	--font-mono: 'JetBrains Mono', ui-monospace, monospace;
	--shadow-card: 0 18px 40px -24px rgba(11, 23, 32, 0.3);
	--shadow-panel: 0 24px 60px -28px rgba(11, 23, 32, 0.28);
	--ease: 0.16s ease;
}

/* --------------------------------------------------------------------------
 * Base
 * ----------------------------------------------------------------------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.65;
	color: var(--slate);
	background: #fff;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

body.is-locked {
	overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	font-family: var(--font-head);
	font-weight: 800;
	color: var(--ink);
	letter-spacing: -0.02em;
}

p {
	margin: 0;
}

a {
	color: inherit;
	text-decoration: none;
}

img,
svg {
	max-width: 100%;
}

img {
	height: auto;
	display: block;
}

button {
	font: inherit;
	color: inherit;
}

ul,
ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

:focus-visible {
	outline: 2px solid var(--brand-deep);
	outline-offset: 3px;
	border-radius: 4px;
}

.site-header :focus-visible,
.site-footer :focus-visible,
.case :focus-visible,
.cta :focus-visible {
	outline-color: var(--brand);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	top: -100px;
	left: 16px;
	z-index: 100;
	padding: 12px 18px;
	background: var(--brand-deep);
	color: #fff;
	border-radius: 8px;
	font-family: var(--font-head);
	font-weight: 700;
}

.skip-link:focus {
	top: 12px;
}

/* --------------------------------------------------------------------------
 * Layout
 * ----------------------------------------------------------------------- */

.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.section {
	padding: 112px 0;
}

.section--tight {
	padding: 88px 0;
}

.site-main {
	display: block;
}

/* --------------------------------------------------------------------------
 * Typography helpers
 * ----------------------------------------------------------------------- */

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--brand-deep);
}

.eyebrow::before {
	content: "";
	width: 28px;
	height: 1px;
	background: var(--brand);
	flex: none;
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-head);
	font-size: 14px;
	font-weight: 700;
	color: var(--brand-deep);
	white-space: nowrap;
	padding-bottom: 6px;
}

.link-arrow .arrow {
	transition: transform var(--ease);
}

.link-arrow:hover .arrow {
	transform: translateX(3px);
}

.dot {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--brand);
	display: inline-block;
	flex: none;
}

.actions-row {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

/* --------------------------------------------------------------------------
 * Buttons
 * ----------------------------------------------------------------------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 48px;
	padding: 0 24px;
	border: 1px solid transparent;
	border-radius: 8px;
	font-family: var(--font-head);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: -0.01em;
	cursor: pointer;
	transition: transform var(--ease), background var(--ease), border-color var(--ease), color var(--ease);
}

.btn:hover {
	transform: translateY(-1px);
}

.btn--primary {
	background: var(--brand-deep);
	color: #fff;
}

.btn--primary:hover {
	background: var(--brand-deep-hover);
}

.btn--ghost {
	background: transparent;
	color: var(--ink);
	border-color: #c9d6e0;
}

.btn--ghost:hover {
	border-color: var(--brand-deep);
	color: var(--brand-deep);
}

.btn--brand {
	background: var(--brand);
	color: var(--dark);
}

.btn--brand:hover {
	background: #6cb2e4;
}

.btn--sm {
	height: 40px;
	padding: 0 18px;
	font-size: 14px;
}

.arrow {
	font-size: 15px;
	line-height: 1;
}

/* --------------------------------------------------------------------------
 * Header
 * ----------------------------------------------------------------------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 40;
	background: var(--dark);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Keep the sticky header below the admin bar for signed-in editors. */
.admin-bar .site-header {
	top: 32px;
}

.admin-bar .drawer {
	top: calc(var(--header) + 33px);
}

@media screen and (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}

	.admin-bar .drawer {
		top: calc(var(--header) + 47px);
	}
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 40px;
	min-height: var(--header);
}

.logo {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: none;
}

.logo img {
	width: 165px;
	height: 31px;
}

.logo__meta {
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.55);
	border-left: 1px solid rgba(255, 255, 255, 0.16);
	padding-left: 12px;
	line-height: 1.4;
	max-width: 20ch;
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-left: auto;
}

.nav--desktop {
	margin-left: auto;
}

.nav ul {
	display: flex;
	align-items: center;
	gap: 30px;
}

.nav a {
	position: relative;
	display: inline-block;
	padding: 6px 0;
	font-size: 14.5px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.74);
	transition: color var(--ease);
}

.nav a:hover {
	color: #fff;
}

.nav .current-menu-item > a,
.nav .current-menu-ancestor > a {
	color: #fff;
}

.nav .current-menu-item > a::after,
.nav .current-menu-ancestor > a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -2px;
	height: 2px;
	background: var(--brand);
}

.nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 8px;
	color: #fff;
	cursor: pointer;
}

.nav-toggle .icon {
	width: 20px;
	height: 20px;
}

.nav-toggle__close {
	display: none;
}

.nav-toggle[aria-expanded='true'] .nav-toggle__open {
	display: none;
}

.nav-toggle[aria-expanded='true'] .nav-toggle__close {
	display: block;
}

/* Mobile drawer */

.drawer {
	position: fixed;
	inset: var(--header) 0 0;
	z-index: 39;
	background: var(--dark);
	overflow-y: auto;
	padding: 16px 0 40px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer[hidden] {
	display: none;
}

.drawer ul {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.drawer .nav a {
	display: block;
	padding: 14px 0;
	font-family: var(--font-head);
	font-size: 20px;
	font-weight: 700;
	color: #fff;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer .nav .current-menu-item > a::after {
	display: none;
}

.drawer__footer {
	display: flex;
	flex-direction: column;
	gap: 16px;
	align-items: flex-start;
	margin-top: 28px;
}

.drawer__mail {
	font-family: var(--font-mono);
	font-size: 13px;
	color: rgba(255, 255, 255, 0.7);
}

/* --------------------------------------------------------------------------
 * Hero
 * ----------------------------------------------------------------------- */

.hero {
	position: relative;
	overflow: hidden;
	padding: 96px 0 88px;
	background: #fff;
}

.hero__grid-bg,
.page-header__grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(to right, rgba(var(--brand-rgb), 0.12) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(var(--brand-rgb), 0.12) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(120% 90% at 78% 18%, #000 0%, transparent 68%);
	mask-image: radial-gradient(120% 90% at 78% 18%, #000 0%, transparent 68%);
	pointer-events: none;
}

.hero__inner {
	position: relative;
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 24px;
	align-items: center;
}

.hero__copy {
	grid-column: 1 / span 7;
}

.hero h1 {
	margin: 22px 0 0;
	max-width: 16ch;
	font-size: 62px;
	line-height: 1.03;
	font-weight: 800;
	letter-spacing: -0.035em;
}

.hero h1 em {
	position: relative;
	z-index: 0;
	font-style: normal;
	color: var(--brand-deep);
}

.hero h1 em::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 4px;
	height: 10px;
	background: rgba(var(--brand-rgb), 0.22);
	z-index: -1;
}

.hero__lead {
	margin-top: 26px;
	max-width: 54ch;
	font-size: 18px;
	line-height: 1.68;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	margin-top: 36px;
}

.hero__micro {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 18px;
	margin-top: 24px;
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--muted);
}

.hero__micro li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.hero__visual {
	position: relative;
	grid-column: 8 / span 5;
}

.panel {
	position: relative;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-panel);
	overflow: hidden;
}

.panel__bar {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 18px;
	background: var(--bg);
	border-bottom: 1px solid var(--line);
}

.panel__dots {
	display: flex;
	gap: 5px;
}

.panel__dots i {
	display: block;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #cbd7e0;
}

.panel__title {
	font-family: var(--font-mono);
	font-size: 10.5px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #5f707c;
}

.panel__body {
	padding: 22px 20px 24px;
}

.flow {
	display: flex;
	flex-direction: column;
}

.flow__node {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: #fff;
}

.flow__node.is-done {
	border-color: rgba(var(--brand-rgb), 0.45);
	background: rgba(var(--brand-rgb), 0.06);
}

.flow__node.is-active {
	border-color: var(--brand-deep);
	box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.14);
}

.flow__index {
	font-family: var(--font-mono);
	font-size: 10px;
	line-height: 1;
	color: var(--brand-deep);
	background: var(--brand-tint);
	border-radius: 4px;
	padding: 3px 5px;
}

.flow__label {
	font-family: var(--font-head);
	font-size: 13.5px;
	font-weight: 700;
	color: var(--ink);
}

.flow__meta {
	margin-left: auto;
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: 0.04em;
	color: var(--muted);
	white-space: nowrap;
}

.flow__connector {
	width: 1px;
	height: 18px;
	margin-left: 26px;
	background: linear-gradient(to bottom, var(--brand), rgba(var(--brand-rgb), 0.1));
}

.panel__metric {
	display: flex;
	align-items: flex-end;
	gap: 14px;
	margin-top: 20px;
	padding-top: 18px;
	border-top: 1px dashed var(--line-strong);
}

.panel__metric b {
	font-family: var(--font-head);
	font-size: 34px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.04em;
	color: var(--brand-deep);
}

.panel__metric span {
	max-width: 17ch;
	font-size: 12.5px;
	line-height: 1.45;
	color: var(--muted);
}

.chip {
	position: absolute;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 13px;
	border-radius: 100px;
	background: var(--dark);
	color: #fff;
	font-family: var(--font-mono);
	font-size: 10.5px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	box-shadow: 0 12px 30px -12px rgba(10, 31, 46, 0.55);
	white-space: nowrap;
}

.chip i {
	display: block;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--brand);
}

.chip--tl {
	top: -18px;
	left: -26px;
}

.chip--br {
	right: -18px;
	bottom: -18px;
}

/* --------------------------------------------------------------------------
 * Proof bar
 * ----------------------------------------------------------------------- */

.proof {
	background: var(--bg);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.proof__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 40px;
	padding: 26px 0;
}

.proof__label {
	max-width: 18ch;
	font-family: var(--font-mono);
	font-size: 10.5px;
	line-height: 1.6;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
}

.proof__items {
	display: flex;
	flex: 1;
	flex-wrap: wrap;
	gap: 14px 0;
}

.proof__item {
	flex: 1 1 190px;
	padding-left: 24px;
	border-left: 1px solid #d9e3ea;
}

.proof__item b {
	display: block;
	font-family: var(--font-head);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: -0.01em;
	color: var(--ink);
}

.proof__item span {
	display: block;
	margin-top: 4px;
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--muted);
}

/* --------------------------------------------------------------------------
 * Section header
 * ----------------------------------------------------------------------- */

.section__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 40px;
	margin-bottom: 48px;
}

.section__head h2 {
	margin-top: 18px;
	max-width: 20ch;
	font-size: 44px;
	line-height: 1.08;
	letter-spacing: -0.03em;
}

/* --------------------------------------------------------------------------
 * Cards
 * ----------------------------------------------------------------------- */

.cards {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.cards--archive {
	grid-template-columns: repeat(3, 1fr);
}

.card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 28px 24px 24px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.card:hover {
	border-color: rgba(var(--brand-rgb), 0.7);
	transform: translateY(-3px);
	box-shadow: var(--shadow-card);
}

.card__index {
	position: absolute;
	top: 24px;
	right: 22px;
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: 0.06em;
	color: var(--muted);
}

.card__icon {
	width: 30px;
	height: 30px;
	margin-bottom: 22px;
	stroke: var(--brand-deep);
	fill: none;
	stroke-width: 1.5;
}

.card h3 {
	font-size: 19px;
	line-height: 1.3;
	font-weight: 700;
	letter-spacing: -0.015em;
}

.card p {
	margin-top: 10px;
	font-size: 14.5px;
	line-height: 1.6;
}

.card__more {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: 22px;
	font-family: var(--font-head);
	font-size: 13px;
	font-weight: 700;
	color: var(--brand-deep);
}

.card__more .arrow {
	transition: transform var(--ease);
}

.card:hover .card__more .arrow {
	transform: translateX(3px);
}

/* --------------------------------------------------------------------------
 * Featured case
 * ----------------------------------------------------------------------- */

.case {
	position: relative;
	overflow: hidden;
	padding: 104px 0;
	background: var(--dark);
	color: rgba(255, 255, 255, 0.72);
}

.case__bg {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(to right, rgba(var(--brand-rgb), 0.1) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(var(--brand-rgb), 0.1) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: linear-gradient(105deg, #000 0%, transparent 62%);
	mask-image: linear-gradient(105deg, #000 0%, transparent 62%);
	pointer-events: none;
}

.case__inner {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 72px;
	align-items: center;
}

.case .eyebrow {
	color: #a3d3f1;
}

.case .eyebrow::before {
	background: var(--brand);
}

.case h2 {
	margin-top: 20px;
	max-width: 20ch;
	font-size: 40px;
	line-height: 1.12;
	letter-spacing: -0.03em;
	color: #fff;
}

.case p {
	margin-top: 20px;
	max-width: 46ch;
	font-size: 16px;
	line-height: 1.7;
}

.case .btn {
	margin-top: 36px;
}

.case__metrics {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	margin: 34px 0 0;
	padding-top: 28px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.case__metrics b {
	display: block;
	font-family: var(--font-head);
	font-size: 34px;
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.04em;
	color: #fff;
}

.case__metrics span {
	display: block;
	max-width: 18ch;
	margin-top: 6px;
	font-family: var(--font-mono);
	font-size: 10px;
	line-height: 1.6;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.6);
}

.case__visual {
	position: relative;
	padding: 22px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--radius);
	background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
}

.case__visual-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-bottom: 16px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.6);
}

.case__chart {
	display: block;
	width: 100%;
	height: auto;
	margin-top: 18px;
}

.case__legend {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 22px;
	margin-top: 16px;
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.6);
}

.case__legend span {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.case__legend-line {
	display: block;
	width: 14px;
	height: 2px;
}

.case__legend-line--data {
	background: var(--brand);
}

.case__legend-line--target {
	background: rgba(255, 255, 255, 0.4);
}

/* --------------------------------------------------------------------------
 * Industries
 * ----------------------------------------------------------------------- */

.industries {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.industry {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 32px 28px;
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	transition: background var(--ease), border-color var(--ease), transform var(--ease);
}

a.industry:hover {
	background: var(--brand-tint);
	border-color: rgba(var(--brand-rgb), 0.6);
	transform: translateY(-2px);
}

.industry h3 {
	font-size: 21px;
	line-height: 1.25;
	font-weight: 700;
}

.industry p {
	font-size: 14.5px;
	line-height: 1.6;
}

.industry__more {
	display: inline-flex;
	margin-top: auto;
	padding-top: 14px;
	color: var(--brand-deep);
}

.industry__arrow {
	width: 18px;
	height: 18px;
}

/* --------------------------------------------------------------------------
 * Approach steps
 * ----------------------------------------------------------------------- */

.steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
	border-top: 1px solid var(--line);
}

.step {
	padding: 30px 28px 8px 0;
	border-right: 1px solid var(--line);
}

.step:last-child {
	border-right: 0;
	padding-right: 0;
}

.step__index {
	display: block;
	margin-bottom: 16px;
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.1em;
	color: var(--brand-deep);
}

.step h3 {
	font-size: 17px;
	line-height: 1.35;
	font-weight: 700;
	max-width: 22ch;
}

.step p {
	margin-top: 10px;
	font-size: 14px;
	line-height: 1.62;
	max-width: 30ch;
}

/* --------------------------------------------------------------------------
 * Closing CTA
 * ----------------------------------------------------------------------- */

.cta {
	position: relative;
	overflow: hidden;
	padding: 88px 0;
	background: var(--dark-soft);
	color: rgba(255, 255, 255, 0.7);
}

.cta__bg {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(60% 120% at 90% 0%, rgba(var(--brand-rgb), 0.22), transparent 70%);
	pointer-events: none;
}

.cta__inner {
	position: relative;
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 56px;
	align-items: center;
}

.cta .eyebrow {
	color: #a3d3f1;
}

.cta h2 {
	margin-top: 18px;
	max-width: 22ch;
	font-size: 38px;
	line-height: 1.12;
	letter-spacing: -0.03em;
	color: #fff;
}

.cta__copy p {
	margin-top: 18px;
	max-width: 52ch;
	font-size: 16px;
	line-height: 1.7;
}

.cta__actions {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
}

.cta__contacts {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.cta__contacts a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-head);
	font-size: 16px;
	font-weight: 700;
	color: #fff;
}

.cta__contacts a:hover {
	color: var(--brand);
}

.cta__icon {
	width: 18px;
	height: 18px;
	color: var(--brand);
}

/* --------------------------------------------------------------------------
 * Footer
 * ----------------------------------------------------------------------- */

.site-footer {
	padding: 72px 0 36px;
	background: var(--dark);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	color: rgba(255, 255, 255, 0.62);
}

.site-footer__top {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
	gap: 40px;
	padding-bottom: 48px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo--footer img {
	width: 165px;
	height: 31px;
}

.site-footer__tagline {
	margin-top: 16px;
	max-width: 30ch;
	font-size: 14px;
	line-height: 1.6;
}

.site-footer__title {
	margin-bottom: 16px;
	font-family: var(--font-mono);
	font-size: 10.5px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.5);
}

.site-footer__list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.site-footer__list a {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-size: 14.5px;
	color: rgba(255, 255, 255, 0.74);
	transition: color var(--ease);
}

.site-footer__list a:hover {
	color: #fff;
}

.site-footer__text {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	font-size: 14px;
}

.site-footer__icon {
	width: 16px;
	height: 16px;
	margin-top: 4px;
	flex: none;
	color: var(--brand);
}

.site-footer__hours {
	margin-top: 14px;
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.5);
}

.nav--footer ul {
	gap: 10px;
	flex-direction: column;
	align-items: flex-start;
}

.nav--footer a {
	color: rgba(255, 255, 255, 0.74);
	font-size: 14.5px;
}

.nav--footer a:hover {
	color: #fff;
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px 40px;
	padding-top: 26px;
}

.site-footer__copy {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.04em;
	color: rgba(255, 255, 255, 0.6);
}

.site-footer__note {
	max-width: 62ch;
	font-size: 12px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.5);
}

/* --------------------------------------------------------------------------
 * Inner pages
 * ----------------------------------------------------------------------- */

.page-header {
	position: relative;
	overflow: hidden;
	padding: 72px 0 56px;
	background: var(--bg);
	border-bottom: 1px solid var(--line);
}

.page-header .container {
	position: relative;
}

.page-header h1 {
	margin-top: 18px;
	max-width: 24ch;
	font-size: 44px;
	line-height: 1.1;
	letter-spacing: -0.03em;
}

.page-header__lead {
	margin-top: 18px;
	max-width: 60ch;
	font-size: 17px;
	line-height: 1.7;
}

.single {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 64px;
	align-items: start;
}

.single__aside {
	padding: 28px 24px;
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.single__aside-title {
	font-family: var(--font-mono);
	font-size: 10.5px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
}

.facts {
	margin-top: 18px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.facts__row {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--line);
	font-size: 14px;
}

.facts__row:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.facts dt {
	color: var(--muted);
}

.facts dd {
	margin: 0;
	font-family: var(--font-head);
	font-weight: 700;
	color: var(--ink);
	text-align: right;
}

.facts__value {
	color: var(--brand-deep);
}

/* --------------------------------------------------------------------------
 * Long-form content
 * ----------------------------------------------------------------------- */

.prose {
	max-width: 760px;
	font-size: 16.5px;
	line-height: 1.75;
}

.prose > * + * {
	margin-top: 1.1em;
}

.prose h2 {
	margin-top: 2em;
	font-size: 30px;
	line-height: 1.2;
	letter-spacing: -0.025em;
}

.prose h3 {
	margin-top: 1.6em;
	font-size: 22px;
	line-height: 1.3;
}

.prose h4 {
	margin-top: 1.4em;
	font-size: 18px;
}

.prose a {
	color: var(--brand-deep);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.prose a:hover {
	text-decoration-thickness: 2px;
}

.prose ul,
.prose ol {
	padding-left: 1.3em;
	list-style: disc;
}

.prose ol {
	list-style: decimal;
}

.prose li + li {
	margin-top: 0.4em;
}

.prose blockquote {
	margin: 1.6em 0;
	padding: 4px 0 4px 22px;
	border-left: 3px solid var(--brand);
	font-family: var(--font-head);
	font-size: 19px;
	font-weight: 600;
	color: var(--ink);
}

.prose code,
.prose kbd {
	padding: 2px 6px;
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: 5px;
	font-family: var(--font-mono);
	font-size: 0.88em;
}

.prose pre {
	padding: 18px 20px;
	background: var(--dark);
	border-radius: var(--radius-sm);
	color: #e6eef4;
	overflow-x: auto;
}

.prose pre code {
	padding: 0;
	background: none;
	border: 0;
	color: inherit;
}

.prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.prose th,
.prose td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--line);
	text-align: left;
}

.prose th {
	font-family: var(--font-head);
	color: var(--ink);
}

.prose figure {
	margin: 1.8em 0;
}

.prose figcaption {
	margin-top: 8px;
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--muted);
}

.prose img {
	border-radius: var(--radius-sm);
}

.prose .alignwide {
	max-width: 1000px;
	width: 100%;
}

/* --------------------------------------------------------------------------
 * Pagination
 * ----------------------------------------------------------------------- */

.navigation.pagination {
	margin-top: 40px;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-family: var(--font-head);
	font-size: 14px;
	font-weight: 700;
}

.nav-links a,
.nav-links span.current {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--line);
	border-radius: 8px;
}

.nav-links a:hover {
	border-color: var(--brand-deep);
	color: var(--brand-deep);
}

.nav-links span.current {
	background: var(--brand-deep);
	border-color: var(--brand-deep);
	color: #fff;
}

/* --------------------------------------------------------------------------
 * WordPress core classes
 * ----------------------------------------------------------------------- */

.alignleft {
	float: left;
	margin: 0 24px 16px 0;
}

.alignright {
	float: right;
	margin: 0 0 16px 24px;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	max-width: 100%;
}

.wp-caption-text {
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--muted);
}

.sticky,
.bypostauthor {
	position: static;
}

/* --------------------------------------------------------------------------
 * Responsive
 * ----------------------------------------------------------------------- */

@media (max-width: 1080px) {
	.hero h1 {
		font-size: 52px;
	}

	.cards,
	.steps {
		grid-template-columns: repeat(2, 1fr);
	}

	.cards--archive,
	.industries {
		grid-template-columns: repeat(2, 1fr);
	}

	.step {
		padding: 26px 24px 10px 0;
	}

	.step:nth-child(2n) {
		border-right: 0;
		padding-right: 0;
	}

	.case__inner,
	.cta__inner {
		grid-template-columns: 1fr;
		gap: 48px;
	}

	.section__head h2 {
		font-size: 38px;
	}

	.page-header h1 {
		font-size: 38px;
	}

	.cta h2 {
		font-size: 34px;
	}

	.site-footer__top {
		grid-template-columns: 1fr 1fr;
	}

	.single {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}
}

@media (max-width: 860px) {
	:root {
		--gutter: 20px;
	}

	.nav--desktop {
		display: none;
	}

	.logo__meta {
		display: none;
	}

	.nav-toggle {
		display: inline-flex;
	}

	.site-header__inner {
		justify-content: space-between;
		gap: 16px;
	}

	.hero {
		padding: 64px 0 56px;
	}

	.hero__inner {
		grid-template-columns: 1fr;
	}

	.hero__copy,
	.hero__visual {
		grid-column: auto;
	}

	.hero__visual {
		margin-top: 48px;
	}

	.hero h1 {
		max-width: 100%;
		font-size: 40px;
	}

	.hero__lead {
		font-size: 17px;
	}

	.chip--tl {
		top: -14px;
		left: 0;
	}

	.chip--br {
		right: 0;
		bottom: -14px;
	}

	.proof__inner {
		gap: 20px;
		padding: 24px 0;
	}

	.proof__label {
		max-width: 100%;
	}

	.proof__items {
		flex-direction: column;
		gap: 14px;
	}

	.proof__item {
		padding: 12px 0 0;
		border-left: 0;
		border-top: 1px solid #d9e3ea;
	}

	.section,
	.section--tight,
	.case,
	.cta {
		padding: 64px 0;
	}

	.section__head {
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
		margin-bottom: 32px;
	}

	.section__head h2,
	.page-header h1 {
		font-size: 30px;
	}

	.cards,
	.cards--archive,
	.industries,
	.steps {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.step {
		padding: 22px 0 4px;
		border-right: 0;
		border-bottom: 1px solid var(--line);
	}

	.step:last-child {
		border-bottom: 0;
	}

	.link-arrow {
		min-height: 44px;
		align-items: center;
	}

	.case h2 {
		font-size: 28px;
	}

	.case__metrics {
		gap: 24px;
	}

	.case__metrics b {
		font-size: 26px;
	}

	.cta h2 {
		font-size: 27px;
	}

	.page-header {
		padding: 56px 0 44px;
	}

	.site-footer {
		padding: 56px 0 28px;
	}

	.site-footer__top {
		grid-template-columns: 1fr;
		gap: 32px;
		padding-bottom: 32px;
	}

	.prose h2 {
		font-size: 25px;
	}

	.btn {
		min-height: 48px;
	}
}

@media (max-width: 420px) {
	.hero h1 {
		font-size: 34px;
	}

	.header-cta,
	.site-header__actions .btn {
		height: 40px;
		padding: 0 14px;
	}
}

/* --------------------------------------------------------------------------
 * Motion preferences
 * ----------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}

	.btn:hover,
	.card:hover,
	.industry:hover,
	a.industry:hover {
		transform: none;
	}
}
