:root {
	--ink: #172028;
	--muted: #596773;
	--line: #dfe5ea;
	--paper: #f6f8fa;
	--white: #ffffff;
	--teal: #0b7c7a;
	--teal-dark: #075b59;
	--amber: #c9781f;
	--red: #b6423b;
	--blue: #2d5f8f;
	--shadow: 0 24px 80px rgba(23, 32, 40, 0.16);
	--radius: 8px;
	--content: min(1120px, calc(100vw - 40px));
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: Inter, "Helvetica Neue", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.65;
}

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

img,
video {
	display: block;
	max-width: 100%;
}

.site-header {
	align-items: center;
	background: rgba(255, 255, 255, 0.92);
	border-bottom: 1px solid rgba(223, 229, 234, 0.9);
	display: flex;
	justify-content: space-between;
	left: 0;
	padding: 12px max(20px, calc((100vw - 1120px) / 2));
	position: fixed;
	right: 0;
	top: 0;
	z-index: 20;
}

.brand {
	align-items: center;
	display: inline-flex;
	font-weight: 800;
	gap: 10px;
	letter-spacing: 0;
}

.brand img {
	border-radius: 6px;
	height: 34px;
	width: 34px;
}

.site-header nav {
	align-items: center;
	display: flex;
	gap: 22px;
}

.site-header nav a {
	color: #31404b;
	font-size: 0.86rem;
	font-weight: 700;
}

.nav-contact {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 7px 12px;
}

.hero {
	align-items: end;
	background: #0b1117;
	color: var(--white);
	display: grid;
	min-height: 92vh;
	overflow: hidden;
	padding: 122px max(20px, calc((100vw - 1120px) / 2)) 48px;
	position: relative;
}

.hero-backdrop {
	background:
		linear-gradient(90deg, rgba(6, 14, 20, 0.94) 0%, rgba(6, 14, 20, 0.7) 45%, rgba(6, 14, 20, 0.18) 100%),
		linear-gradient(0deg, rgba(6, 14, 20, 0.8), rgba(6, 14, 20, 0.08)),
		url("../../jnode_screenshots/managed-map.png") center / cover no-repeat;
	filter: saturate(0.9);
	inset: 0;
	position: absolute;
	transform: scale(1.02);
}

.hero-content {
	max-width: 960px;
	position: relative;
	z-index: 1;
}

.eyebrow {
	color: var(--teal);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	margin: 0 0 12px;
	text-transform: uppercase;
}

.hero .eyebrow {
	color: #7ee1dc;
}

h1,
h2,
h3,
p {
	letter-spacing: 0;
}

h1 {
	font-size: clamp(3.6rem, 7vw, 6.4rem);
	line-height: 0.92;
	margin: 0 0 24px;
}

h2 {
	font-size: clamp(2rem, 4vw, 3.6rem);
	line-height: 1.03;
	margin: 0;
}

h3 {
	font-size: 1.32rem;
	line-height: 1.2;
	margin: 0 0 14px;
}

.hero-lede {
	color: rgba(255, 255, 255, 0.86);
	font-size: clamp(1.1rem, 2vw, 1.38rem);
	line-height: 1.55;
	margin: 0 0 30px;
	max-width: 680px;
}

.hero-actions,
.brief-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.button {
	align-items: center;
	background: var(--white);
	border: 1px solid rgba(255, 255, 255, 0.72);
	border-radius: var(--radius);
	color: var(--ink);
	display: inline-flex;
	font-weight: 800;
	justify-content: center;
	min-height: 48px;
	padding: 12px 18px;
}

.button.primary {
	background: var(--teal);
	border-color: var(--teal);
	color: var(--white);
}

.button:hover,
.site-header nav a:hover,
.shot:hover span,
.site-footer a:hover {
	color: var(--teal-dark);
}

.button.primary:hover {
	background: var(--teal-dark);
	color: var(--white);
}

.hero-cue {
	border-top: 1px solid rgba(255, 255, 255, 0.35);
	bottom: 22px;
	color: rgba(255, 255, 255, 0.82);
	font-size: 0.82rem;
	font-weight: 800;
	padding-top: 10px;
	position: absolute;
	right: max(20px, calc((100vw - 1120px) / 2));
	z-index: 1;
}

.band {
	padding: 86px max(20px, calc((100vw - 1120px) / 2));
}

.intro,
.operating-model,
.closing {
	background: var(--white);
}

.section-heading {
	display: grid;
	gap: 20px;
	grid-template-columns: minmax(0, 0.95fr) minmax(300px, 1fr);
	margin: 0 auto 44px;
	max-width: var(--content);
}

