/* VARKORA — operations software for construction, logistics & real estate.
   Visual system from razzo-strategy/01_ecosystem/DESIGN_SYSTEM_SPEC.md (E.3,
   "Systems"): steel base, pale industrial surface, slate secondary, teal
   accent. IBM Plex keeps it distinct from the RAZZO hub (Six Caps). */

:root {
	--steel: #152B3E;
	--steel-deep: #0E2132;
	--steel-line: rgba(236, 241, 244, 0.12);
	--surface: #ECF1F4;
	--slate: #748796;
	--teal: #398CA0;
	--teal-bright: #5FB3C6;
	--ink: #152B3E;
	--white: #FFFFFF;
	--ok: #4FB38A;
	--font: 'IBM Plex Sans', system-ui, sans-serif;
	--mono: 'IBM Plex Mono', ui-monospace, monospace;
	--radius: 14px;
}

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--surface);
	background: var(--steel);
	-webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }

:focus-visible { outline: 2px solid var(--teal-bright); outline-offset: 3px; }

.wrap {
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 32px;
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 24px;
	border-radius: 10px;
	border: 1px solid transparent;
	font-weight: 500;
	font-size: 15px;
	transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.btn--primary { background: var(--surface); color: var(--steel); }
.btn--primary:hover { background: var(--white); transform: translateY(-1px); }

.btn--ghost { border-color: rgba(236, 241, 244, 0.28); color: var(--surface); }
.btn--ghost:hover { border-color: var(--teal-bright); color: var(--white); }

.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }

/* ---------- Eyebrow + status dot ---------- */
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--mono);
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--teal-bright);
}

.eyebrow--dark { color: var(--teal); }

.dot {
	position: relative;
	display: inline-block;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--ok);
	flex: none;
}

.dot::after {
	content: "";
	position: absolute;
	inset: -4px;
	border-radius: 50%;
	border: 1px solid var(--ok);
	animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
	0% { transform: scale(0.5); opacity: 0.9; }
	70%, 100% { transform: scale(1.8); opacity: 0; }
}

/* ---------- Nav ---------- */
.nav {
	position: sticky;
	top: 0;
	z-index: 20;
	background: rgba(21, 43, 62, 0.82);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--steel-line);
}

.nav-inner {
	display: flex;
	align-items: center;
	gap: 32px;
	height: 68px;
}

.logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
	font-size: 15px;
	letter-spacing: 0.28em;
}

.logo-mark {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: var(--teal-bright);
	stroke-width: 1.6;
}

.logo-mark circle { fill: var(--steel); }

.nav-links {
	display: flex;
	gap: 26px;
	margin-left: auto;
	font-size: 14px;
	color: rgba(236, 241, 244, 0.72);
}

.nav-links a:hover { color: var(--white); }

/* ---------- Hero ---------- */
.hero {
	position: relative;
	overflow: hidden;
	padding: 88px 0 104px;
	/* Blueprint grid + teal glow. */
	background-image:
		radial-gradient(55% 60% at 78% 35%, rgba(57, 140, 160, 0.22), transparent 70%),
		linear-gradient(rgba(236, 241, 244, 0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(236, 241, 244, 0.045) 1px, transparent 1px);
	background-size: 100% 100%, 40px 40px, 40px 40px;
}

.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: 64px;
	align-items: center;
}

.hero h1 {
	margin-top: 22px;
	font-size: clamp(40px, 5vw, 66px);
	line-height: 1.04;
	letter-spacing: -0.025em;
	font-weight: 600;
	color: var(--white);
}

.hero h1 span { display: block; color: var(--teal-bright); }

.hero-sub {
	max-width: 520px;
	margin-top: 22px;
	font-size: 18px;
	line-height: 1.6;
	color: rgba(236, 241, 244, 0.78);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 34px;
}

.hero-micro {
	margin-top: 14px;
	font-family: var(--mono);
	font-size: 12px;
	color: var(--slate);
}

/* ---------- Console (illustrative product UI) ---------- */
.console {
	position: relative;
	border: 1px solid var(--steel-line);
	border-radius: var(--radius);
	background: linear-gradient(180deg, rgba(14, 33, 50, 0.96), rgba(14, 33, 50, 0.88));
	box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(95, 179, 198, 0.06) inset;
	overflow: hidden;
}

