/* ==========================================================
   Homepage page styles
   Loaded by templates/views/assets/index.html
   ========================================================== */

/* ==========================================================
   HERO
   ========================================================== */
.hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: calc(var(--header-h) + clamp(28px, 4.2vw, 60px)) 0 0;
}
.mesh {
	position: absolute;
	inset: 0;
	z-index: -2;
	pointer-events: none;
}
.mesh span {
	position: absolute;
	border-radius: 50%;
	opacity: 0.55;
	will-change: transform;
}
.mesh .b1 {
	width: 760px;
	height: 760px;
	top: -320px;
	right: -180px;
	background: radial-gradient(closest-side, #acc1d2, transparent);
	animation: drift1 22s ease-in-out infinite alternate;
}
.mesh .b2 {
	width: 560px;
	height: 560px;
	top: 60px;
	right: 18%;
	background: radial-gradient(closest-side, var(--cyan), transparent);
	animation: drift2 26s ease-in-out infinite alternate;
	opacity: 0.4;
}
.mesh .b3 {
	width: 620px;
	height: 620px;
	top: -260px;
	left: 18%;
	background: radial-gradient(closest-side, var(--peri), transparent);
	animation: drift3 30s ease-in-out infinite alternate;
	opacity: 0.28;
}
.mesh .b4 {
	width: 520px;
	height: 520px;
	top: 280px;
	right: -120px;
	background: radial-gradient(closest-side, var(--peach), transparent);
	animation: drift2 24s ease-in-out infinite alternate-reverse;
	opacity: 0.7;
}
@keyframes drift1 {
	to {
		transform: translate(-120px, 80px) scale(1.1);
	}
}
@keyframes drift2 {
	to {
		transform: translate(90px, -60px) scale(0.92);
	}
}
@keyframes drift3 {
	to {
		transform: translate(140px, 60px) scale(1.08);
	}
}
.hero::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background-image: radial-gradient(rgba(16, 24, 32, 0.13) 1px, transparent 1px);
	background-size: 22px 22px;
	-webkit-mask-image: radial-gradient(ellipse 60% 70% at 70% 30%, #000 10%, transparent 70%);
	mask-image: radial-gradient(ellipse 60% 70% at 70% 30%, #000 10%, transparent 70%);
}
.hero::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 60px;
	z-index: -1;
	background: linear-gradient(transparent, var(--paper));
}

.slides {
	display: grid;
}
.slide {
	grid-area: 1 / 1;
	display: grid;
	grid-template-columns: 1fr 1.08fr;
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
	visibility: hidden;
	pointer-events: none;
}
.slide.is-active {
	visibility: visible;
	pointer-events: auto;
}
.s-anim {
	opacity: 0;
	transform: translateY(22px);
	transition:
		opacity 0.5s var(--ease),
		transform 0.7s var(--ease);
}
.slide.is-active .s-anim {
	opacity: 1;
	transform: none;
}
.slide.is-active .s-anim:nth-child(2) {
	transition-delay: 0.07s;
}
.slide.is-active .s-anim:nth-child(3) {
	transition-delay: 0.14s;
}
.slide.is-active .s-anim:nth-child(4) {
	transition-delay: 0.21s;
}

.pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 32px;
	padding: 0 14px 0 6px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.75);
	box-shadow: inset 0 0 0 1px var(--line-strong);
	backdrop-filter: blur(8px);
	font: 400 12px/1 var(--font-mono);
	letter-spacing: 0.02em;
	color: var(--ink-2);
}
.pill b {
	display: inline-flex;
	align-items: center;
	height: 22px;
	padding: 0 8px;
	border-radius: 999px;
	background: var(--ink);
	color: #fff;
	font-weight: 400;
}
.slide h1,
.slide h2 {
	margin-top: 24px;
	font: 400 clamp(2.6rem, 5.6vw, 4.75rem)/1 var(--font-display);
	letter-spacing: -0.048em;
}
.slide-copy p {
	margin-top: 22px;
	color: var(--muted);
	font-size: clamp(1.02rem, 1.3vw, 1.15rem);
	max-width: 46ch;
}
.slide-ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 34px;
}

.slide-visual {
	position: relative;
	opacity: 0;
	transform: translateX(48px) scale(0.97);
	transition:
		opacity 0.6s var(--ease),
		transform 0.9s var(--ease);
}
.slide.is-active .slide-visual {
	opacity: 1;
	transform: none;
	transition-delay: 0.1s;
}

/* Mock UI */
.mock {
	position: relative;
	background: var(--white);
	border-radius: 18px;
	overflow: hidden;
	box-shadow:
		var(--shadow-lg),
		0 0 0 1px var(--line);
}
.mock-bar {
	display: flex;
	align-items: center;
	gap: 12px;
	height: 46px;
	padding: 0 16px;
	border-bottom: 1px solid var(--line);
	font: 400 12.5px/1 var(--font-mono);
	color: var(--muted);
}
.mock-bar .dots {
	display: flex;
	gap: 6px;
}
.mock-bar .dots i {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #e4e1db;
}
.mock-bar .live {
	margin-left: auto;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #00905f;
}
.mock-bar .live::before {
	content: '';
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--mint);
	animation: pulse 1.8s infinite;
}
@keyframes pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(0, 195, 137, 0.5);
	}
	100% {
		box-shadow: 0 0 0 8px rgba(0, 195, 137, 0);
	}
}