.section-heading.wide {
	display: block;
	max-width: 820px;
	text-align: center;
}

.section-heading.wide p:last-child {
	color: var(--muted);
	font-size: 1.08rem;
	margin: 18px auto 0;
	max-width: 760px;
}

.intro-copy {
	color: var(--muted);
	display: grid;
	gap: 22px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0 auto;
	max-width: var(--content);
}

.intro-copy p,
.pillar-copy p,
.model-grid p,
.brief-card p,
.shot p {
	margin-bottom: 0;
	margin-top: 0;
}

.pillars {
	background: var(--paper);
}

.pillar {
	align-items: center;
	display: grid;
	gap: 48px;
	grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
	margin: 0 auto 44px;
	max-width: var(--content);
}

.pillar:last-child {
	margin-bottom: 0;
}

.pillar.flip .pillar-media {
	order: 2;
}

.pillar-media {
	background: #101820;
	border: 1px solid rgba(23, 32, 40, 0.1);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	overflow: hidden;
}

.pillar-media video {
	aspect-ratio: 16 / 9;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.pillar-copy {
	color: var(--muted);
}

.pillar-copy h3 {
	color: var(--ink);
	font-size: clamp(1.55rem, 3vw, 2.4rem);
}

.count {
	color: var(--amber);
	font-size: 0.86rem;
	font-weight: 900;
	letter-spacing: 0.12em;
	margin: 0 0 16px;
}

.model-grid {
	display: grid;
	gap: 1px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0 auto;
	max-width: var(--content);
}

.model-grid > div {
	background: var(--paper);
	border: 1px solid var(--line);
	min-height: 248px;
	padding: 28px;
}

.model-grid h3 {
	color: var(--teal-dark);
	font-size: 1.12rem;
}

.model-grid p {
	color: var(--muted);
}

.proof {
	background: #eef2f4;
}

.screenshot-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 0 auto;
	max-width: var(--content);
}

.shot {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	display: flex;
	flex-direction: column;
	min-height: 100%;
	overflow: hidden;
}

.shot img {
	aspect-ratio: 16 / 10;
	border-bottom: 1px solid var(--line);
	object-fit: cover;
	object-position: top left;
	width: 100%;
}

.shot span {
	color: var(--ink);
	display: block;
	font-size: 1rem;
	font-weight: 900;
	line-height: 1.25;
	padding: 18px 18px 6px;
}

.shot p {
	color: var(--muted);
	font-size: 0.92rem;
	line-height: 1.5;
	padding: 0 18px 20px;
}

.brief-card {
	align-items: center;
	background: #121b22;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	color: var(--white);
	display: grid;
	gap: 32px;
	grid-template-columns: minmax(0, 1fr) auto;
	margin: 0 auto;
	max-width: var(--content);
	padding: 44px;
}

.brief-card p:not(.eyebrow) {
	color: rgba(255, 255, 255, 0.78);
	max-width: 700px;
}

.brief-card .button:not(.primary) {
	background: transparent;
	color: var(--white);
}

.site-footer {
	align-items: center;
	background: #0d1419;
	color: rgba(255, 255, 255, 0.78);
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	justify-content: space-between;
	padding: 28px max(20px, calc((100vw - 1120px) / 2));
}

.site-footer div {
	display: flex;
	gap: 10px;
}

.site-footer strong {
	color: var(--white);
}

@media (max-width: 900px) {
	.site-header {
		align-items: flex-start;
		gap: 12px;
		position: absolute;
	}

	.site-header nav {
		flex-wrap: wrap;
		gap: 10px 14px;
		justify-content: flex-end;
	}

	.site-header nav a {
		font-size: 0.78rem;
	}

	.hero {
		min-height: 86vh;
	}

	.section-heading,
	.intro-copy,
	.pillar,
	.model-grid,
	.screenshot-grid,
	.brief-card {
		grid-template-columns: 1fr;
	}

	.pillar.flip .pillar-media {
		order: 0;
	}

	.model-grid > div {
		min-height: 0;
	}
}

@media (max-width: 640px) {
	.site-header {
		display: block;
	}

	.site-header nav {
		justify-content: flex-start;
		margin-top: 12px;
	}

	.nav-contact {
		padding: 0;
		border: 0;
	}

	.hero {
		min-height: 84vh;
		padding-top: 158px;
	}

	.band {
		padding-bottom: 64px;
		padding-top: 64px;
	}

	.brief-card {
		padding: 28px;
	}

	.site-footer,
	.site-footer div {
		align-items: flex-start;
		flex-direction: column;
	}
}