/* Scan line that crosses the console on each solution change. */
.console::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent, rgba(95, 179, 198, 0.12), transparent) no-repeat;
	background-size: 100% 28%;
	background-position: 0 -40%;
	pointer-events: none;
	z-index: 2;
}

.console.is-switching::before { animation: scan 1s ease-out; }

@keyframes scan { to { background-position: 0 140%; } }

.console-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 14px;
	border-bottom: 1px solid var(--steel-line);
}

.console-tabs { display: flex; gap: 4px; }

.console-tabs button {
	padding: 7px 12px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: rgba(236, 241, 244, 0.6);
	font-family: var(--mono);
	font-size: 12px;
	cursor: pointer;
	transition: background-color 0.25s ease, color 0.25s ease;
}

.console-tabs button:hover { color: var(--white); }

.console-tabs button[aria-selected="true"] {
	background: rgba(95, 179, 198, 0.14);
	color: var(--white);
}

.console-status {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--mono);
	font-size: 11px;
	color: rgba(236, 241, 244, 0.6);
	white-space: nowrap;
}

.console-body {
	position: relative;
	/* Bottom padding reserves a lane for the toast under the KPIs. */
	padding: 22px 22px 82px;
}

.console-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	margin-bottom: 18px;
}

.console-title { font-weight: 600; font-size: 17px; color: var(--white); }
.console-id { font-family: var(--mono); font-size: 12px; color: var(--slate); }

.console-flow {
	position: relative;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Vertical rail behind the steps. */
.console-flow::before {
	content: "";
	position: absolute;
	left: 11px;
	top: 14px;
	bottom: 14px;
	width: 1px;
	background: var(--steel-line);
}

.flow-step {
	position: relative;
	display: grid;
	grid-template-columns: 24px 1fr auto;
	align-items: center;
	gap: 14px;
	padding: 10px 0;
	color: rgba(236, 241, 244, 0.55);
	transition: color 0.4s ease;
}

.flow-node {
	position: relative;
	z-index: 1;
	width: 23px;
	height: 23px;
	border-radius: 50%;
	border: 1px solid rgba(236, 241, 244, 0.25);
	background: var(--steel-deep);
	transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.flow-node::after {
	content: "";
	position: absolute;
	left: 7px;
	top: 5px;
	width: 5px;
	height: 9px;
	border: solid var(--steel-deep);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg) scale(0);
	transition: transform 0.3s ease 0.1s;
}

.flow-label { font-size: 15px; }

.flow-meta {
	font-family: var(--mono);
	font-size: 11px;
	padding: 3px 8px;
	border-radius: 6px;
	border: 1px solid var(--steel-line);
	color: var(--slate);
	transition: all 0.4s ease;
}

.flow-step.is-done { color: var(--surface); }
.flow-step.is-done .flow-node { background: var(--teal); border-color: var(--teal); }
.flow-step.is-done .flow-node::after { transform: rotate(45deg) scale(1); }
.flow-step.is-done .flow-meta { color: var(--teal-bright); border-color: rgba(95, 179, 198, 0.35); }

.flow-step.is-active { color: var(--white); }
.flow-step.is-active .flow-node {
	border-color: var(--teal-bright);
	box-shadow: 0 0 0 4px rgba(95, 179, 198, 0.16);
}
.flow-step.is-active .flow-meta { color: var(--white); border-color: var(--teal-bright); }

.console-kpis {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
	margin-top: 20px;
}

.kpi {
	padding: 12px 14px;
	border: 1px solid var(--steel-line);
	border-radius: 10px;
	background: rgba(236, 241, 244, 0.03);
}

.kpi-value { display: block; font-weight: 600; font-size: 20px; color: var(--white); font-variant-numeric: tabular-nums; }
.kpi-label { display: block; margin-top: 2px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.04em; color: var(--slate); }

.console-toast {
	position: absolute;
	right: 22px;
	bottom: 20px;
	display: flex;
	align-items: center;
	gap: 10px;
	max-width: 78%;
	padding: 11px 14px;
	border-radius: 10px;
	background: var(--surface);
	color: var(--steel);
	font-size: 13px;
	font-weight: 500;
	box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.5);
	opacity: 0;
	transform: translateY(12px);
	transition: opacity 0.4s ease, transform 0.4s ease;
}