.seq > * {
	opacity: 0;
}
.slide.is-active .seq > * {
	animation: pop 0.55s var(--ease) both;
	animation-delay: calc(var(--i, 0) * 0.55s + 0.35s);
}
@keyframes pop {
	from {
		opacity: 0;
		transform: translateY(10px) scale(0.98);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

.chat {
	display: grid;
	gap: 12px;
	padding: 22px;
	min-height: 318px;
	align-content: start;
}
.msg {
	max-width: 82%;
	padding: 11px 15px;
	border-radius: 16px;
	font-size: 14.5px;
	line-height: 1.5;
}
.msg.user {
	justify-self: end;
	background: var(--ink);
	color: #fff;
	border-bottom-right-radius: 5px;
}
.msg.bot {
	justify-self: start;
	background: var(--paper);
	box-shadow: inset 0 0 0 1px var(--line);
	border-bottom-left-radius: 5px;
}
.tool {
	justify-self: start;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 11px;
	border-radius: 9px;
	background: var(--blue-tint);
	color: var(--blue-deep);
	font: 400 12px/1 var(--font-mono);
}
.tool svg {
	width: 13px;
	height: 13px;
	color: #00905f;
}
.tool em {
	font-style: normal;
	color: var(--subtle);
}
.chat-input {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0 16px 16px;
	height: 46px;
	padding: 0 8px 0 16px;
	border-radius: 12px;
	box-shadow: inset 0 0 0 1px var(--line-strong);
	color: var(--subtle);
	font-size: 14px;
}
.chat-input kbd {
	display: inline-grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 9px;
	background: var(--blue);
	color: #fff;
	font: 400 14px/1 var(--font-body);
}

.pipeline {
	padding: 10px 0;
}
.pipe-row {
	display: grid;
	grid-template-columns: 28px 1fr auto;
	align-items: center;
	gap: 12px;
	padding: 12px 22px;
	font-size: 14.5px;
}
.pipe-row + .pipe-row {
	border-top: 1px dashed var(--line);
}
.pipe-row .st {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: rgba(0, 195, 137, 0.14);
	color: #00905f;
}
.pipe-row .st svg {
	width: 12px;
	height: 12px;
}
.pipe-row .st.run {
	background: var(--blue-tint);
	color: var(--blue);
}
.pipe-row .st.run i {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: 2px solid currentColor;
	border-right-color: transparent;
	animation: spin 0.8s linear infinite;
}
@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}
.pipe-row code {
	font: 400 12px/1 var(--font-mono);
	color: var(--subtle);
}
.deploy-bar {
	grid-column: 2 / -1;
	height: 6px;
	border-radius: 6px;
	background: var(--paper);
	overflow: hidden;
	margin-top: 4px;
}
.deploy-bar i {
	display: block;
	height: 100%;
	width: 0;
	border-radius: inherit;
	background: var(--grad);
}
.slide.is-active .deploy-bar i {
	animation: fill 3.2s 1.9s var(--ease) forwards;
}
@keyframes fill {
	to {
		width: 100%;
	}
}
.metrics {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border-top: 1px solid var(--line);
}
.metrics div {
	padding: 16px 22px;
}
.metrics div + div {
	border-left: 1px solid var(--line);
}
.metrics span {
	display: block;
	font: 400 11px/1 var(--font-mono);
	color: var(--subtle);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.metrics b {
	display: block;
	margin-top: 8px;
	font: 400 22px/1 var(--font-display);
	letter-spacing: -0.03em;
}

.kpis {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border-bottom: 1px solid var(--line);
}
.kpis div {
	padding: 18px 22px;
}
.kpis div + div {
	border-left: 1px solid var(--line);
}
.kpis span {
	display: block;
	font: 400 11px/1 var(--font-mono);
	color: var(--subtle);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.kpis b {
	display: block;
	margin-top: 8px;
	font: 400 24px/1 var(--font-display);
	letter-spacing: -0.03em;
}
.kpis em {
	font-style: normal;
	font: 400 12px/1 var(--font-mono);
	color: #00905f;
}
.chart {
	padding: 18px 12px 8px;
}
.chart svg {
	width: 100%;
	height: auto;
}
.chart .line {
	stroke-dasharray: 900;
	stroke-dashoffset: 900;
}
.slide.is-active .chart .line {
	animation: draw 2.2s 0.4s var(--ease) forwards;
}
.chart .area {
	opacity: 0;
}
.slide.is-active .chart .area {
	animation: fadeIn 1s 1.4s forwards;
}
@keyframes draw {
	to {
		stroke-dashoffset: 0;
	}
}
@keyframes fadeIn {
	to {
		opacity: 1;
	}
}

.float {
	position: absolute;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 16px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.88);
	backdrop-filter: blur(12px);
	box-shadow:
		var(--shadow-md),
		0 0 0 1px var(--line);
	font-size: 13.5px;
	white-space: nowrap;
	animation: bob 6s ease-in-out infinite;
}
.float .ic {
	width: 30px;
	height: 30px;
	border-radius: 9px;
	display: grid;
	place-items: center;
	color: #fff;
	background: var(--grad);
}
.float .ic svg {
	width: 15px;
	height: 15px;
}
.float small {
	display: block;
	color: var(--muted);
	font-size: 12px;
}
.float.f-bl {
	left: -28px;
	bottom: -22px;
}
.float.f-tr {
	right: -22px;
	top: -24px;
	animation-delay: -3s;
}
@keyframes bob {
	50% {
		transform: translateY(-8px);
	}
}

/* App slide, iPhone 15-proportioned devices (71.6 × 147.6 mm) */
.ph-stage {
	position: relative;
	height: clamp(420px, 40vw, 500px);
	display: flex;
	justify-content: center;
	align-items: center;
}
.iphone {
	position: relative;
	flex: none;
	width: clamp(196px, 17.5vw, 228px);
	aspect-ratio: 71.6 / 147.6;
	padding: 8px;
	border-radius: 17% / 8.3%;
	background: linear-gradient(145deg, #2b3038, #121519 60%, #252a31);
	box-shadow:
		inset 0 0 0 1.5px #4a515b,
		inset 0 0 0 4px #0c0e11,
		0 50px 80px -34px rgba(15, 76, 129, 0.5),
		0 18px 34px -16px rgba(16, 24, 32, 0.35);
}
.iphone::before {
	content: '';
	position: absolute;
	left: -2.5px;
	top: 19%;
	width: 3px;
	height: 5%;
	border-radius: 2px 0 0 2px;
	background: #3a4048;
	box-shadow:
		0 34px 0 #3a4048,
		0 62px 0 #3a4048;
}
.iphone::after {
	content: '';
	position: absolute;
	right: -2.5px;
	top: 27%;
	width: 3px;
	height: 9%;
	border-radius: 0 2px 2px 0;
	background: #3a4048;
}
.ph-scr {
	position: relative;
	height: 100%;
	overflow: hidden;
	border-radius: 14.5% / 6.9%;
	background: #f6f7f9;
	font-family: var(--font-body);
	color: var(--ink);
}
.ph-island {
	position: absolute;
	z-index: 4;
	top: 9px;
	left: 50%;
	width: 31%;
	height: 21px;
	margin-left: -15.5%;
	border-radius: 20px;
	background: #000;
}
.ph-status {
	position: relative;
	z-index: 3;
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 40px;
	padding: 0 20px 0 24px;
	font: 400 11.5px/1 var(--font-body);
}
.ph-status i {
	position: relative;
	width: 20px;
	height: 9px;
	border-radius: 3px;
	box-shadow: inset 0 0 0 1px currentColor;
}
.ph-status i::after {
	content: '';
	position: absolute;
	inset: 2px 5px 2px 2px;
	border-radius: 1px;
	background: currentColor;
}
.ph-home {
	position: absolute;
	z-index: 3;
	bottom: 7px;
	left: 50%;
	width: 36%;
	height: 4px;
	margin-left: -18%;
	border-radius: 4px;
	background: rgba(16, 24, 32, 0.82);
}
.ph-body {
	padding: 4px 14px 0;
	display: grid;
	gap: 10px;
}
.ph-hi small {
	display: block;
	font-size: 10.5px;
	color: var(--muted);
}
.ph-hi b {
	display: block;
	margin-top: 2px;
	font: 400 17px/1.15 var(--font-display);
	letter-spacing: -0.02em;
}
.ph-card {
	padding: 13px;
	border-radius: 16px;
	color: #fff;
	background: linear-gradient(140deg, #0f4c81, #0072ce 55%, #00b5e2);
	box-shadow: 0 12px 22px -12px #0072ce;
}
.ph-card small {
	display: block;
	font: 400 9px/1 var(--font-mono);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.8;
}
.ph-card b {
	display: block;
	margin-top: 7px;
	font: 400 14px/1.2 var(--font-display);
}
.ph-card .row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 11px;
	font-size: 10.5px;
	opacity: 0.92;
}
.ph-card .row span {
	padding: 5px 9px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.18);
}
.ph-ring {
	display: grid;
	grid-template-columns: 52px 1fr;
	gap: 10px;
	align-items: center;
	padding: 10px;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 0 0 1px var(--line);
}
.ph-ring svg {
	width: 52px;
	height: 52px;
	transform: rotate(-90deg);
}
.ph-ring circle {
	fill: none;
	stroke-width: 6;
}
.ph-ring .rg {
	stroke: #00c389;
	stroke-linecap: round;
	stroke-dasharray: 0 140;
}
.slide.is-active .ph-ring .rg {
	animation: phRing 1.6s 0.9s var(--ease) forwards;
}
@keyframes phRing {
	to {
		stroke-dasharray: 98 140;
	}
}
.ph-ring b {
	display: block;
	font: 400 15px/1 var(--font-display);
}
.ph-ring small {
	display: block;
	margin-top: 3px;
	font-size: 10px;
	color: var(--muted);
}
.ph-list {
	display: grid;
	gap: 7px;
}
.ph-list div {
	display: grid;
	grid-template-columns: 26px 1fr auto;
	gap: 9px;
	align-items: center;
	padding: 8px 9px;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 0 0 1px var(--line);
	font-size: 10.5px;
}
.ph-list i {
	width: 26px;
	height: 26px;
	border-radius: 8px;
	background: var(--c);
}
.ph-list em {
	font-style: normal;
	font: 400 9.5px/1 var(--font-mono);
	color: var(--subtle);
}
.ph-tabbar {
	position: absolute;
	left: 10px;
	right: 10px;
	bottom: 18px;
	display: flex;
	justify-content: space-around;
	padding: 9px 0;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.9);
	box-shadow:
		0 6px 18px -8px rgba(16, 24, 32, 0.25),
		0 0 0 1px var(--line);
}
.ph-tabbar i {
	width: 18px;
	height: 18px;
	border-radius: 6px;
	background: #dfe3e8;
}
.ph-tabbar i:first-child {
	background: var(--blue);
}
/* back phone: delivery tracking */
.iphone.ph-back {
	position: absolute;
	left: 50%;
	margin-left: calc(clamp(196px, 17.5vw, 228px) * -1.08);
	transform: rotate(-8deg) translateY(18px) scale(0.9);
	filter: saturate(0.9);
}
.iphone.ph-front {
	position: relative;
	margin-left: clamp(90px, 9vw, 130px);
}
.slide .iphone.ph-back {
	opacity: 0;
	transition:
		opacity 0.6s var(--ease) 0.25s,
		transform 0.9s var(--ease) 0.25s;
	transform: rotate(0) translate(40px, 30px) scale(0.86);
}
.slide.is-active .iphone.ph-back {
	opacity: 1;
	transform: rotate(-8deg) translateY(18px) scale(0.9);
}
.ph-map {
	position: relative;
	height: 54%;
	background: #e9eef3;
	overflow: hidden;
}
.ph-map::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, transparent 47%, #fff 47% 53%, transparent 53%),
		linear-gradient(0deg, transparent 30%, #fff 30% 35%, transparent 35%),
		linear-gradient(0deg, transparent 68%, #fff 68% 72%, transparent 72%),
		linear-gradient(90deg, transparent 18%, #fff 18% 21%, transparent 21%);
}
.ph-map svg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}
.ph-route {
	stroke-dasharray: 6 6;
	animation: flow 1.2s linear infinite;
}
.ph-sheet {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	top: 50%;
	padding: 14px;
	border-radius: 22px 22px 0 0;
	background: #fff;
	box-shadow: 0 -10px 24px -14px rgba(16, 24, 32, 0.3);
}
.ph-sheet small {
	font: 400 9px/1 var(--font-mono);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--subtle);
}
.ph-sheet b {
	display: block;
	margin-top: 6px;
	font: 400 15px/1.2 var(--font-display);
}
.ph-steps {
	display: flex;
	gap: 4px;
	margin-top: 12px;
}
.ph-steps i {
	flex: 1;
	height: 4px;
	border-radius: 4px;
	background: #e3e6ea;
}
.ph-steps i.on {
	background: var(--mint);
}
.ph-driver {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-top: 14px;
	font-size: 10.5px;
}
.ph-driver span {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--peach), #e2774a);
}
.ph-driver em {
	margin-left: auto;
	font-style: normal;
	padding: 6px 10px;
	border-radius: 999px;
	color: #fff;
	background: var(--ink);
}
.ph-toast {
	position: absolute;
	z-index: 5;
	left: 50%;
	top: 42px;
	width: 86%;
	margin-left: -43%;
	display: flex;
	gap: 8px;
	align-items: center;
	padding: 9px 10px;
	border-radius: 14px;
	font-size: 10px;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(10px);
	box-shadow:
		0 10px 20px -10px rgba(16, 24, 32, 0.35),
		0 0 0 1px var(--line);
	opacity: 0;
	transform: translateY(-14px);
}
.ph-toast i {
	flex: none;
	width: 22px;
	height: 22px;
	border-radius: 7px;
	background: var(--grad);
}
.ph-toast b {
	display: block;
	font-weight: 400;
	font-size: 10.5px;
}
.slide.is-active .ph-toast {
	animation: phToast 5s 2.4s var(--ease) infinite;
}
@keyframes phToast {
	0% {
		opacity: 0;
		transform: translateY(-14px);
	}
	10%,
	70% {
		opacity: 1;
		transform: none;
	}
	82%,
	100% {
		opacity: 0;
		transform: translateY(-14px);
	}
}

