/* Connect design system.
   Grammar: Gilroy at weight 400 nearly everywhere (hierarchy from size, not
   boldness), ink #121212, Connect red as the only accent, gradient text
   reserved for stat numbers on dark grounds, small radii, airy sections
   alternating white and near-black. See CLAUDE.md. */

@font-face {
	font-family: 'Gilroy';
	font-weight: 800;
	font-style: normal;
	font-display: swap;
	src: url('/assets/fonts/gilroy-black-webfont.woff2') format('woff2'),
		url('/assets/fonts/gilroy-black-webfont.woff') format('woff');
}
@font-face {
	font-family: 'Gilroy';
	font-weight: 600;
	font-style: normal;
	font-display: swap;
	src: url('/assets/fonts/gilroy-bold-webfont.woff2') format('woff2'),
		url('/assets/fonts/gilroy-bold-webfont.woff') format('woff');
}
@font-face {
	font-family: 'Gilroy';
	font-weight: 400;
	font-style: normal;
	font-display: swap;
	src: url('/assets/fonts/gilroy-regular-webfont.woff2') format('woff2'),
		url('/assets/fonts/gilroy-regular-webfont.woff') format('woff');
}

:root {
	--ink: #121212;
	--ink-2: #75717c;
	--ink-3: #9c98a6;
	--paper: #ffffff;
	--tint: #f6f5f7;
	--line: #e7e4ea;
	--dark: #1e1d22;
	--dark-2: #28272e;
	--dark-line: #3a383f;
	--dark-text: #b6b2c0;
	--dark-text-2: #8d899a;
	--red: #ed1c24;
	--red-deep: #c4161c;
	--red-soft: #ff6b70;
	--orange: #ee8836;
	--purple: #833291;
	--blue: #4d9fd1;
	--green: #149c4e;
	--grad: linear-gradient(90deg, #ed1c24, #ff7aa8 52%, #ed1c24);
	--grad-dark: linear-gradient(90deg, #ffffff, #ff8a90 30%, #ffc2d4 55%, #ff8a90 78%, #ff6b70);
	--r-card: 16px;
	--r-btn: 10px;
	--r-chip: 8px;
	--maxw: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
	font-family: 'Gilroy', 'Helvetica Neue', Arial, sans-serif;
	font-weight: 400;
	background: var(--paper);
	color: var(--ink);
	line-height: 1.65;
	font-size: 16.5px;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img { max-width: 100%; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

h1, h2, h3 { text-wrap: balance; font-weight: 400; }

.skip-link {
	position: absolute;
	left: -999px;
	top: 0;
	background: var(--ink);
	color: #fff;
	padding: 10px 18px;
	z-index: 200;
}
.skip-link:focus { left: 0; }

.label {
	font-weight: 400;
	font-size: 0.95rem;
	color: var(--red);
	display: block;
	margin-bottom: 14px;
}
.on-dark .label { color: var(--red-soft); }

/* ---------- buttons ---------- */
.btn {
	display: inline-block;
	font-weight: 400;
	font-size: 0.94rem;
	text-decoration: none;
	border-radius: var(--r-btn);
	padding: 12px 20px;
	transition: background .2s, color .2s, border-color .2s;
	border: 1px solid transparent;
	cursor: pointer;
	font-family: inherit;
	line-height: 1.3;
}
.btn:focus-visible { outline: 3px solid rgba(237, 28, 36, .35); outline-offset: 2px; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover {
	background: var(--red-deep);
	transform: translateY(-1px);
	box-shadow: 0 10px 24px -10px rgba(237, 28, 36, 0.55);
}
.btn-ghost { border-color: rgba(255, 255, 255, 0.28); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); }
.btn-ghost-dark { border-color: #d6d2da; color: var(--ink); }
.btn-ghost-dark:hover { border-color: var(--ink); }

/* ---------- nav ---------- */
.nav {
	position: sticky;
	top: 0;
	z-index: 60;
	background: var(--dark);
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.nav-inner {
	max-width: var(--maxw);
	margin: 0 auto;
	padding: 18px 32px;
	display: flex;
	align-items: center;
	gap: 32px;
}
.nav-logo img { height: 24px; display: block; }
.nav-links {
	display: flex;
	gap: 28px;
	list-style: none;
	margin-left: auto;
}
.nav-links a {
	color: var(--dark-text);
	text-decoration: none;
	font-size: 0.92rem;
	transition: color .2s;
}
.nav-links a:hover, .nav-links a:focus-visible { color: #fff; }
.nav .btn { padding: 9px 16px; font-size: 0.88rem; }
.nav-burger {
	display: none;
	background: none;
	border: 0;
	cursor: pointer;
	padding: 8px;
	margin-left: auto;
}
.nav-burger span {
	display: block;
	width: 22px;
	height: 2px;
	background: #fff;
	margin: 5px 0;
	transition: transform .2s, opacity .2s;
}

@media (max-width: 900px) {
	.nav-links {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--dark);
		border-bottom: 1px solid var(--dark-line);
		flex-direction: column;
		gap: 0;
		padding: 10px 32px 20px;
		margin: 0;
	}
	.nav-links.open { display: flex; }
	.nav-links a { display: block; padding: 12px 0; font-size: 1rem; }
	.nav-burger { display: block; }
	.nav-cta { margin-left: auto; }
	.nav-burger { margin-left: 0; }
}

/* ---------- hero (homepage) ---------- */
.hero {
	background:
		radial-gradient(1100px 560px at 82% -12%, rgba(237, 28, 36, 0.22), transparent 62%),
		radial-gradient(800px 480px at -8% 112%, rgba(255, 122, 168, 0.1), transparent 60%),
		var(--dark);
	color: #fff;
	padding: 96px 0 72px;
	position: relative;
	overflow: hidden;
}
.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
	gap: 72px;
	align-items: center;
}
.hero h1 {
	font-size: clamp(2.6rem, 4.6vw, 3.9rem);
	line-height: 1.1;
	letter-spacing: -0.005em;
	margin: 4px 0 24px;
}
.hero h1 em {
	font-style: normal;
	background: var(--grad-dark);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	white-space: nowrap;
}
.hero p.sub {
	color: var(--dark-text);
	font-size: 1.14rem;
	line-height: 1.7;
	max-width: 33rem;
	margin-bottom: 36px;
}
.hero p.sub strong { color: #fff; font-weight: 400; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-proof { margin-top: 28px; font-size: 0.86rem; color: var(--dark-text-2); }

.hero .stagger { opacity: 0; transform: translateY(16px); animation: rise .7s cubic-bezier(.2, .7, .2, 1) forwards; }
.hero .stagger:nth-child(2) { animation-delay: .07s; }
.hero .stagger:nth-child(3) { animation-delay: .14s; }
.hero .stagger:nth-child(4) { animation-delay: .21s; }
.hero .stagger:nth-child(5) { animation-delay: .28s; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (max-width: 960px) {
	.hero-grid { grid-template-columns: 1fr; }
}

/* ---------- module page hero ---------- */
.mod-hero {
	background:
		radial-gradient(900px 480px at 85% -10%, rgba(237, 28, 36, 0.11), transparent 62%),
		var(--dark);
	color: #fff;
	padding: 88px 0 80px;
}
.mod-hero .wordmark { height: 30px; width: auto; margin-bottom: 26px; }
.mod-hero h1 {
	font-size: clamp(2.2rem, 4vw, 3.3rem);
	line-height: 1.12;
	letter-spacing: -0.005em;
	margin-bottom: 18px;
	max-width: 46rem;
}
.mod-hero p.sub {
	color: var(--dark-text);
	font-size: 1.12rem;
	line-height: 1.7;
	max-width: 36rem;
	margin-bottom: 32px;
}
.mod-hero .crumb {
	font-size: 0.85rem;
	color: var(--dark-text-2);
	margin-bottom: 22px;
}
.mod-hero .crumb a { color: var(--dark-text); text-decoration: none; }
.mod-hero .crumb a:hover { color: #fff; }

/* ---------- hero screenshot stack ---------- */
.shot-stack { position: relative; }
.shot-stack .shot-base {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 14px;
	box-shadow:
		0 0 0 10px rgba(255, 255, 255, 0.04),
		0 40px 80px -25px rgba(0, 0, 0, 0.6);
}
.shot-float {
	position: absolute;
	height: auto;
	border-radius: 10px;
	box-shadow: 0 24px 50px -12px rgba(0, 0, 0, 0.55);
	animation: bob 6s ease-in-out infinite alternate;
}
.shot-float.f1 { width: 46%; top: 13%; right: -6%; }
.shot-float.f2 { width: 29%; bottom: -9%; left: -5%; animation-duration: 7.5s; animation-delay: -3s; }
@keyframes bob {
	from { transform: translateY(-4px); }
	to { transform: translateY(5px); }
}

/* Variant for light sections (module pages) */
.shot-stack.on-light .shot-base {
	border: 1px solid var(--line);
	box-shadow: 0 30px 60px -28px rgba(18, 18, 18, 0.4);
}
.shot-stack.on-light .shot-float {
	border: 1px solid var(--line);
	box-shadow: 0 20px 40px -12px rgba(18, 18, 18, 0.35);
}
/* Fade the bottom edge when the capture is cut mid-content */
.shot-stack.fade-b .shot-base {
	-webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent);
	mask-image: linear-gradient(to bottom, #000 82%, transparent);
}
.shot-stack.fade-b { filter: drop-shadow(0 30px 50px rgba(18, 18, 18, 0.25)); }
.shot-stack.fade-b .shot-base { box-shadow: none; }

/* ---------- product mock: miniature of the real Connect dashboard ---------- */
.mock {
	background: #eef1f4;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--r-card);
	box-shadow:
		0 0 0 10px rgba(255, 255, 255, 0.04),
		0 40px 80px -25px rgba(0, 0, 0, 0.6);
	overflow: hidden;
	font-family: 'Segoe UI', system-ui, sans-serif;
	font-size: 9px;
	color: #33383d;
	line-height: 1.35;
}
.mk-top {
	display: flex;
	align-items: center;
	gap: 10px;
	background: #fff;
	border-bottom: 1px solid #e4e7ea;
	padding: 8px 12px;
}
.mk-top img { height: 13px; width: auto; }
.mk-bell {
	position: relative;
	width: 12px;
	height: 12px;
	border: 1.4px solid #c0392b;
	border-radius: 45% 45% 4px 4px;
	margin-left: 4px;
}
.mk-bell::after {
	content: '34';
	position: absolute;
	top: -6px;
	right: -8px;
	background: #e74c3c;
	color: #fff;
	font-size: 6px;
	font-weight: 600;
	border-radius: 8px;
	padding: 1px 3px;
	line-height: 1;
}
.mk-top .mk-title { font-size: 11px; font-weight: 600; color: #2c3e50; }
.mk-top .mk-search {
	margin-left: auto;
	border: 1px solid #dfe3e8;
	border-radius: 4px;
	color: #a6adb4;
	padding: 3px 8px;
	width: 30%;
}
.mk-body { display: grid; grid-template-columns: 118px 1fr; }
.mk-side { background: #34495e; color: #cdd6de; padding: 10px 8px; }
.mk-user { display: flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; font-size: 9px; margin-bottom: 8px; }
.mk-avatar {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #5d7a96;
	color: #fff;
	display: grid;
	place-items: center;
	font-size: 8px;
	font-weight: 600;
	border: 1.5px solid #fff;
	flex-shrink: 0;
}
.mk-select {
	background: #fff;
	color: #2c3e50;
	border-radius: 3px;
	padding: 3px 6px;
	margin-bottom: 4px;
	display: flex;
	justify-content: space-between;
}
.mk-select::after { content: '\25BE'; color: #7f8c9b; }
.mk-nav { margin-top: 8px; display: grid; gap: 1px; }
.mk-nav div {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 3.5px 6px;
	border-radius: 3px;
}
.mk-nav div::before { content: ''; width: 6px; height: 6px; border: 1px solid #8fa1b3; border-radius: 1.5px; flex-shrink: 0; }
.mk-nav div.on { background: rgba(255, 255, 255, 0.12); color: #fff; }
.mk-nav b {
	margin-left: auto;
	background: #e74c3c;
	color: #fff;
	font-size: 6.5px;
	font-weight: 600;
	border-radius: 7px;
	padding: 1px 4px;
	line-height: 1.2;
}
.mk-nav b.o { background: #f39c12; }
.mk-main { padding: 8px; display: grid; gap: 7px; align-content: start; }
.mk-filters {
	background: #fff;
	border-radius: 5px;
	padding: 7px 10px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
}
.mk-filters div { border-bottom: 1px solid #dfe3e8; padding-bottom: 3px; color: #2c3e50; }
.mk-filters i { display: block; font-style: normal; font-size: 6.5px; color: #a6adb4; }
.mk-filters div.dd::after { content: ' \25BE'; color: #7f8c9b; float: right; }
.mk-kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.mk-kpi {
	background: #fff;
	border-radius: 4px;
	border-left: 2.5px solid var(--kc, #3498db);
	padding: 7px 7px 6px;
	box-shadow: 0 1px 2px rgba(44, 62, 80, 0.06);
}
.mk-kpi .ic {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--kc, #3498db);
	display: inline-grid;
	place-items: center;
	float: left;
	margin-right: 5px;
}
.mk-kpi .ic::after { content: ''; width: 6px; height: 6px; background: #fff; border-radius: 1.5px; }
.mk-kpi b { font-size: 12px; font-weight: 700; color: #2c3e50; display: block; line-height: 1.1; }
.mk-kpi i { font-style: normal; font-size: 6px; text-transform: uppercase; letter-spacing: 0.03em; color: #8b939b; display: block; clear: none; }
.mk-panel { background: #fff; border-radius: 5px; padding: 8px 10px; box-shadow: 0 1px 2px rgba(44, 62, 80, 0.06); }
.mk-panel-h { font-size: 9.5px; font-weight: 700; color: #2c3e50; }
.mk-panel-h i { font-style: normal; font-weight: 400; font-size: 6.5px; color: #a6adb4; display: block; }
.mk-stats { display: flex; gap: 5px; margin-top: 6px; flex-wrap: wrap; }
.mk-stat {
	flex: 1;
	min-width: 48px;
	background: #f4f6f7;
	border: 1px solid #e8ebee;
	border-radius: 4px;
	text-align: center;
	padding: 5px 3px;
}
.mk-stat b { display: block; font-size: 11px; font-weight: 700; color: #2c3e50; }
.mk-stat i { font-style: normal; font-size: 5.5px; text-transform: uppercase; letter-spacing: 0.03em; color: #8b939b; }
.mk-gauges { display: flex; gap: 8px; justify-content: space-between; margin-top: 8px; }
.mk-gauge { text-align: center; flex: 1; }
.mk-arc {
	position: relative;
	width: 46px;
	height: 23px;
	margin: 0 auto;
	border-radius: 46px 46px 0 0;
	background: conic-gradient(from 270deg at 50% 100%, #c0392b 0 var(--deg, 0deg), #d5dade var(--deg, 0deg) 180deg, transparent 180deg 360deg);
}
.mk-arc::after {
	content: '';
	position: absolute;
	left: 7px;
	bottom: 0;
	width: 32px;
	height: 16px;
	border-radius: 32px 32px 0 0;
	background: #fff;
}
.mk-gauge .pc { font-size: 9px; font-weight: 700; color: #c0392b; margin-top: -13px; position: relative; }
.mk-gauge .of { font-size: 6px; color: #a6adb4; }
.mk-gauge .nm { font-size: 6.5px; font-weight: 600; color: #2c3e50; margin-top: 2px; }

@media (max-width: 960px) {
	.mock, .shot-stack { max-width: 560px; }
	.mk-side { display: none; }
	.mk-body { grid-template-columns: 1fr; }
	.shot-float.f1 { right: 0; }
	.shot-float.f2 { left: 0; }
}

/* ---------- stat band ---------- */
.stats-band { background: var(--dark); color: #fff; padding: 24px 0 80px; }
.stats-band .cap { color: #d9d6df; font-size: 1rem; margin-bottom: 36px; max-width: 30rem; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat { border-top: 1px solid var(--dark-line); padding-top: 26px; }
.stat .num {
	font-size: clamp(2.4rem, 4.2vw, 3.6rem);
	letter-spacing: -0.01em;
	line-height: 1.05;
	background: var(--grad-dark);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-variant-numeric: tabular-nums;
}
.stat .lbl { color: var(--dark-text); font-size: 0.92rem; margin-top: 8px; max-width: 15rem; }
@media (max-width: 860px) {
	.stats { grid-template-columns: 1fr 1fr; gap: 34px 22px; }
}

/* ---------- logo marquee ---------- */
.clients { padding: 64px 0 30px; background: var(--paper); }
.clients .cap { text-align: center; font-size: 0.9rem; color: var(--ink-3); margin-bottom: 30px; }
.marquee {
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
	display: flex;
	gap: 60px;
	width: max-content;
	animation: scroll 48s linear infinite;
	padding: 4px 0;
}
@keyframes scroll { to { transform: translateX(-50%); } }
.marquee-track span { font-size: 1.05rem; color: #918d9b; white-space: nowrap; }

/* ---------- generic sections ---------- */
section.block { padding: 104px 0; }
section.block.tinted { background: var(--tint); }
.block-head { max-width: 700px; margin-bottom: 60px; }
.block-head h2 {
	font-size: clamp(1.9rem, 3.4vw, 2.85rem);
	line-height: 1.16;
	letter-spacing: -0.01em;
	margin-bottom: 16px;
}
.block-head p { color: var(--ink-2); font-size: 1.08rem; }

/* ---------- problem cards ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pain {
	background: var(--tint);
	border: 1px solid var(--line);
	border-radius: var(--r-card);
	padding: 34px 30px;
}
.pain .glyph {
	width: 44px;
	height: 44px;
	border-radius: 11px;
	background: rgba(237, 28, 36, 0.08);
	display: grid;
	place-items: center;
	margin-bottom: 20px;
}
.pain .glyph svg { width: 21px; height: 21px; stroke: var(--red); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pain h3 { font-size: 1.18rem; margin-bottom: 10px; line-height: 1.35; }
.pain p { color: var(--ink-2); font-size: 0.95rem; }
.pivot {
	margin-top: 52px;
	font-size: clamp(1.35rem, 2.4vw, 1.85rem);
	line-height: 1.35;
	letter-spacing: -0.005em;
	max-width: 46rem;
}
.pivot em {
	font-style: normal;
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
@media (max-width: 860px) { .pain-grid { grid-template-columns: 1fr; } }

/* ---------- module overview cards (homepage) ---------- */
.mod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mod-card {
	background: #fff;
	border-radius: var(--r-card);
	padding: 34px 30px;
	text-decoration: none;
	color: var(--ink);
	display: flex;
	flex-direction: column;
	gap: 12px;
	border: 1px solid var(--line);
	box-shadow: 0 10px 30px -24px rgba(18, 18, 18, 0.35);
	transition: border-color .2s, transform .2s, box-shadow .2s;
	position: relative;
}
.mod-card:hover {
	border-color: var(--mc, var(--red));
	transform: translateY(-3px);
	box-shadow: 0 24px 45px -24px rgba(18, 18, 18, 0.3);
}
.mod-card::before {
	content: '';
	width: 22px;
	height: 4px;
	border-radius: 2px;
	background: var(--mc, var(--red));
	margin-bottom: 6px;
}
.mod-card img.wordmark { height: 22px; width: auto; max-width: 190px; object-fit: contain; object-position: left; }
.mod-card .strap { font-size: 1.12rem; line-height: 1.35; }
.mod-card p { color: var(--ink-2); font-size: 0.93rem; flex: 1; }
.mod-card .go { font-size: 0.9rem; color: var(--ink); }
.mod-card .go::after { content: ' \2192'; }
@media (max-width: 960px) { .mod-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .mod-grid { grid-template-columns: 1fr; } }

/* ---------- feature split (module pages) ---------- */
.feature-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: 60px;
	align-items: center;
}
.feature-split.flip { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.feature-split h2, .feature-split h3 {
	font-size: clamp(1.5rem, 2.4vw, 1.95rem);
	letter-spacing: -0.005em;
	line-height: 1.22;
	margin-bottom: 12px;
}
.feature-split p.lede { color: var(--ink-2); margin-bottom: 24px; }
.feature-split ul { list-style: none; margin-bottom: 30px; display: grid; gap: 12px; }
/* Bullets use padding + an absolute marker, not flex: flex turns the <strong>
   and the text after it into separate columns. */
.feature-split ul li { position: relative; padding-left: 20px; font-size: 0.97rem; color: var(--ink-2); }
.feature-split ul li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 9px;
	width: 7px;
	height: 7px;
	border-radius: 2px;
	background: var(--mc, var(--red));
}
.feature-split ul li strong { color: var(--ink); font-weight: 600; }
@media (max-width: 960px) {
	.feature-split, .feature-split.flip { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- light UI mock ---------- */
.ui {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 18px;
	font-size: 11px;
	box-shadow: 0 24px 50px -28px rgba(18, 18, 18, 0.35);
}
.ui .ui-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: var(--ink-2);
	margin-bottom: 12px;
	gap: 10px;
	flex-wrap: wrap;
}
.ui .chipset { display: flex; gap: 6px; }
.ui .chip { background: var(--tint); border-radius: 6px; padding: 3px 10px; color: var(--ink-2); }
.ui .chip.on { background: var(--ink); color: #fff; }
.ui .card-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.ui .mini { background: var(--tint); border-radius: 10px; padding: 12px; }
.ui .mini .k { color: var(--ink-3); }
.ui .mini .v { font-size: 16px; color: var(--ink); }
.ui table { width: 100%; border-collapse: collapse; }
.ui th, .ui td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--tint); color: var(--ink-2); }
.ui th { color: var(--ink-3); font-size: 10px; text-transform: uppercase; letter-spacing: 0.06em; }
.ui tr:last-child td { border-bottom: 0; }
.ui .st { border-radius: 6px; padding: 2px 9px; font-size: 10px; display: inline-block; }
.st.a { background: rgba(20, 156, 78, 0.1); color: var(--green); }
.st.b { background: rgba(238, 136, 54, 0.12); color: #c26a1e; }
.st.c { background: rgba(77, 159, 209, 0.12); color: #2f7fb3; }
.st.d { background: rgba(237, 28, 36, 0.08); color: var(--red-deep); }

/* ---------- journey rail ---------- */
.journey { background: var(--dark); color: #fff; padding: 96px 0; position: relative; overflow: hidden; }
.journey .rail { margin-top: 10px; }
.journey::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(900px 420px at 50% 125%, rgba(237, 28, 36, 0.1), transparent 65%);
}
.journey .block-head { position: relative; }
.journey .block-head h2 { color: #fff; }
.journey .block-head p { color: var(--dark-text); }
.rail { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.rail::before {
	content: '';
	position: absolute;
	top: 26px;
	left: 4%;
	right: 4%;
	height: 1px;
	background: linear-gradient(90deg, var(--orange), var(--purple), var(--blue), var(--green));
	opacity: 0.45;
}
.stage { position: relative; text-align: center; padding-top: 56px; }
.stage a { color: inherit; text-decoration: none; }
.stage .node {
	position: absolute;
	top: 10px;
	left: 50%;
	transform: translateX(-50%);
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--dark-2);
	border: 1px solid var(--sc, var(--red));
	box-shadow: 0 0 22px rgba(237, 28, 36, 0.18);
	display: grid;
	place-items: center;
}
.stage .node::after { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--sc, var(--red)); }
.stage h4 { font-weight: 400; font-size: 1.05rem; margin-bottom: 4px; }
.stage .mod { font-size: 0.76rem; color: var(--dark-text-2); letter-spacing: 0.03em; }
@media (max-width: 860px) {
	.rail { grid-template-columns: repeat(2, 1fr); gap: 26px 14px; }
	.rail::before { display: none; }
}

/* ---------- case study ---------- */
.case-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.case-video {
	aspect-ratio: 16 / 9;
	border-radius: var(--r-card);
	background: var(--dark);
	width: 100%;
	display: block;
	box-shadow: 0 30px 60px -30px rgba(18, 18, 18, 0.45);
}

/* Real application screenshots (drop files into assets/images/screenshots/
   and they replace the illustrative CSS mocks automatically). */
.screenshot {
	width: 100%;
	height: auto;
	border-radius: 14px;
	box-shadow: 0 20px 45px -28px rgba(18, 18, 18, 0.28);
	border: 1px solid var(--line);
	display: block;
}

/* Mobile app availability chips */
.app-note {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 22px;
	font-size: 0.88rem;
	color: var(--dark-text);
}
.app-note svg { width: 15px; height: 15px; stroke: var(--red-soft); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.case-copy blockquote {
	font-size: clamp(1.3rem, 2.2vw, 1.65rem);
	line-height: 1.45;
	letter-spacing: -0.005em;
	margin: 6px 0 24px;
}
.case-copy .who { color: var(--ink-2); font-size: 0.92rem; }
.case-copy .who strong { color: var(--ink); font-weight: 600; }
@media (max-width: 960px) { .case-grid { grid-template-columns: 1fr; } }

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.quote {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r-card);
	padding: 38px 34px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
section.block:not(.tinted) .quote { background: var(--tint); }
.quote .mark { height: 26px; }
.quote .mark::before {
	content: '\201C';
	font-size: 4rem;
	font-weight: 800;
	line-height: 1;
	display: block;
	background: var(--grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.quote p { color: var(--ink-2); font-size: 1.02rem; flex: 1; }
.quote .who { font-size: 0.9rem; color: var(--ink-3); }
.quote .who strong { display: block; color: var(--ink); font-weight: 600; }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- ISO 27001 feature ---------- */
.iso-banner {
	background: var(--dark);
	color: #fff;
	border-radius: 24px;
	padding: 56px;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 48px;
	align-items: center;
	margin-bottom: 20px;
	position: relative;
	overflow: hidden;
}
.iso-banner::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(700px 360px at 90% -20%, rgba(237, 28, 36, 0.16), transparent 62%);
}
.iso-mark {
	position: relative;
	width: 148px;
	height: 148px;
	border-radius: 50%;
	border: 1px solid var(--dark-line);
	background: var(--dark-2);
	display: grid;
	place-items: center;
	text-align: center;
	flex-shrink: 0;
}
.iso-mark::before {
	content: '';
	position: absolute;
	inset: 8px;
	border-radius: 50%;
	border: 1px dashed rgba(255, 255, 255, 0.25);
}
.iso-mark .iso-num {
	font-size: 1.7rem;
	line-height: 1.1;
	background: var(--grad-dark);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.iso-mark .iso-sub {
	display: block;
	font-size: 0.62rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--dark-text);
	margin-top: 4px;
}
.iso-copy { position: relative; }
.iso-copy h3 {
	font-size: clamp(1.5rem, 2.6vw, 2.1rem);
	line-height: 1.2;
	margin-bottom: 14px;
	color: #fff;
}
.iso-copy p { color: var(--dark-text); max-width: 40rem; margin-bottom: 12px; }
.iso-copy p:last-of-type { margin-bottom: 0; }
.iso-copy a { color: #fff; }
@media (max-width: 860px) {
	.iso-banner { grid-template-columns: 1fr; padding: 40px 32px; gap: 28px; }
}

/* ---------- trust cards ---------- */
.trust-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust {
	border: 1px solid var(--line);
	border-radius: var(--r-card);
	padding: 30px 28px;
	background: var(--tint);
}
.trust h3 { font-size: 1.05rem; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; line-height: 1.3; }
.trust h3 svg { width: 20px; height: 20px; stroke: var(--red); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.trust p { font-size: 0.9rem; color: var(--ink-2); }
@media (max-width: 960px) { .trust-band { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .trust-band { grid-template-columns: 1fr; } }

/* ---------- demo CTA ---------- */
.demo { background: var(--dark); color: #fff; padding: 108px 0; position: relative; overflow: hidden; }
.demo::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(1000px 520px at 82% 0%, rgba(237, 28, 36, 0.13), transparent 62%);
}
.demo-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; position: relative; }
.demo h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.14; letter-spacing: -0.005em; margin-bottom: 20px; }
.demo p.sub { color: var(--dark-text); font-size: 1.08rem; margin-bottom: 30px; max-width: 30rem; }
.demo .points { list-style: none; display: grid; gap: 13px; }
.demo .points li { position: relative; padding-left: 20px; color: var(--dark-text); font-size: 0.97rem; }
.demo .points li::before { content: ''; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--red-soft); }
.demo .phone { margin-top: 30px; font-size: 0.95rem; color: var(--dark-text); }
.demo .phone a { color: #fff; text-decoration: none; }

.form {
	background: var(--paper);
	color: var(--ink);
	border-radius: 20px;
	padding: 40px;
	box-shadow: 0 44px 90px -40px rgba(0, 0, 0, 0.75);
	display: grid;
	gap: 16px;
}
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { font-size: 0.84rem; display: grid; gap: 6px; color: var(--ink); }
.form label .opt { color: var(--ink-3); }
.form input, .form select, .form textarea {
	font-family: inherit;
	font-size: 0.94rem;
	padding: 0 14px;
	height: 48px;
	border-radius: var(--r-btn);
	border: 1px solid var(--line);
	background: #fff;
	color: var(--ink);
	width: 100%;
	appearance: none;
	-webkit-appearance: none;
}
.form select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2375717c' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 36px;
}
.form textarea {
	height: auto;
	min-height: 110px;
	padding: 12px 14px;
	resize: vertical;
}
.form input:focus, .form select:focus, .form textarea:focus {
	outline: none;
	border-color: var(--red);
	box-shadow: 0 0 0 3px rgba(237, 28, 36, 0.12);
}
.form button { justify-self: start; }
.form .fine { font-size: 0.78rem; color: var(--ink-3); }
.form .fine a { color: var(--ink-2); }
.form .hp { display: none; }
@media (max-width: 960px) {
	.demo-grid { grid-template-columns: 1fr; }
	.form .row2 { grid-template-columns: 1fr; }
}

/* ---------- plain page (legal, thank you) ---------- */
.page-head { background: var(--dark); color: #fff; padding: 72px 0 56px; }
.page-head h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.14; }
.page-head p { color: var(--dark-text); margin-top: 12px; max-width: 42rem; }
.page-body { padding: 72px 0 104px; }
.page-body .prose { max-width: 46rem; }
.page-body .prose h2 { font-size: 1.5rem; margin: 40px 0 12px; }
.page-body .prose h2:first-child { margin-top: 0; }
.page-body .prose p, .page-body .prose li { color: var(--ink-2); margin-bottom: 14px; }
.page-body .prose ul { padding-left: 22px; margin-bottom: 14px; }
.page-body .prose a { color: var(--red-deep); }
.draft-note {
	background: #fff8e8;
	border: 1px solid #ecd9a0;
	border-left: 3px solid var(--red);
	border-radius: 10px;
	padding: 14px 16px;
	font-size: 0.9rem;
	color: #4a4432;
	margin-bottom: 32px;
	max-width: 46rem;
}

/* ---------- footer ---------- */
.footer { background: var(--dark); color: var(--dark-text-2); padding: 76px 0 40px; font-size: 0.9rem; border-top: 1px solid var(--dark-line); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 52px; }
.footer img.flogo { height: 22px; margin-bottom: 20px; }
.footer h4 { color: #fff; font-size: 0.82rem; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 18px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer a { color: var(--dark-text-2); text-decoration: none; transition: color .2s; }
.footer a:hover { color: #fff; }
.footer-contact { margin-top: 14px; }
.footer-social { margin-top: 14px; }
.footer .legal {
	border-top: 1px solid var(--dark-line);
	padding-top: 28px;
	display: flex;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	font-size: 0.82rem;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- consent banner ---------- */
.consent {
	position: fixed;
	bottom: 20px;
	left: 20px;
	right: 20px;
	z-index: 100;
	display: flex;
	justify-content: center;
	pointer-events: none;
}
/* display: flex above would otherwise override the hidden attribute and the
   banner could never be dismissed. */
.consent[hidden] { display: none; }
.consent-inner {
	pointer-events: auto;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r-card);
	box-shadow: 0 24px 60px -20px rgba(18, 18, 18, 0.4);
	padding: 20px 24px;
	max-width: 560px;
	display: grid;
	gap: 14px;
}
.consent-inner p { font-size: 0.88rem; color: var(--ink-2); }
.consent-inner a { color: var(--red-deep); }
.consent-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.consent-actions .btn { padding: 9px 16px; font-size: 0.88rem; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .45s ease, transform .45s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-delay: 0s !important;
		transition-duration: 0.01ms !important;
	}
	html { scroll-behavior: auto; }
	.marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
	.reveal { opacity: 1; transform: none; }
	.hero .stagger { opacity: 1; transform: none; }
}