.console-toast i {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--teal);
	flex: none;
}

.console-toast.is-visible { opacity: 1; transform: none; }

.console-caption {
	margin-top: 10px;
	text-align: right;
	font-family: var(--mono);
	font-size: 10.5px;
	letter-spacing: 0.06em;
	color: var(--slate);
}

/* ---------- Sections ---------- */
.section { padding: 112px 0; }

.section--light { background: var(--surface); color: var(--ink); }

.section h2 {
	margin-top: 16px;
	max-width: 760px;
	font-size: clamp(32px, 3.6vw, 48px);
	line-height: 1.1;
	letter-spacing: -0.02em;
	font-weight: 600;
}

.section-intro {
	max-width: 620px;
	margin-top: 18px;
	font-size: 18px;
	color: #3C5568;
}

/* ---------- Solutions ---------- */
.solutions {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin-top: 56px;
}

.solution {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 30px 28px 26px;
	border: 1px solid #D5DFE6;
	border-radius: var(--radius);
	background: var(--white);
	overflow: hidden;
	transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.3s ease, box-shadow 0.4s ease;
}

/* Teal rail that draws across the top on hover. */
.solution::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	height: 3px;
	width: 100%;
	background: var(--teal);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.solution:hover {
	transform: translateY(-4px);
	border-color: #B8CAD5;
	box-shadow: 0 30px 50px -36px rgba(21, 43, 62, 0.45);
}

.solution:hover::before { transform: scaleX(1); }

.solution-icon {
	width: 48px;
	height: 48px;
	display: grid;
	place-items: center;
	border-radius: 12px;
	background: rgba(57, 140, 160, 0.1);
}

.solution-icon svg {
	width: 26px;
	height: 26px;
	fill: none;
	stroke: var(--teal);
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.solution-brand {
	margin-top: 24px;
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.24em;
	color: var(--slate);
}

.solution h3 {
	margin-top: 4px;
	font-size: 28px;
	line-height: 1.15;
	letter-spacing: -0.015em;
	font-weight: 600;
}

.solution > p:not(.solution-brand) {
	margin-top: 12px;
	color: #3C5568;
}

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 20px 0 26px;
	padding: 0;
	list-style: none;
}

.chips li {
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--surface);
	font-family: var(--mono);
	font-size: 11.5px;
	color: #3C5568;
}

.solution-cta {
	margin-top: auto;
	padding-top: 18px;
	border-top: 1px solid #E1E8ED;
	font-weight: 500;
	color: var(--steel);
}

.solution-cta span { display: inline-block; transition: transform 0.3s ease; }
.solution:hover .solution-cta span { transform: translateX(5px); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.nav-links { display: none; }
	.nav-inner { justify-content: space-between; }
	.hero-grid { grid-template-columns: 1fr; gap: 48px; }
	.solutions { grid-template-columns: 1fr; max-width: 640px; }
}