/* Hero tabs */
.hero-tabs {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	margin-top: clamp(40px, 4.9vw, 60px);
}
.hero-tab {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: stretch;
	text-align: left;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
	color: var(--subtle);
	transition: color 0.3s;
}
.hero-tab:hover,
.hero-tab.is-active {
	color: var(--ink);
}
.hero-tab .track {
	display: block;
	height: 2px;
	border-radius: 2px;
	background: var(--line-strong);
	overflow: hidden;
	margin-bottom: 16px;
}
.hero-tab .track i {
	display: block;
	height: 100%;
	width: 0;
	background: var(--ink);
}
.hero-tab.is-active .track i {
	animation: progress var(--dur, 5s) linear forwards;
}
.hero.is-paused .hero-tab.is-active .track i {
	animation-play-state: paused;
}
.hero-tab.is-done .track i {
	width: 100%;
}
@keyframes progress {
	to {
		width: 100%;
	}
}
.hero-tab span {
	font: 400 12px/1 var(--font-mono);
	color: var(--blue);
}
.hero-tab b {
	display: block;
	margin-top: 8px;
	font: 400 17px/1.2 var(--font-display);
	letter-spacing: -0.01em;
}
.hero-tab small {
	display: block;
	margin-top: 4px;
	font-size: 14px;
	color: var(--muted);
}

/* Logos */
.logos {
	margin-top: clamp(44px, 5.6vw, 68px);
	padding: 32px 0 clamp(52px, 6.3vw, 84px);
}
.logos p {
	text-align: center;
	font: 400 12px/1 var(--font-mono);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--subtle);
	margin-bottom: 28px;
}
.marquee {
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
	padding-top: 10px;
	padding-bottom: 10px;
}
.marquee-track {
	display: flex;
	align-items: center;
	width: max-content;
	animation: marquee var(--speed, 45s) linear infinite;
}
.marquee.reverse .marquee-track {
	animation-direction: reverse;
}
.marquee:hover .marquee-track {
	animation-play-state: paused;
}
@keyframes marquee {
	to {
		transform: translateX(-50%);
	}
}
.logos img {
	height: clamp(54px, 5.6vw, 55px);
	width: auto;
	margin: 0 clamp(28px, 3.6vw, 56px);
	filter: grayscale(1);
	opacity: 0.62;
	mix-blend-mode: multiply;
	transition:
		filter 0.3s,
		opacity 0.3s;
}
.logos img:hover {
	filter: none;
	opacity: 1;
}

/* ==========================================================
   STATS
   ========================================================== */
.stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}
.stat {
	position: relative;
	overflow: hidden;
	padding: clamp(24px, 2.6vw, 32px);
	border-radius: var(--radius);
	background: var(--white);
	box-shadow:
		var(--shadow-sm),
		0 0 0 1px var(--line);
	transition:
		box-shadow 0.4s var(--ease),
		transform 0.4s var(--ease);
}
.stat::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 3px;
	background: var(--grad);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.6s var(--ease);
}
.stat:hover {
	transform: translateY(-4px);
	box-shadow:
		var(--shadow-md),
		0 0 0 1px var(--line);
}
.stat:hover::before {
	transform: scaleX(1);
}
.stat-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.stat-ic {
	width: 40px;
	height: 40px;
	border-radius: 11px;
	display: grid;
	place-items: center;
	background: var(--blue-tint);
	color: var(--blue);
}
.stat-ic svg {
	width: 20px;
	height: 20px;
}
.stat-k {
	font: 400 11px/1 var(--font-mono);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--subtle);
}
.stat-num {
	margin-top: 28px;
	font: 400 clamp(2.75rem, 4.6vw, 4rem)/1 var(--font-display);
	letter-spacing: -0.05em;
	color: var(--ink);
	font-variant-numeric: tabular-nums;
}
.stat-num sup {
	font-size: 0.42em;
	font-weight: 400;
	vertical-align: top;
	position: relative;
	top: 0.3em;
	margin-left: 4px;
	color: var(--blue);
}
.stat-label {
	margin-top: 14px;
	font: 400 16px/1.3 var(--font-body);
	color: var(--ink);
}
.stat-desc {
	margin-top: 6px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--muted);
}

/* ==========================================================
   STATEMENT (scroll-lit words)
   ========================================================== */
.statement-wrap {
	display: grid;
	grid-template-columns: 1fr 3fr;
	gap: 48px;
}
.statement {
	font: 400 clamp(1.75rem, 3.6vw, 3rem)/1.18 var(--font-display);
	letter-spacing: -0.035em;
}
.statement .w {
	color: #c8ccd2;
	transition: color 0.25s;
}
.statement .w.lit {
	color: var(--ink);
}
.statement .w.hl.lit {
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.statement-foot {
	margin-top: 40px;
}

/* ==========================================================
   SERVICES, expanding discipline panels
   ========================================================== */
.tile-ic {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	display: grid;
	place-items: center;
	background: var(--blue-tint);
	color: var(--blue);
}
.tile-ic svg {
	width: 22px;
	height: 22px;
}

.sx {
	--sx-open: 4.2;
	display: flex;
	gap: 12px;
	height: clamp(540px, 44vw, 600px);
}
.sx-p {
	--tone: var(--blue);
	--tone-2: var(--cyan);
	position: relative;
	isolation: isolate;
	flex: 1 1 0;
	min-width: 0;
	overflow: hidden;
	border-radius: 26px;
	cursor: pointer;
	outline: none;
	background: linear-gradient(175deg, color-mix(in srgb, var(--tone) 11%, #fff) 0%, #fff 75%);
	box-shadow:
		var(--shadow-sm),
		0 0 0 1px color-mix(in srgb, var(--tone) 20%, transparent);
	transition:
		flex-grow 0.8s var(--ease),
		box-shadow 0.5s var(--ease);
}
.sx-p:hover,
.sx-p:focus-visible {
	box-shadow:
		var(--shadow-md),
		0 0 0 1px color-mix(in srgb, var(--tone) 45%, transparent);
}
.sx-p.is-open {
	flex-grow: var(--sx-open);
	cursor: default;
	color: #fff;
	box-shadow: 0 34px 60px -30px color-mix(in srgb, var(--tone) 80%, transparent);
}
.sx-p::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	opacity: 0;
	transition: opacity 0.6s var(--ease);
	background:
		radial-gradient(90% 70% at 100% 0%, color-mix(in srgb, var(--tone-2) 50%, transparent), transparent 62%),
		linear-gradient(
			165deg,
			color-mix(in srgb, var(--tone) 82%, #0b1620) 0%,
			color-mix(in srgb, var(--tone) 38%, #0b1620) 100%
		);
}
.sx-p::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	opacity: 0;
	transition: opacity 0.6s var(--ease);
	pointer-events: none;
	background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px);
	background-size: 18px 18px;
	-webkit-mask-image: linear-gradient(200deg, #000, transparent 55%);
	mask-image: linear-gradient(200deg, #000, transparent 55%);
}
.sx-p.is-open::before,
.sx-p.is-open::after {
	opacity: 1;
}

/* collapsed rail */
.sx-rail {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	padding: 28px 0 26px;
	transition: opacity 0.35s var(--ease);
}
.sx-p.is-open .sx-rail {
	opacity: 0;
	pointer-events: none;
}
.sx-rail .n {
	font: 400 12px/1 var(--font-mono);
	color: color-mix(in srgb, var(--tone) 80%, #101820);
}
.sx-rail h3 {
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	font: 400 1.45rem/1 var(--font-display);
	letter-spacing: -0.02em;
	white-space: nowrap;
}
.sx-rail h3 small {
	font: 400 12px/1 var(--font-mono);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--subtle);
	margin-top: 14px;
}
.sx-ic {
	width: 46px;
	height: 46px;
	border-radius: 14px;
	display: grid;
	place-items: center;
	color: #fff;
	background: linear-gradient(135deg, var(--tone), var(--tone-2));
	box-shadow: 0 10px 22px -10px var(--tone);
}
.sx-ic svg {
	width: 21px;
	height: 21px;
}

/* open content, fixed width so text never reflows while the panel grows */
.sx-in {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: calc((min(100vw, var(--container)) - 2 * var(--gutter) - 36px) * var(--sx-open) / (var(--sx-open) + 3));
	display: flex;
	flex-direction: column;
	padding: clamp(28px, 3vw, 40px);
	opacity: 0;
	transform: translateY(14px);
	pointer-events: none;
	transition:
		opacity 0.3s var(--ease),
		transform 0.5s var(--ease);
}
.sx-p.is-open .sx-in {
	opacity: 1;
	transform: none;
	pointer-events: auto;
	transition-delay: 0.32s;
}
.sx-top {
	display: flex;
	align-items: center;
	gap: 14px;
}
.sx-top .sx-ic {
	background: rgba(255, 255, 255, 0.14);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}
.sx-top span {
	font: 400 12px/1 var(--font-mono);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.78);
}
.sx-in h3 {
	margin-top: 28px;
	max-width: 15ch;
	font: 400 clamp(1.9rem, 2.9vw, 2.6rem)/1.08 var(--font-display);
	letter-spacing: -0.035em;
	text-wrap: balance;
}
.sx-in > p {
	margin-top: 14px;
	max-width: 44ch;
	color: rgba(255, 255, 255, 0.78);
	font-size: 16px;
	line-height: 1.65;
}
.sx-links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin-top: auto;
	padding-top: 24px;
}
.sx-links a {
	position: relative;
	display: block;
	padding: 13px 40px 13px 15px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.08);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
	transition:
		background 0.25s,
		box-shadow 0.25s,
		transform 0.35s var(--ease);
}
.sx-links a:hover {
	background: rgba(255, 255, 255, 0.17);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
	transform: translateY(-2px);
}
.sx-links b {
	display: block;
	font-weight: 400;
	font-size: 15px;
}
.sx-links small {
	display: block;
	margin-top: 3px;
	font-size: 12.5px;
	color: rgba(255, 255, 255, 0.66);
}
.sx-links svg {
	position: absolute;
	right: 14px;
	top: 50%;
	width: 14px;
	height: 14px;
	margin-top: -7px;
	transition: transform 0.3s var(--ease);
}
.sx-links a:hover svg {
	transform: translateX(3px);
}
.sx-links a.all {
	background: #fff;
	color: var(--ink);
	box-shadow: none;
}
.sx-links a.all small {
	color: var(--muted);
}

/* per-discipline visuals (top-right of an open panel) */
.sx-vis {
	position: absolute;
	top: clamp(28px, 3vw, 40px);
	right: clamp(28px, 3vw, 40px);
	width: 190px;
	height: 132px;
	pointer-events: none;
}
.sx-vis.v-ai svg {
	width: 100%;
	height: 100%;
}
.sx-vis.v-ai .e {
	stroke: rgba(255, 255, 255, 0.22);
}
.sx-vis.v-ai .f {
	stroke: #7fe3ff;
	stroke-dasharray: 4 10;
	animation: flow 1.4s linear infinite;
}
.sx-vis.v-ai .nd {
	fill: rgba(255, 255, 255, 0.12);
	stroke: rgba(255, 255, 255, 0.35);
}
.sx-vis.v-ai .core {
	fill: #fff;
}
.sx-vis.v-eng {
	padding: 12px 14px;
	border-radius: 14px;
	background: rgba(11, 22, 32, 0.45);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
	display: grid;
	gap: 9px;
	align-content: start;
}
.sx-vis.v-eng i {
	display: block;
	height: 7px;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.2);
	transform-origin: left;
	transform: scaleX(0);
	transition: transform 0.7s var(--ease);
}
.sx-vis.v-eng i:nth-child(3n + 1) {
	background: rgba(127, 227, 255, 0.55);
}
.sx-vis.v-eng i:nth-child(4n + 2) {
	background: rgba(255, 190, 152, 0.6);
}
.sx-p.is-open .sx-vis.v-eng i {
	transform: scaleX(1);
}
.sx-vis.v-eng i:nth-child(2) {
	transition-delay: 0.5s;
}
.sx-vis.v-eng i:nth-child(3) {
	transition-delay: 0.6s;
}
.sx-vis.v-eng i:nth-child(4) {
	transition-delay: 0.7s;
}
.sx-vis.v-eng i:nth-child(5) {
	transition-delay: 0.8s;
}
.sx-vis.v-eng i:nth-child(6) {
	transition-delay: 0.9s;
}
.sx-vis.v-eng i:nth-child(1) {
	transition-delay: 0.4s;
}
.sx-vis.v-des span {
	position: absolute;
	border-radius: 18px;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}
.sx-vis.v-des span:nth-child(1) {
	left: 10px;
	top: 14px;
	width: 92px;
	height: 92px;
	border-radius: 50%;
	background: rgba(255, 190, 152, 0.55);
	animation: bob 6s ease-in-out infinite;
}
.sx-vis.v-des span:nth-child(2) {
	left: 66px;
	top: 32px;
	width: 96px;
	height: 76px;
	background: rgba(255, 255, 255, 0.18);
	backdrop-filter: blur(6px);
	animation: bob 7s ease-in-out -2s infinite;
}
.sx-vis.v-des span:nth-child(3) {
	right: 0;
	top: 0;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: rgba(127, 227, 255, 0.5);
	animation: bob 5s ease-in-out -1s infinite;
}
.sx-vis.v-des svg {
	position: absolute;
	left: 124px;
	top: 86px;
	width: 20px;
	color: #fff;
}
.sx-vis.v-grw {
	display: flex;
	align-items: flex-end;
	gap: 8px;
}
.sx-vis.v-grw i {
	flex: 1;
	border-radius: 6px 6px 2px 2px;
	background: rgba(255, 255, 255, 0.22);
	transform-origin: bottom;
	transform: scaleY(0.1);
	transition: transform 1s var(--ease);
}
.sx-vis.v-grw i:last-child,
.sx-vis.v-grw i:nth-last-child(2) {
	background: linear-gradient(180deg, #7fffd0, rgba(255, 255, 255, 0.35));
}
.sx-p.is-open .sx-vis.v-grw i {
	transform: none;
}
.sx-vis.v-grw i:nth-child(2) {
	transition-delay: 0.45s;
}
.sx-vis.v-grw i:nth-child(3) {
	transition-delay: 0.5s;
}
.sx-vis.v-grw i:nth-child(4) {
	transition-delay: 0.55s;
}
.sx-vis.v-grw i:nth-child(5) {
	transition-delay: 0.6s;
}
.sx-vis.v-grw i:nth-child(6) {
	transition-delay: 0.65s;
}
.sx-vis.v-grw i:nth-child(1) {
	transition-delay: 0.4s;
}
.sx-foot {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	margin-top: 22px;
	font-size: 14px;
	color: var(--muted);
}
.sx-foot .dots {
	display: flex;
	gap: 6px;
}
.sx-foot .dots i {
	width: 22px;
	height: 4px;
	border-radius: 4px;
	background: var(--line-strong);
	transition:
		background 0.3s,
		width 0.4s var(--ease);
}
.sx-foot .dots i.on {
	width: 40px;
	background: var(--ink);
}

/* ==========================================================
   WHAT WE BELIEVE, stacking principle cards (from About)
   ========================================================== */
.ab-head {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	gap: 24px clamp(40px, 7vw, 120px);
	align-items: end;
	margin-bottom: clamp(40px, 4.9vw, 60px);
}
.ab-head .h2 {
	margin-top: 20px;
	max-width: 20ch;
}
.ab-head .lead {
	line-height: 1.7;
}
.ab-values {
	background: var(--white);
}
.ab-v-stack {
	display: grid;
	gap: 24px;
}
.ab-v-card {
	position: sticky;
	top: calc(var(--header-h) + 32px + var(--i) * 18px);
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: clamp(32px, 6vw, 96px);
	align-items: center;
	min-height: 340px;
	padding: clamp(24px, 3.5vw, 52px);
	border-radius: 28px;
	overflow: hidden;
	transform-origin: center top;
	background: linear-gradient(150deg, color-mix(in srgb, var(--tone) 11%, #fff) 0%, #fff 60%);
	box-shadow:
		var(--shadow-md),
		0 0 0 1px color-mix(in srgb, var(--tone) 20%, transparent);
	will-change: transform;
}
.ab-v-card::after {
	content: '';
	position: absolute;
	right: -120px;
	bottom: -160px;
	width: 420px;
	height: 420px;
	border-radius: 50%;
	border: 1px solid color-mix(in srgb, var(--tone) 22%, transparent);
	box-shadow:
		0 0 0 50px color-mix(in srgb, var(--tone) 4%, transparent),
		0 0 0 100px color-mix(in srgb, var(--tone) 2.5%, transparent);
	pointer-events: none;
}
.ab-v-idx {
	display: block;
	margin-bottom: 20px;
	font: 400 12px/1 var(--font-mono);
	letter-spacing: 0.08em;
	color: var(--subtle);
}
.ab-v-word {
	font: 400 clamp(3rem, 6.5vw, 5.5rem)/1 var(--font-display);
	letter-spacing: -0.04em;
	padding-bottom: 0.08em;
	background: linear-gradient(135deg, var(--tone), var(--tone-2));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.ab-v-card h3 {
	position: relative;
	font: 400 clamp(1.5rem, 2.4vw, 2rem)/1.25 var(--font-display);
	letter-spacing: -0.02em;
}
.ab-v-card p {
	position: relative;
	margin-top: 18px;
	color: var(--muted);
	font-size: 17px;
	line-height: 1.75;
	max-width: 44ch;
}

/* ==========================================================
   AI LAB (interactive demos)
   ========================================================== */
.lab {
	background: var(--cloud-dancer);
}
.lab-grid {
	display: grid;
	grid-template-columns: 1fr 1.15fr;
	gap: clamp(32px, 5vw, 72px);
	align-items: start;
}
.lab-tabs {
	display: grid;
	gap: 8px;
}
.lab-tab {
	display: grid;
	grid-template-columns: 44px 1fr;
	gap: 16px;
	align-items: start;
	text-align: left;
	padding: 18px;
	border-radius: 16px;
	border: 0;
	background: transparent;
	cursor: pointer;
	transition:
		background 0.3s,
		box-shadow 0.3s;
}
.lab-tab:hover {
	background: rgba(255, 255, 255, 0.5);
}
.lab-tab.is-active {
	background: var(--white);
	box-shadow:
		var(--shadow-md),
		0 0 0 1px var(--line);
}
.lab-tab .tile-ic {
	width: 44px;
	height: 44px;
}
.lab-tab b {
	display: block;
	font: 400 18px/1.2 var(--font-display);
	letter-spacing: -0.015em;
}
.lab-tab small {
	display: block;
	margin-top: 4px;
	color: var(--muted);
	font-size: 14.5px;
}
.lab-tab:not(.is-active) .tile-ic {
	background: rgba(16, 24, 32, 0.06);
	color: var(--muted);
}
.lab-dots {
	display: none;
}
@media (max-width: 760px) {
	/* phones: bot cards become a swipeable row; the card in view drives the demo */
	.lab-grid {
		gap: 20px;
	}
	.lab-tabs {
		position: relative;
		display: flex;
		gap: 12px;
		margin: 0 calc(var(--gutter) * -1);
		padding: 14px var(--gutter) 24px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding: 0 var(--gutter);
		overscroll-behavior-x: contain;
		scrollbar-width: none;
	}
	.lab-tabs::-webkit-scrollbar {
		display: none;
	}
	.lab-tab {
		flex: 0 0 80%;
		scroll-snap-align: start;
		scroll-snap-stop: always;
		grid-template-columns: 40px 1fr;
		gap: 12px;
		padding: 16px;
		background: rgba(255, 255, 255, 0.6);
		box-shadow: 0 0 0 1px var(--line);
	}
	.lab-tab:hover {
		background: rgba(255, 255, 255, 0.6);
	}
	.lab-tab.is-active {
		background: var(--white);
		box-shadow:
			var(--shadow-md),
			0 0 0 1.5px color-mix(in srgb, var(--blue) 45%, transparent);
	}
	.lab-tab .tile-ic {
		width: 40px;
		height: 40px;
	}
	.lab-tab b {
		font-size: 17px;
	}
	.lab-tab small {
		font-size: 13.5px;
		line-height: 1.45;
	}
	.lab-dots {
		display: flex;
		justify-content: center;
		gap: 6px;
		margin-top: -8px;
	}
	.lab-dots i {
		width: 6px;
		height: 6px;
		border-radius: 6px;
		background: rgba(16, 24, 32, 0.18);
		transition:
			width 0.35s var(--ease),
			background 0.35s;
	}
	.lab-dots i.on {
		width: 22px;
		background: var(--blue);
	}
}
.demo {
	position: sticky;
	top: calc(var(--header-h) + 24px);
}
.demo .chat {
	min-height: 380px;
}
.demo .msg {
	white-space: pre-line;
}
.typing {
	display: inline-flex;
	gap: 4px;
	padding: 14px 16px;
}
.typing i {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--subtle);
	animation: blink 1.2s infinite;
}
.typing i:nth-child(2) {
	animation-delay: 0.15s;
}
.typing i:nth-child(3) {
	animation-delay: 0.3s;
}
@keyframes blink {
	0%,
	60%,
	100% {
		opacity: 0.25;
		transform: none;
	}
	30% {
		opacity: 1;
		transform: translateY(-3px);
	}
}
.demo-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 18px;
	font-size: 13px;
	color: var(--muted);
}

/* ==========================================================
   INDUSTRIES (pinned horizontal scroll)
   ========================================================== */
.industries {
	position: relative;
/*	padding-top: 56px;*/
}
.ind-sticky {
	position: sticky;
	top: 0;
	height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	overflow-x: clip;
}
.ind-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px;
	margin-bottom: 48px;
}
.ind-count {
	font: 400 13px/1 var(--font-mono);
	color: var(--muted);
}
.ind-count b {
	color: var(--ink);
	font-weight: 400;
}
.ind-track {
	display: flex;
	gap: 20px;
	width: max-content;
	padding: 0 max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
	will-change: transform;
}
.ind-card {
	--glow: var(--cyan);
	position: relative;
	overflow: hidden;
	isolation: isolate;
	flex: 0 0 320px;
	height: 360px;
	padding: 28px;
	border-radius: var(--radius);
	display: flex;
	flex-direction: column;
	background: linear-gradient(
		165deg,
		color-mix(in srgb, var(--glow) 16%, #fff) 0%,
		color-mix(in srgb, var(--glow) 5%, #fff) 60%,
		#fff 100%
	);
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--glow) 28%, transparent);
	transition:
		transform 0.5s var(--ease),
		box-shadow 0.5s var(--ease),
		color 0.4s var(--ease);
}

.ind-card::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background: linear-gradient(
		160deg,
		color-mix(in srgb, var(--glow) 86%, #0b1620) 0%,
		color-mix(in srgb, var(--glow) 55%, #0b1620) 100%
	);
	clip-path: inset(100% 0 0 0);
	transition: clip-path 0.55s var(--ease);
}
.ind-card:hover {
	transform: translateY(-8px);
	color: #fff;
	box-shadow: 0 24px 48px -20px color-mix(in srgb, var(--glow) 70%, transparent);
}
.ind-card:hover::before {
	clip-path: inset(0 0 0 0);
}
.ind-card .ind-img {
	width: 64px;
	height: 64px;
	padding: 4px;
	border-radius: 18px;
	background: #fff;
	box-shadow: var(--shadow-md);
}
.ind-card img {
	width: 56px;
	height: 56px;
	border-radius: 14px;
	object-fit: cover;
}
.ind-card .num {
	position: absolute;
	top: 24px;
	right: 28px;
	font: 400 44px/1 var(--font-display);
	letter-spacing: -0.04em;
	color: color-mix(in srgb, var(--glow) 60%, #101820);
	opacity: 0.55;
	transition: color 0.4s;
}
.ind-card:hover .num {
	color: #fff;
}
.ind-card h3 {
	margin-top: auto;
	font: 400 1.5rem/1.15 var(--font-display);
	letter-spacing: -0.025em;
}
.ind-card p {
	margin-top: 10px;
	color: var(--muted);
	font-size: 15px;
	transition: color 0.4s;
}
.ind-card:hover p {
	color: rgba(255, 255, 255, 0.85);
}
.ind-card .ind-tag {
	align-self: flex-start;
	margin-top: 18px;
	padding: 6px 12px;
	border-radius: 999px;
	font: 400 11px/1 var(--font-mono);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--glow) 70%, #101820);
	background: color-mix(in srgb, var(--glow) 14%, #fff);
	transition:
		background 0.4s,
		color 0.4s;
}
.ind-card:hover .ind-tag {
	background: rgba(255, 255, 255, 0.18);
	color: #fff;
}
.ind-card .ind-img {
	transition: transform 0.5s var(--ease);
}
.ind-card:hover .ind-img {
	transform: scale(1.06) rotate(-4deg);
}

/* ==========================================================
   HOW WE WORK, pinned scroll story with a live "workspace" stage
   ========================================================== */
.flow {
	position: relative;
	background: var(--white);
}
.flow[data-step='0'] {
	--tone: #0072ce;
	--tone-2: #00b5e2;
}
.flow[data-step='1'] {
	--tone: #6667ab;
	--tone-2: #0072ce;
}
.flow[data-step='2'] {
	--tone: #0f4c81;
	--tone-2: #00b5e2;
}
.flow[data-step='3'] {
	--tone: #00a676;
	--tone-2: #0072ce;
}
.flow-pin {
	position: sticky;
	top: 0;
	height: 100vh;
	min-height: 680px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	overflow: hidden;
	padding-top: var(--header-h);
	isolation: isolate;
}
.flow-glow {
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
}
.flow-glow i {
	position: absolute;
	width: 900px;
	height: 900px;
	right: -260px;
	top: 50%;
	margin-top: -450px;
	border-radius: 50%;
	opacity: 0;
	transition: opacity 0.9s var(--ease);
}
.flow-glow i:nth-child(1) {
	background: radial-gradient(closest-side, rgba(0, 114, 206, 0.14), transparent);
}
.flow-glow i:nth-child(2) {
	background: radial-gradient(closest-side, rgba(102, 103, 171, 0.16), transparent);
}
.flow-glow i:nth-child(3) {
	background: radial-gradient(closest-side, rgba(0, 181, 226, 0.15), transparent);
}
.flow-glow i:nth-child(4) {
	background: radial-gradient(closest-side, rgba(0, 166, 118, 0.14), transparent);
}
.flow[data-step='0'] .flow-glow i:nth-child(1),
.flow[data-step='1'] .flow-glow i:nth-child(2),
.flow[data-step='2'] .flow-glow i:nth-child(3),
.flow[data-step='3'] .flow-glow i:nth-child(4) {
	opacity: 1;
}

.flow-head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px 48px;
}
.flow-head .h2 {
	margin-top: 16px;
	max-width: 18ch;
	font-size: clamp(2rem, 3.6vw, 3rem);
}
.flow-meter {
	width: min(320px, 100%);
}
.flow-meter-top {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	font: 400 12px/1 var(--font-mono);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--subtle);
}
.flow-meter-top b {
	font-weight: 400;
	color: var(--tone);
	transition: color 0.5s;
}
.flow-track {
	position: relative;
	height: 2px;
	margin-top: 14px;
	border-radius: 2px;
	background: var(--line-strong);
	overflow: hidden;
}
.flow-track i {
	position: absolute;
	inset: 0;
	transform-origin: left;
	transform: scaleX(0);
	background: linear-gradient(90deg, var(--tone), var(--tone-2));
}
.flow-ticks {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	margin-top: 10px;
	font: 400 11px/1 var(--font-mono);
	color: var(--subtle);
}
.flow-ticks span {
	transition: color 0.4s;
}
.flow-ticks span.on {
	color: var(--ink);
}

.flow-grid {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: clamp(40px, 6vw, 96px);
	align-items: center;
	margin-top: clamp(28px, 5vh, 40px);
}

/* step list */
.fs {
	position: relative;
	display: block;
	width: 100%;
	text-align: left;
	padding: 18px 0 18px 28px;
	border: 0;
	border-top: 1px solid var(--line);
	background: none;
	cursor: pointer;
}
.fs:last-child {
	border-bottom: 1px solid var(--line);
}
.fs::before {
	content: '';
	position: absolute;
	left: 0;
	top: 18px;
	bottom: 18px;
	width: 2px;
	border-radius: 2px;
	background: var(--line);
}
.fs-fill {
	position: absolute;
	left: 0;
	top: 18px;
	width: 2px;
	height: 0;
	max-height: calc(100% - 36px);
	border-radius: 2px;
	background: linear-gradient(180deg, var(--tone), var(--tone-2));
}
.fs-head {
	display: flex;
	align-items: baseline;
	gap: 16px;
}
.fs-num {
	font: 400 12px/1 var(--font-mono);
	color: var(--subtle);
	transition: color 0.4s;
}
.fs h3 {
	font: 400 clamp(1.25rem, 2vw, 1.6rem)/1.15 var(--font-display);
	letter-spacing: -0.025em;
	color: var(--subtle);
	transition: color 0.4s;
}
.fs:hover h3 {
	color: var(--ink-2);
}
.fs.is-active .fs-num {
	color: var(--tone);
}
.fs.is-active h3 {
	color: var(--ink);
}
.fs-body {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.6s var(--ease);
}
.fs.is-active .fs-body {
	grid-template-rows: 1fr;
}
.fs-body > div {
	overflow: hidden;
}
.fs-body p {
	padding: 10px 0 0 28px;
	color: var(--muted);
	font-size: 15.5px;
	max-width: 44ch;
}
.fs-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 14px 0 4px 28px;
}
.fs-tags span {
	padding: 6px 11px;
	border-radius: 999px;
	font: 400 11.5px/1 var(--font-mono);
	color: color-mix(in srgb, var(--tone) 75%, #101820);
	background: color-mix(in srgb, var(--tone) 10%, #fff);
}

/* stage */
.stage {
	position: relative;
	width: 100%;
	aspect-ratio: 5 / 4;
	max-height: 62vh;
	margin-left: auto;
	border-radius: 26px;
	background: var(--white);
	overflow: hidden;
	box-shadow:
		var(--shadow-lg),
		0 0 0 1px var(--line);
}
.stage-bar {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 12px;
	height: 48px;
	padding: 0 18px;
	border-bottom: 1px solid var(--line);
	background: var(--white);
	font: 400 12.5px/1 var(--font-mono);
	color: var(--muted);
}
.stage-bar .dots {
	display: flex;
	gap: 6px;
}
.stage-bar .dots i {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #e4e1db;
}
.stage-title {
	position: relative;
	flex: 1;
	height: 14px;
	overflow: hidden;
}
.stage-title span {
	position: absolute;
	left: 0;
	top: 0;
	transform: translateY(110%);
	transition: transform 0.5s var(--ease);
}
.stage-title span.on {
	transform: none;
}
.stage-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 10px;
	border-radius: 999px;
	color: var(--tone);
	background: color-mix(in srgb, var(--tone) 10%, #fff);
	transition:
		color 0.5s,
		background 0.5s;
}
.stage-pill::before {
	content: '';
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
	animation: pulse 1.8s infinite;
}
.stage-body {
	position: absolute;
	inset: 48px 0 0;
	background-image: radial-gradient(rgba(16, 24, 32, 0.07) 1px, transparent 1px);
	background-size: 20px 20px;
}
.scene {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition:
		opacity 0.45s var(--ease),
		visibility 0.45s;
}
.scene.is-active {
	opacity: 1;
	visibility: visible;
}
.scene [data-d] {
	transition:
		transform 0.8s var(--ease),
		opacity 0.6s var(--ease);
}
.scene.is-active [data-d='1'] {
	transition-delay: 0.08s;
}
.scene.is-active [data-d='2'] {
	transition-delay: 0.16s;
}
.scene.is-active [data-d='3'] {
	transition-delay: 0.24s;
}
.scene.is-active [data-d='4'] {
	transition-delay: 0.32s;
}
.scene.is-active [data-d='5'] {
	transition-delay: 0.4s;
}
.scene.is-active [data-d='6'] {
	transition-delay: 0.48s;
}
.bar {
	display: block;
	height: 8px;
	border-radius: 6px;
	background: #e9e7e2;
}
.bar.t {
	background: color-mix(in srgb, var(--tone) 30%, #fff);
}

/* scene 1, discover: research notes */
.note {
	position: absolute;
	width: 38%;
	padding: 16px;
	border-radius: 14px;
	background: #fff;
	box-shadow:
		var(--shadow-md),
		0 0 0 1px var(--line);
	opacity: 0;
	transform: translateY(24px) scale(0.96);
}
.note small {
	display: block;
	font: 400 10.5px/1 var(--font-mono);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--tone);
}
.note b {
	display: block;
	margin-top: 10px;
	font: 400 15px/1.3 var(--font-display);
	letter-spacing: -0.01em;
}
.note .bar {
	margin-top: 10px;
}
.note.n1 {
	left: 7%;
	top: 10%;
}
.note.n2 {
	right: 7%;
	top: 18%;
}
.note.n3 {
	left: 22%;
	bottom: 10%;
}
.scene.is-active .note.n1 {
	opacity: 1;
	transform: rotate(-3deg);
}
.scene.is-active .note.n2 {
	opacity: 1;
	transform: rotate(2.5deg);
}
.scene.is-active .note.n3 {
	opacity: 1;
	transform: rotate(-1deg);
}
.lens {
	position: absolute;
	width: 96px;
	height: 96px;
	border-radius: 50%;
	left: 46%;
	top: 40%;
	border: 2px solid var(--tone);
	background: color-mix(in srgb, var(--tone) 8%, transparent);
	backdrop-filter: blur(1px);
	opacity: 0;
}
.lens::after {
	content: '';
	position: absolute;
	width: 40px;
	height: 2px;
	right: -34px;
	bottom: 4px;
	background: var(--tone);
	transform: rotate(45deg);
	border-radius: 2px;
}
.scene.is-active .lens {
	opacity: 1;
	animation: scan 6s var(--ease) infinite;
}
@keyframes scan {
	0%,
	100% {
		transform: translate(0, 0);
	}
	30% {
		transform: translate(-150px, -90px);
	}
	60% {
		transform: translate(120px, -40px);
	}
}
.insight {
	position: absolute;
	right: 7%;
	bottom: 12%;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	border-radius: 12px;
	color: #fff;
	font-size: 13px;
	font-weight: 400;
	background: linear-gradient(135deg, var(--tone), var(--tone-2));
	box-shadow: 0 12px 24px -12px var(--tone);
	opacity: 0;
	transform: translateY(16px);
}
.scene.is-active .insight {
	opacity: 1;
	transform: none;
}

/* scene 2, design: wireframe assembles */
.wire {
	position: absolute;
	inset: 15% 9% 8%;
	display: grid;
	grid-template-rows: auto 1fr auto;
	gap: 14px;
}
.wire .w {
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 0 0 1px var(--line-strong);
	opacity: 0;
}
.w-nav {
	height: 30px;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 0 12px;
	transform: translate(-60px, -30px) rotate(-6deg);
}
.w-nav .bar {
	width: 44px;
	height: 6px;
}
.w-nav .bar.t {
	margin-left: auto;
	width: 60px;
	height: 14px;
	border-radius: 999px;
}
.w-hero {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 14px;
	padding: 16px;
	transform: translate(50px, 40px) rotate(4deg);
}
.w-hero .copy {
	display: grid;
	gap: 8px;
	align-content: center;
}
.w-hero .copy .bar:nth-child(1) {
	height: 14px;
	width: 90%;
}
.w-hero .copy .bar:nth-child(2) {
	height: 14px;
	width: 65%;
}
.w-hero .copy .btnb {
	width: 84px;
	height: 24px;
	margin-top: 6px;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--tone), var(--tone-2));
}
.w-hero .img {
	border-radius: 8px;
	background: linear-gradient(
		135deg,
		color-mix(in srgb, var(--tone) 22%, #fff),
		color-mix(in srgb, var(--tone-2) 22%, #fff)
	);
}
.w-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	background: none;
	box-shadow: none;
}
.w-cards span {
	height: 64px;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 0 0 1px var(--line-strong);
	padding: 12px;
	display: grid;
	gap: 6px;
	align-content: start;
}
.w-cards span::before {
	content: '';
	width: 18px;
	height: 18px;
	border-radius: 6px;
	background: color-mix(in srgb, var(--tone) 25%, #fff);
}
.w-cards {
	transform: translate(-40px, 50px) rotate(-3deg);
}
.scene.is-active .wire .w {
	opacity: 1;
	transform: none;
}
.cursor {
	position: absolute;
	left: 70%;
	top: 70%;
	width: 22px;
	color: var(--ink);
	opacity: 0;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}
.scene.is-active .cursor {
	opacity: 1;
	animation: point 4.5s var(--ease) 0.8s infinite;
}
@keyframes point {
	0%,
	100% {
		transform: translate(0, 0);
	}
	40%,
	60% {
		transform: translate(-200px, -62px);
	}
	50% {
		transform: translate(-200px, -62px) scale(0.85);
	}
}
.swatches {
	position: absolute;
	right: 9%;
	top: 3.5%;
	display: flex;
	gap: 4px;
	padding: 6px;
	border-radius: 12px;
	background: #fff;
	box-shadow:
		var(--shadow-md),
		0 0 0 1px var(--line);
	opacity: 0;
	transform: translateY(-12px);
}
.swatches i {
	width: 18px;
	height: 18px;
	border-radius: 6px;
}
.scene.is-active .swatches {
	opacity: 1;
	transform: none;
}

/* scene 3, build: code + terminal */
.editor {
	position: absolute;
	left: 6%;
	top: 8%;
	width: 60%;
	bottom: 8%;
	padding: 18px;
	border-radius: 14px;
	background: #fff;
	box-shadow:
		var(--shadow-md),
		0 0 0 1px var(--line);
	display: grid;
	gap: 11px;
	align-content: start;
}
.editor .ln {
	display: flex;
	gap: 10px;
	align-items: center;
}
.editor .ln em {
	width: 16px;
	font: 400 10px/1 var(--font-mono);
	font-style: normal;
	color: var(--subtle);
	text-align: right;
}
.editor .ln .bar {
	transform-origin: left;
	transform: scaleX(0);
}
.scene.is-active .editor .ln .bar {
	transform: scaleX(1);
}
.editor .k {
	background: color-mix(in srgb, var(--peri) 40%, #fff);
}
.editor .s {
	background: color-mix(in srgb, var(--mint) 40%, #fff);
}
.editor .f {
	background: color-mix(in srgb, var(--cyan) 40%, #fff);
}
.term {
	position: absolute;
	right: 6%;
	bottom: 10%;
	width: 46%;
	padding: 16px 18px;
	border-radius: 14px;
	background: var(--ink);
	color: #c9ced6;
	box-shadow: var(--shadow-lg);
	font: 400 12px/1.9 var(--font-mono);
	opacity: 0;
	transform: translateY(24px);
}
.term div {
	opacity: 0;
}
.term .ok {
	color: #3ee0a8;
}
.term .dim {
	color: #6f7883;
}
.scene.is-active .term {
	opacity: 1;
	transform: none;
}
.scene.is-active .term div {
	animation: fadeIn 0.3s forwards;
}
.scene.is-active .term div:nth-child(1) {
	animation-delay: 0.5s;
}
.scene.is-active .term div:nth-child(2) {
	animation-delay: 1.1s;
}
.scene.is-active .term div:nth-child(3) {
	animation-delay: 1.6s;
}
.scene.is-active .term div:nth-child(4) {
	animation-delay: 2.3s;
}

/* scene 4, scale: growth */
.growth {
	position: absolute;
	left: 6%;
	right: 6%;
	bottom: 8%;
	height: 58%;
	padding: 16px 16px 8px;
	border-radius: 14px;
	background: #fff;
	box-shadow:
		var(--shadow-md),
		0 0 0 1px var(--line);
}
.growth small {
	font: 400 10.5px/1 var(--font-mono);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--subtle);
}
.growth svg {
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 8px;
	width: calc(100% - 24px);
	height: 78%;
}
.growth .gl {
	stroke-dasharray: 800;
	stroke-dashoffset: 800;
}
.scene.is-active .growth .gl {
	transition: stroke-dashoffset 1.8s var(--ease) 0.2s;
	stroke-dashoffset: 0;
}
.growth .ga {
	opacity: 0;
	transition: opacity 0.8s 1.2s;
}
.scene.is-active .growth .ga {
	opacity: 1;
}
.kpi {
	position: absolute;
	top: 8%;
	padding: 14px 16px;
	border-radius: 14px;
	background: #fff;
	box-shadow:
		var(--shadow-md),
		0 0 0 1px var(--line);
	opacity: 0;
	transform: translateY(20px);
}
.kpi small {
	display: block;
	font: 400 10.5px/1 var(--font-mono);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--subtle);
}
.kpi b {
	display: block;
	margin-top: 8px;
	font: 400 26px/1 var(--font-display);
	letter-spacing: -0.03em;
}
.kpi b em {
	font-style: normal;
	font: 400 12px/1 var(--font-mono);
	color: #00905f;
	margin-left: 6px;
}
.kpi {
	width: 27%;
}
.kpi.k1 {
	left: 6%;
}
.kpi.k2 {
	left: 36.5%;
}
.kpi.k3 {
	right: 6%;
}
.scene.is-active .kpi {
	opacity: 1;
	transform: none;
}

/* ==========================================================
   STACK
   ========================================================== */
.stack-rows {
	display: grid;
	gap: 16px;
}
.chip-logo {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	height: 60px;
	margin-right: 14px;
	padding: 0 22px 0 14px;
	border-radius: 16px;
	background: var(--white);
	box-shadow: 0 0 0 1px var(--line);
	font: 400 15px/1 var(--font-body);
	white-space: nowrap;
}
.chip-logo img {
	width: 30px;
	height: 30px;
	object-fit: contain;
}

/* ==========================================================
   TESTIMONIALS
   ========================================================== */
.t-nav {
	display: flex;
	gap: 10px;
}
.t-nav button {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 0;
	cursor: pointer;
	display: grid;
	place-items: center;
	background: var(--white);
	box-shadow: inset 0 0 0 1px var(--line-strong);
	transition:
		box-shadow 0.25s,
		background 0.25s,
		color 0.25s;
}
.t-nav button:hover {
	background: var(--ink);
	color: #fff;
	box-shadow: none;
}
.t-nav svg {
	width: 16px;
	height: 16px;
}
.t-track {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	cursor: grab;
	padding: 16px max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))) 32px;
	scroll-padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
}
.t-track::-webkit-scrollbar {
	display: none;
}
.t-track.dragging {
	cursor: grabbing;
	scroll-snap-type: none;
}
.t-track.dragging * {
	user-select: none;
	pointer-events: none;
}
.t-card {
	flex: 0 0 min(420px, 84vw);
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	padding: 32px;
	border-radius: var(--radius);
	background: var(--white);
	box-shadow: 0 0 0 1px var(--line);
	transition:
		box-shadow 0.4s,
		transform 0.4s var(--ease);
}
.t-card:hover {
	transform: translateY(-4px);
	box-shadow:
		var(--shadow-md),
		0 0 0 1px var(--line);
}
.t-card > svg {
	width: 28px;
	height: 28px;
	color: var(--blue);
}
.t-card blockquote {
	margin-top: 20px;
	font-size: 17px;
	line-height: 1.6;
	color: var(--ink-2);
}
.t-card figcaption {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: auto;
	padding-top: 28px;
}
.avatar {
	width: 44px;
	height: 44px;
	flex: none;
	border-radius: 50%;
	display: grid;
	place-items: center;
	color: #fff;
	font: 400 15px/1 var(--font-display);
	background: var(--av, var(--grad));
}
.t-card b {
	display: block;
	font-weight: 400;
	font-size: 15px;
}
.t-card small {
	display: block;
	color: var(--muted);
	font-size: 13.5px;
}