@media (max-width: 600px) {
	.wrap { padding: 0 20px; }
	.hero { padding: 56px 0 72px; }
	.hero-sub { font-size: 16px; }
	.hero-actions .btn { width: 100%; }
	.console-bar { flex-direction: column; align-items: flex-start; }
	.console-tabs { width: 100%; overflow-x: auto; }
	.console-body { padding: 18px 16px 84px; }
	.console-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
	.kpi { padding: 10px; }
	.kpi-value { font-size: 17px; }
	.console-toast { left: 16px; right: 16px; bottom: 18px; max-width: none; }
	.section { padding: 80px 0; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	html { scroll-behavior: auto; }
}


/* =====================================================================
   V4: full landing
   ===================================================================== */

.skip {
	position: absolute;
	left: -9999px;
	top: 8px;
	z-index: 50;
	padding: 10px 14px;
	border-radius: 8px;
	background: var(--surface);
	color: var(--steel);
}
.skip:focus { left: 8px; }

.section--white { background: var(--white); color: var(--ink); }
.section--dark { background: var(--steel); color: var(--surface); }
.section--deep { background: var(--steel-deep); color: var(--surface); }
.section--dark .section-intro,
.section--deep .section-intro { color: rgba(236, 241, 244, 0.75); }
.section--dark h2, .section--deep h2 { color: var(--white); }

/* Entrance: elements fade up once when they enter the viewport. */
/* Only hidden when JS is running (html.js, set inline in <head>), so the
   content never disappears if the script fails. */
.reveal { transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal:not(.is-in) { opacity: 0; transform: translateY(18px); }

/* ---------- Problem ---------- */
.split {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: 64px;
	align-items: start;
}

.pains {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.pain {
	padding: 26px 24px;
	border: 1px solid #DCE4EA;
	border-radius: var(--radius);
	background: linear-gradient(180deg, #FFFFFF, #F6F9FB);
}

.pain:nth-child(2) { transition-delay: 0.08s; }
.pain:nth-child(3) { transition-delay: 0.16s; }
.pain:nth-child(4) { transition-delay: 0.24s; }

.pain-index { font-family: var(--mono); font-size: 12px; color: var(--teal); }
.pain h3 { margin-top: 14px; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.pain p { margin-top: 8px; color: #3C5568; font-size: 15.5px; }

.callout {
	position: relative;
	max-width: 860px;
	margin-top: 64px;
	padding-left: 28px;
	font-size: clamp(20px, 2.2vw, 26px);
	line-height: 1.45;
	font-weight: 500;
	color: var(--ink);
}

.callout::before {
	content: "";
	position: absolute;
	left: 0;
	top: 6px;
	bottom: 6px;
	width: 3px;
	border-radius: 3px;
	background: var(--teal);
}

.callout--small { font-size: 18px; font-weight: 400; color: #3C5568; }

/* ---------- Platform ---------- */
.platform-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: 64px;
	align-items: start;
}

.platform-head { position: sticky; top: 110px; }

.core-diagram { width: 100%; max-width: 420px; margin-top: 44px; }
.core-link { fill: none; stroke: rgba(95, 179, 198, 0.55); stroke-width: 1.5; stroke-dasharray: 4 7; animation: flow 1.6s linear infinite; }
.core-link--out { stroke: var(--teal-bright); }
.core-node rect { fill: rgba(236, 241, 244, 0.04); stroke: var(--steel-line); }
.core-node--out rect { stroke: rgba(95, 179, 198, 0.5); }
.core-node text, .core-hub text { fill: rgba(236, 241, 244, 0.8); font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-anchor: middle; }
.core-hub circle { fill: rgba(57, 140, 160, 0.18); stroke: var(--teal-bright); stroke-width: 1.5; animation: glow 3s ease-in-out infinite; }
.core-hub text { fill: var(--white); font-weight: 500; }

@keyframes flow { to { stroke-dashoffset: -22; } }
@keyframes glow { 0%, 100% { stroke-opacity: 1; } 50% { stroke-opacity: 0.4; } }

.pillars {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.pillar {
	padding: 26px 24px;
	border: 1px solid var(--steel-line);
	border-radius: var(--radius);
	background: rgba(236, 241, 244, 0.03);
	transition: border-color 0.3s ease, background-color 0.3s ease, opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.pillar:hover { border-color: rgba(95, 179, 198, 0.45); background: rgba(95, 179, 198, 0.06); }

.pillar svg { width: 26px; height: 26px; fill: none; stroke: var(--teal-bright); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pillar h3 { margin-top: 16px; font-size: 18px; font-weight: 600; color: var(--white); }
.pillar p { margin-top: 8px; font-size: 15px; color: rgba(236, 241, 244, 0.72); }

/* ---------- Steps ---------- */
.steps {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	margin: 56px 0 0;
	padding: 0;
	list-style: none;
}

/* Connecting rail behind the step numbers. */
.steps::before {
	content: "";
	position: absolute;
	left: 22px;
	right: 22px;
	top: 22px;
	height: 1px;
	background: linear-gradient(90deg, var(--teal), #C9D6DE);
}

.step { position: relative; }
.step:nth-child(2) { transition-delay: 0.1s; }
.step:nth-child(3) { transition-delay: 0.2s; }
.step:nth-child(4) { transition-delay: 0.3s; }

.step-index {
	position: relative;
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--steel);
	color: var(--white);
	font-family: var(--mono);
	font-size: 13px;
}

.step-time {
	display: block;
	margin-top: 22px;
	font-family: var(--mono);
	font-size: 12px;
	color: var(--teal);
}

.step h3 { margin-top: 6px; font-size: 20px; font-weight: 600; }
.step p { margin-top: 8px; color: #3C5568; font-size: 15.5px; }

/* ---------- Proof ---------- */
.proof-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	gap: 64px;
	align-items: center;
}

.proof-context { margin-top: 22px; font-size: 18px; color: rgba(236, 241, 244, 0.8); }
.proof-built { margin-top: 14px; color: rgba(236, 241, 244, 0.72); }
.proof-built strong { color: var(--white); font-weight: 600; }

.proof-list { margin: 26px 0 0; padding: 0; list-style: none; }
.proof-list li { position: relative; padding: 10px 0 10px 30px; border-top: 1px solid var(--steel-line); }
.proof-list li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 18px;
	width: 12px;
	height: 7px;
	border: solid var(--teal-bright);
	border-width: 0 0 2px 2px;
	transform: rotate(-45deg);
}

.proof-note { margin-top: 22px; font-family: var(--mono); font-size: 11px; color: var(--slate); }

.dash {
	border: 1px solid var(--steel-line);
	border-radius: var(--radius);
	background: var(--surface);
	color: var(--ink);
	overflow: hidden;
	box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7);
}

.dash-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 14px 18px;
	background: var(--white);
	border-bottom: 1px solid #DCE4EA;
	font-weight: 600;
	font-size: 14px;
}

.dash-chip { font-family: var(--mono); font-size: 11px; font-weight: 400; padding: 3px 8px; border-radius: 6px; background: rgba(57, 140, 160, 0.12); color: #2A6E7F; }

.dash-table { padding: 8px 18px; }
.dash-row { display: grid; grid-template-columns: 1.4fr 1fr 0.9fr; gap: 14px; align-items: center; padding: 11px 0; border-bottom: 1px solid #DCE4EA; font-size: 13.5px; }
.dash-row--head { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate); }

.bar { height: 6px; border-radius: 6px; background: #D5DFE6; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: 6px; background: var(--teal); transition: width 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) 0.3s; }
.dash.is-in .bar i { width: var(--w); }

.pill { justify-self: start; font-family: var(--mono); font-size: 11px; padding: 3px 8px; border-radius: 6px; background: #E1E8ED; color: #3C5568; }
.pill--ok { background: rgba(79, 179, 138, 0.15); color: #2D7A5B; }
.pill--warn { background: rgba(214, 145, 60, 0.15); color: #9A5B14; }

.dash-chart { padding: 16px 18px 18px; }
.dash-chart-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate); }
.cols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; align-items: end; height: 110px; margin-top: 12px; }
.cols i { display: block; height: 0; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--teal), #2A6E7F); transition: height 1.1s cubic-bezier(0.2, 0.7, 0.2, 1); }
.dash.is-in .cols i { height: var(--h); }
.dash.is-in .cols i:nth-child(2) { transition-delay: 0.1s; }
.dash.is-in .cols i:nth-child(3) { transition-delay: 0.2s; }
.dash.is-in .cols i:nth-child(4) { transition-delay: 0.3s; }
.dash.is-in .cols i:nth-child(5) { transition-delay: 0.4s; }
.cols-x { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 8px; font-family: var(--mono); font-size: 10.5px; color: var(--slate); text-align: center; }

/* ---------- Why ---------- */
.why {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
	margin-top: 52px;
}

.why-item { padding-top: 22px; border-top: 2px solid var(--steel); }
.why-item:nth-child(2) { transition-delay: 0.06s; }
.why-item:nth-child(3) { transition-delay: 0.12s; }
.why-item:nth-child(4) { transition-delay: 0.18s; }
.why-item:nth-child(5) { transition-delay: 0.24s; }
.why-item h3 { font-size: 18px; font-weight: 600; }
.why-item p { margin-top: 8px; font-size: 15px; color: #3C5568; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 64px; }

.faq details { border-bottom: 1px solid #DCE4EA; }
.faq details:first-child { border-top: 1px solid #DCE4EA; }

.faq summary {
	position: relative;
	padding: 20px 40px 20px 0;
	list-style: none;
	cursor: pointer;
	font-weight: 500;
	font-size: 17px;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
	content: "";
	position: absolute;
	right: 8px;
	top: 50%;
	width: 10px;
	height: 10px;
	margin-top: -7px;
	border: solid var(--teal);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
	transition: transform 0.3s ease;
}

.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 40px 22px 0; color: #3C5568; }

/* ---------- CTA + form ---------- */
.cta {
	background-image:
		radial-gradient(50% 70% at 15% 30%, rgba(57, 140, 160, 0.2), transparent 70%),
		linear-gradient(rgba(236, 241, 244, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(236, 241, 244, 0.04) 1px, transparent 1px);
	background-size: 100% 100%, 40px 40px, 40px 40px;
}

.cta-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.cta-copy .btn { margin-top: 30px; }

.form {
	padding: 30px;
	border: 1px solid var(--steel-line);
	border-radius: var(--radius);
	background: rgba(14, 33, 50, 0.7);
}

.form-title { font-weight: 600; font-size: 18px; color: var(--white); margin-bottom: 18px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.field { display: block; margin-bottom: 14px; }
.field span { display: block; margin-bottom: 6px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em; color: rgba(236, 241, 244, 0.7); }

.field input,
.field select,
.field textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid rgba(236, 241, 244, 0.18);
	border-radius: 10px;
	background: rgba(236, 241, 244, 0.04);
	color: var(--white);
	font: inherit;
	font-size: 15px;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23ECF1F4' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.field select option { background: var(--steel); }
.field textarea { resize: vertical; min-height: 110px; }

.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--teal-bright); background: rgba(95, 179, 198, 0.06); }

.field.is-invalid input,
.field.is-invalid textarea { border-color: #E08A6D; }

.btn--block { width: 100%; margin-top: 4px; }
.form.is-sending .btn--block { opacity: 0.6; cursor: progress; }

.form-status { min-height: 22px; margin-top: 12px; font-size: 14px; color: var(--teal-bright); }
.form-status.is-error { color: #F0A58A; }
.form-note { font-size: 12.5px; color: var(--slate); }
.form-note a { color: rgba(236, 241, 244, 0.85); text-decoration: underline; }

.form.is-sent .field, .form.is-sent .field-row, .form.is-sent .btn--block { display: none; }

/* ---------- Footer ---------- */
.footer { padding: 40px 0; background: var(--steel-deep); border-top: 1px solid var(--steel-line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.footer-owners { font-size: 14px; color: rgba(236, 241, 244, 0.7); }
.footer-links { display: flex; gap: 22px; margin-left: auto; font-size: 14px; color: rgba(236, 241, 244, 0.7); }
.footer-links a:hover { color: var(--white); }
.footer-copy { width: 100%; font-family: var(--mono); font-size: 11px; color: var(--slate); }

/* ---------- Responsive (V4) ---------- */
@media (max-width: 1024px) {
	.split, .platform-grid, .proof-grid, .faq-grid, .cta-grid { grid-template-columns: 1fr; gap: 40px; }
	.platform-head { position: static; }
	.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
	.steps::before { display: none; }
	.why { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
}

@media (max-width: 600px) {
	.pains, .pillars, .steps, .why, .field-row { grid-template-columns: 1fr; }
	.form { padding: 22px 18px; }
	.dash-row { grid-template-columns: 1.3fr 0.8fr 1fr; font-size: 12.5px; gap: 10px; }
	.callout { margin-top: 44px; }
	.footer-links { margin-left: 0; flex-wrap: wrap; }
}

/* Contrast (WCAG AA) for small text: deeper teal on light backgrounds,
   lighter slate on dark ones. Same hues, readable at 11-12px. */
:root { --teal-text: #2A6E7F; --slate-light: #93A6B4; }
.eyebrow--dark, .pain-index, .step-time { color: var(--teal-text); }
.proof-note, .footer-copy, .hero-micro, .console-caption, .console-id, .kpi-label { color: var(--slate-light); }