/* ==========================================================
   FAQ
   ========================================================== */
.faq-grid {
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: clamp(40px, 6vw, 96px);
	align-items: start;
}
.faq-grid .lead {
	margin-top: 18px;
}
.faq-grid .link-arrow {
	margin-top: 24px;
}
.faq details {
	border-bottom: 1px solid var(--line-strong);
}
.faq summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	padding: 24px 0;
	cursor: pointer;
	list-style: none;
	font: 400 1.15rem/1.3 var(--font-display);
	letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker {
	display: none;
}
.faq summary i {
	position: relative;
	flex: none;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px var(--line-strong);
	transition:
		background 0.3s,
		transform 0.4s var(--ease);
}
.faq summary i::before,
.faq summary i::after {
	content: '';
	position: absolute;
	left: 50%;
	top: 50%;
	width: 10px;
	height: 1.5px;
	background: currentColor;
	transform: translate(-50%, -50%);
}
.faq summary i::after {
	transform: translate(-50%, -50%) rotate(90deg);
}
.faq details[open] summary i {
	background: var(--ink);
	color: #fff;
	box-shadow: none;
	transform: rotate(45deg);
}
.faq details p {
	padding: 0 48px 24px 0;
	color: var(--muted);
	animation: fadeDown 0.4s var(--ease);
}
@keyframes fadeDown {
	from {
		opacity: 0;
		transform: translateY(-6px);
	}
}

/* ==========================================================
   CTA
   ========================================================== */
.cta {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: clamp(44px, 6.3vw, 88px) clamp(24px, 6vw, 80px);
	border-radius: 28px;
	text-align: center;
	color: #fff;
	background: var(--blue-deep);
}
.cta .mesh span {
	opacity: 0.8;
}
.cta .mesh .b4 {
	opacity: 0.55;
}
.cta .eyebrow {
	color: rgba(255, 255, 255, 0.8);
}
.cta h2 {
	max-width: 15ch;
	margin: 22px auto 0;
	font: 400 clamp(2.25rem, 5.6vw, 4.5rem)/1 var(--font-display);
	letter-spacing: -0.045em;
}
.cta p {
	max-width: 46ch;
	margin: 22px auto 0;
	color: rgba(255, 255, 255, 0.8);
	font-size: 17px;
}
.cta-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 40px;
}
.btn-white {
	background: #fff;
	color: var(--ink);
}
.btn-white:hover {
	background: var(--paper);
	box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.35);
}
.btn-glass {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
	backdrop-filter: blur(8px);
}
.btn-glass:hover {
	background: rgba(255, 255, 255, 0.2);
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1000px) {
	.slide {
		grid-template-columns: 1fr;
	}
	.slide-visual {
		max-width: 560px;
	}
	.float.f-bl {
		left: 8px;
	}
	.float.f-tr {
		right: 8px;
	}
	.hero-tabs small {
		display: none;
	}
	.stats {
		grid-template-columns: repeat(2, 1fr);
	}
	.statement-wrap {
		grid-template-columns: 1fr;
		gap: 24px;
	}
	/* services: stacked accordion */
	.sx {
		flex-direction: column;
		height: auto;
	}
	.sx-p {
		flex: none;
		min-height: 84px;
		transition: box-shadow 0.5s var(--ease);
	}
	.sx-rail {
		position: relative;
		flex-direction: row;
		justify-content: flex-start;
		gap: 16px;
		height: 84px;
		padding: 0 22px;
	}
	.sx-rail h3 {
		writing-mode: horizontal-tb;
		transform: none;
		font-size: 1.3rem;
	}
	.sx-rail h3 small {
		margin: 0 0 0 10px;
	}
	.sx-rail .sx-ic {
		order: -1;
		width: 42px;
		height: 42px;
	}
	.sx-rail .n {
		margin-left: auto;
		order: 2;
	}
	.sx-p.is-open .sx-rail {
		display: none;
	}
	.sx-p:not(.is-open) .sx-in {
		display: none;
	}
	.sx-in {
		position: relative;
		width: auto;
	}
	.sx-in h3 {
		max-width: 18ch;
	}
	.sx-vis {
		display: none;
	}
	.sx-links {
		margin-top: 28px;
	}
	.ab-head {
		grid-template-columns: 1fr;
		align-items: start;
	}
	.ab-v-card {
		grid-template-columns: 1fr;
		min-height: 0;
		gap: 24px;
	}
	.ph-stage {
		height: 460px;
	}
	.t-growth {
		flex-direction: column;
		align-items: flex-start;
	}
	.lab-grid {
		grid-template-columns: 1fr;
	}
	.demo {
		position: relative;
		top: 0;
	}
	.faq-grid {
		grid-template-columns: 1fr;
	}
	/* how we work: no pinning */
	.flow {
		height: auto !important;
	}
	.flow-pin {
		position: relative;
		height: auto;
		min-height: 0;
		padding: var(--section) 0;
	}
	.flow-grid {
		grid-template-columns: 1fr;
	}
	.stage {
		order: -1;
		max-height: none;
		aspect-ratio: 4 / 3.2;
	}
	/* industries fall back to native horizontal scroll */
	.industries {
		height: auto !important;
		padding-top: 0;
	}
	.ind-sticky {
		position: relative;
		height: auto;
		padding: var(--section) 0;
	}
	.ind-track {
		overflow-x: auto;
		width: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		padding-top: 16px;
		padding-bottom: 32px;
		transform: none !important;
	}
	.ind-track::-webkit-scrollbar {
		display: none;
	}
	.ind-card {
		scroll-snap-align: center;
		flex-basis: 280px;
		height: auto;
		min-height: 340px;
	}
}
@media (max-width: 640px) {
	/* two buttons side by side, the call button full width underneath */
	.slide-ctas {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 10px;
		margin-top: 28px;
	}
	.slide-ctas .btn {
		min-width: 0;
		padding: 0 14px;
		white-space: nowrap;
	}
	.slide-ctas .btn-call {
		grid-column: 1 / -1;
		justify-content: center;
	}
	.hero-tabs {
		gap: 10px;
		margin-top: 40px;
	}
	.hero-tab {
		min-height: 44px;
	}
	.hero-tab .track {
		height: 3px;
		margin-bottom: 10px;
	}
	.hero-tab span {
		font-size: 11px;
	}
	.hero-tab b {
		margin-top: 6px;
		font-size: 12.5px;
		line-height: 1.25;
	}
	.hero-tab:not(.is-active) b {
		color: var(--muted);
	}
	.sx-links {
		grid-template-columns: 1fr;
	}
	.ab-v-card {
		position: relative;
		top: 0;
	}
	.ph-stage {
		height: 400px;
	}
	.iphone,
	.iphone.ph-back {
		width: 176px;
	}
	.iphone.ph-back {
		margin-left: -180px;
	}
	.iphone.ph-front {
		margin-left: 135px;
	}
	.hero-tab small {
		display: none;
	}

	.kpis b,
	.metrics b {
		font-size: 18px;
	}
	.kpis div,
	.metrics div {
		padding: 14px;
	}
	.float {
		display: none;
	}
	.ind-count {
		display: none;
	}
	.faq details p {
		padding-right: 0;
	}
	.stage {
		aspect-ratio: 1 / 1.08;
	}
	.note {
		width: 46%;
		padding: 12px;
	}
	.note b {
		font-size: 13px;
	}
	.kpi {
		padding: 10px 12px;
	}
	.kpi b {
		font-size: 18px;
	}
	.editor {
		width: 72%;
	}
	.term {
		width: 62%;
		font-size: 11px;
	}
	.flow-meter {
		display: none;
	}
	.lens {
		width: 64px;
		height: 64px;
	}
	/* Selected work: compact result cards (portfolio keeps the full version) */
	#work .rs-cases {
		gap: 64px;
	}
	#work .rs-case {
		gap: 22px;
	}
	#work .rs-shot-view {
		aspect-ratio: 16 / 9;
	}
	#work .rs-graph,
	#work .rs-case:nth-child(even) .rs-graph {
		margin: -12% 0 0 8%;
		border-radius: 18px;
	}
	#work .rs-g-bar {
		height: 38px;
		padding: 0 14px;
		font-size: 10.5px;
	}
	#work .rs-g-bar .dots {
		display: none;
	}
	#work .rs-g-body {
		padding: 16px;
	}
	#work .rs-g-head b {
		margin-top: 6px;
		font-size: 1.9rem;
	}
	#work .rs-legend,
	#work .rs-tip,
	#work .rs-vit p.sc,
	#work .rs-split small,
	#work .rs-donut-c small {
		display: none;
	}
	#work .rs-rows {
		gap: 12px;
		margin-top: 14px;
	}
	#work .rs-row-top {
		font-size: 13px;
	}
	#work .rs-track {
		height: 8px;
		margin-top: 6px;
	}
	#work .rs-track span {
		display: none;
	}
	#work .rs-donut-wrap {
		grid-template-columns: 96px minmax(0, 1fr);
		justify-items: stretch;
		gap: 16px;
		margin-top: 14px;
	}
	#work .rs-donut {
		max-width: 96px;
	}
	#work .rs-donut-c b {
		font-size: 1.05rem;
	}
	#work .rs-split li {
		gap: 8px;
		padding: 7px 0;
		font-size: 13px;
	}
	#work .rs-split li b {
		font-size: 15px;
	}
	#work .rs-line {
		margin-top: 10px;
	}
	#work .rs-vit {
		gap: 12px;
		margin-top: 14px;
	}
	#work .rs-vit p {
		font-size: 13px;
	}
	#work .rs-who h3 {
		font-size: 1.35rem;
	}
	#work .rs-line-h {
		margin-top: 14px;
		font-size: 1.05rem;
	}
	#work .rs-kpis {
		margin-top: 16px;
	}
	#work .rs-ro {
		margin-top: 16px;
	}
	#work .rs-ro div:not(:last-child) {
		display: none;
	}
	#work .rs-ro div:last-child {
		border-top: 0;
		padding-top: 0;
	}
	#work .rs-ro dd {
		font-size: 14.5px;
	}
	.stats {
		gap: 10px;
	}
	.stat {
		padding: 18px 16px;
		border-radius: 18px;
	}
	.stat-ic {
		width: 34px;
		height: 34px;
	}
	.stat-k {
		font-size: 10px;
		letter-spacing: 0.05em;
	}
	.stat-num {
		margin-top: 18px;
		font-size: 2.4rem;
	}
	.stat-label {
		margin-top: 10px;
		font-size: 15px;
	}
	.stat-desc {
		font-size: 13px;
	}
	.demo .chat {
		min-height: 300px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.marquee-track {
		animation: none;
		flex-wrap: wrap;
		width: auto;
		justify-content: center;
	}
	.ab-v-card {
		position: relative;
		top: 0;
	}
	.sx-p,
	.sx-in {
		transition: none;
	}
}
