:root {
	--ink: #151a1c;
	--ink-soft: #3f494c;
	--paper: #f6f7f4;
	--paper-strong: #ffffff;
	--line: #d8ddda;
	--night: #101416;
	--night-soft: #182023;
	--teal: #22b8a7;
	--green: #60b96b;
	--amber: #f0a23a;
	--coral: #e66b55;
	--blue: #4d8fc8;
	--danger: #b93f42;
	--shadow: 0 18px 50px rgb(12 18 20 / 14%);
	--content: 1180px;
}

* {
	box-sizing: border-box;
	letter-spacing: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.55;
	text-rendering: optimizeLegibility;
}

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

button,
input {
	font: inherit;
}

button,
a,
input {
	-webkit-tap-highlight-color: transparent;
}

.site-header {
	position: absolute;
	z-index: 20;
	top: 0;
	left: 0;
	width: 100%;
	color: #fff;
}

.header-inner,
.section-inner,
.footer-inner {
	width: min(calc(100% - 40px), var(--content));
	margin: 0 auto;
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 76px;
	border-bottom: 1px solid rgb(255 255 255 / 18%);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	font-size: 15px;
	font-weight: 720;
}

.brand img {
	width: 34px;
	height: 34px;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 24px;
	font-size: 14px;
}

.header-actions a:not(.button-link) {
	color: rgb(255 255 255 / 76%);
}

.header-actions a:hover {
	color: #fff;
}

.button-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0 17px;
	border: 1px solid rgb(255 255 255 / 42%);
	border-radius: 6px;
	background: rgb(255 255 255 / 8%);
	color: #fff;
	font-weight: 700;
}

.hero {
	position: relative;
	display: flex;
	min-height: min(860px, 88vh);
	overflow: hidden;
	background: var(--night);
	color: #fff;
}

.hero::after {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: rgb(16 20 22 / 54%);
	content: "";
	pointer-events: none;
}

.topology-canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.hero-content {
	position: relative;
	z-index: 3;
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: min(calc(100% - 40px), var(--content));
	margin: 0 auto;
	padding: 126px 0 86px;
}

.live-kicker {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	width: fit-content;
	margin-bottom: 22px;
	color: #b9c5c6;
	font-size: 13px;
	font-weight: 720;
	text-transform: uppercase;
}

.pulse-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--green);
	box-shadow: 0 0 0 5px rgb(96 185 107 / 16%);
}

.hero h1 {
	max-width: 760px;
	margin: 0;
	font-size: 88px;
	font-weight: 680;
	line-height: 0.98;
}

.hero-copy {
	max-width: 610px;
	margin: 30px 0 0;
	color: #c6cece;
	font-size: 19px;
	line-height: 1.65;
}

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

.primary-action,
.secondary-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 21px;
	border-radius: 6px;
	font-weight: 750;
}

.primary-action {
	background: var(--paper-strong);
	color: var(--ink);
}

.primary-action:hover {
	background: #e8eeea;
}

.secondary-action {
	border: 1px solid rgb(255 255 255 / 30%);
	color: #fff;
}

.secondary-action:hover {
	border-color: rgb(255 255 255 / 60%);
}

.hero-status {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
	width: min(620px, 100%);
	margin-top: 54px;
	border-top: 1px solid rgb(255 255 255 / 18%);
}

.hero-stat {
	padding: 20px 20px 0 0;
}

.hero-stat + .hero-stat {
	padding-left: 24px;
	border-left: 1px solid rgb(255 255 255 / 18%);
}

.hero-stat strong {
	display: block;
	font-size: 24px;
	font-weight: 720;
}

.hero-stat span {
	color: #8f9b9d;
	font-size: 13px;
}

.overview {
	padding: 82px 0 90px;
	background: var(--paper);
}

.section-heading {
	display: grid;
	grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1.22fr);
	gap: 72px;
	align-items: end;
	margin-bottom: 46px;
}

.eyebrow {
	margin: 0 0 10px;
	color: #687477;
	font-size: 12px;
	font-weight: 760;
	text-transform: uppercase;
}

.section-heading h2 {
	margin: 0;
	font-size: 52px;
	font-weight: 660;
	line-height: 1.08;
}

.section-heading > p {
	margin: 0;
	color: var(--ink-soft);
	font-size: 18px;
}

.device-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.device-card {
	min-height: 218px;
	padding: 23px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--paper-strong);
}

.device-card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.device-mark {
	display: grid;
	width: 42px;
	height: 42px;
	place-items: center;
	border-radius: 50%;
	background: #edf2ef;
	color: var(--ink);
	font-size: 14px;
	font-weight: 800;
}

.device-mark.teal {
	background: #d7f1ed;
	color: #0a756a;
}

.device-mark.amber {
	background: #f8e8ce;
	color: #8a5615;
}

.device-mark.coral {
	background: #f7ded9;
	color: #994233;
}

.device-mark.blue {
	background: #dceaf5;
	color: #2f6794;
}

.state {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: #50605f;
	font-size: 12px;
	font-weight: 700;
}

.state::before {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--green);
	content: "";
}

.device-card h3 {
	margin: 28px 0 4px;
	font-size: 18px;
}

.device-card p {
	margin: 0;
	color: #778184;
	font-size: 13px;
}

.device-reading {
	display: flex;
	align-items: baseline;
	gap: 7px;
	margin-top: 22px;
}

.device-reading strong {
	font-size: 28px;
}

.device-reading span {
	color: #798385;
	font-size: 12px;
}

.connection-band {
	padding: 74px 0;
	background: #e7ece8;
	border-top: 1px solid #d2d8d4;
	border-bottom: 1px solid #d2d8d4;
}

.connection-layout {
	display: grid;
	grid-template-columns: minmax(0, 0.75fr) minmax(420px, 1.25fr);
	gap: 80px;
	align-items: center;
}

.connection-copy h2 {
	margin: 0;
	font-size: 50px;
	line-height: 1.08;
}

.connection-copy p {
	margin: 22px 0 0;
	color: var(--ink-soft);
	font-size: 17px;
}

.timeline {
	position: relative;
	padding-left: 34px;
}

.timeline::before {
	position: absolute;
	top: 9px;
	bottom: 9px;
	left: 7px;
	width: 2px;
	background: #b8c2bc;
	content: "";
}

.timeline-row {
	position: relative;
	display: grid;
	grid-template-columns: 130px 1fr auto;
	gap: 18px;
	align-items: center;
	min-height: 58px;
	border-bottom: 1px solid #ccd4cf;
}

.timeline-row::before {
	position: absolute;
	left: -32px;
	width: 12px;
	height: 12px;
	border: 3px solid #e7ece8;
	border-radius: 50%;
	background: var(--teal);
	box-shadow: 0 0 0 1px #89aaa3;
	content: "";
}

.timeline-row:nth-child(2)::before {
	background: var(--amber);
}

.timeline-row:nth-child(3)::before {
	background: var(--coral);
}

.timeline-row:nth-child(4)::before {
	background: var(--blue);
}

.timeline-row strong {
	font-size: 14px;
}

.timeline-row span {
	color: #667173;
	font-size: 13px;
}

.timeline-row time {
	color: #5b6769;
	font-size: 12px;
	font-variant-numeric: tabular-nums;
}

.site-footer {
	padding: 34px 0;
	background: var(--night);
	color: #aeb8b9;
}

.footer-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	font-size: 13px;
}

.footer-brand {
	display: flex;
	align-items: center;
	gap: 9px;
	color: #fff;
	font-weight: 700;
}

.footer-brand img {
	width: 27px;
	height: 27px;
}

.login-body {
	min-height: 100vh;
	background: var(--night);
	color: #fff;
}

.login-shell {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(390px, 520px);
	min-height: 100vh;
}

.login-scene {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 100vh;
	overflow: hidden;
	padding: 60px;
	background: #12181a;
}

.login-scene::before {
	position: absolute;
	inset: 10% 8% 8%;
	border: 1px solid rgb(255 255 255 / 12%);
	content: "";
}

.scene-grid {
	position: absolute;
	inset: 0;
	opacity: 0.42;
	background-image:
		linear-gradient(rgb(255 255 255 / 6%) 1px, transparent 1px),
		linear-gradient(90deg, rgb(255 255 255 / 6%) 1px, transparent 1px);
	background-size: 56px 56px;
}

.scene-line {
	position: absolute;
	height: 2px;
	transform-origin: left center;
	background: var(--teal);
	opacity: 0.6;
}

.scene-line.one {
	top: 31%;
	left: 20%;
	width: 42%;
	transform: rotate(17deg);
}

.scene-line.two {
	top: 57%;
	left: 34%;
	width: 38%;
	transform: rotate(-20deg);
	background: var(--amber);
}

.scene-line.three {
	top: 71%;
	left: 17%;
	width: 28%;
	transform: rotate(-44deg);
	background: var(--coral);
}

.scene-node {
	position: absolute;
	display: grid;
	width: 58px;
	height: 58px;
	place-items: center;
	border: 1px solid rgb(255 255 255 / 25%);
	border-radius: 50%;
	background: #182023;
	box-shadow: 0 0 0 8px rgb(255 255 255 / 3%);
	font-size: 12px;
	font-weight: 800;
}

.scene-node.router {
	top: 43%;
	left: 43%;
	width: 76px;
	height: 76px;
	background: #e8efeb;
	color: var(--ink);
}

.scene-node.power {
	top: 22%;
	left: 18%;
}

.scene-node.entry {
	top: 28%;
	right: 22%;
}

.scene-node.air {
	right: 18%;
	bottom: 19%;
}

.scene-node.media {
	bottom: 15%;
	left: 16%;
}

.scene-caption {
	position: relative;
	z-index: 2;
	max-width: 580px;
}

.scene-caption h2 {
	margin: 0;
	font-size: 64px;
	line-height: 1.02;
}

.scene-caption p {
	max-width: 520px;
	margin: 22px 0 0;
	color: #b9c3c4;
	font-size: 17px;
}

.login-panel {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 100vh;
	padding: 54px 58px;
	background: var(--paper-strong);
	color: var(--ink);
}

.login-brand {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	width: fit-content;
	margin-bottom: 62px;
	font-size: 14px;
	font-weight: 760;
}

.login-brand img {
	width: 36px;
	height: 36px;
	padding: 2px;
	background: var(--night);
	border-radius: 6px;
}

.login-panel h1 {
	margin: 0;
	font-size: 34px;
	line-height: 1.15;
}

.login-intro {
	margin: 12px 0 32px;
	color: #657174;
}

.form-field {
	margin-bottom: 19px;
}

.form-field label {
	display: block;
	margin-bottom: 7px;
	font-size: 13px;
	font-weight: 740;
}

.form-field input {
	width: 100%;
	height: 48px;
	padding: 0 13px;
	border: 1px solid #bdc6c2;
	border-radius: 6px;
	outline: none;
	background: #fff;
	color: var(--ink);
}

.form-field input:focus {
	border-color: #3a8f86;
	box-shadow: 0 0 0 3px rgb(34 184 167 / 14%);
}

.form-options {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin: 2px 0 24px;
	color: #5a6668;
	font-size: 13px;
}

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

.remember input {
	width: 16px;
	height: 16px;
	accent-color: var(--teal);
}

.forgot {
	color: #277c73;
	font-weight: 700;
}

.login-button {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 50px;
	border: 0;
	border-radius: 6px;
	background: var(--ink);
	color: #fff;
	cursor: pointer;
	font-weight: 760;
}

.login-button:hover {
	background: #293235;
}

.login-button:disabled {
	cursor: wait;
	opacity: 0.75;
}

.button-spinner {
	display: none;
	width: 18px;
	height: 18px;
	border: 2px solid rgb(255 255 255 / 38%);
	border-top-color: #fff;
	border-radius: 50%;
	animation: spin 0.75s linear infinite;
}

.login-button.loading .button-label {
	display: none;
}

.login-button.loading .button-spinner {
	display: block;
}

.form-message {
	display: none;
	margin: 0 0 18px;
	padding: 12px 13px;
	border-left: 3px solid var(--danger);
	background: #fbefef;
	color: #8f3034;
	font-size: 13px;
}

.form-message.visible {
	display: block;
}

.login-meta {
	margin: 32px 0 0;
	color: #7a8587;
	font-size: 12px;
	text-align: center;
}

.login-meta a {
	color: #3f6f6a;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

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

	.section-heading h2,
	.connection-copy h2 {
		font-size: 44px;
	}

	.device-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.connection-layout {
		grid-template-columns: 1fr;
		gap: 44px;
	}

	.login-shell {
		grid-template-columns: 1fr;
	}

	.login-scene {
		min-height: 42vh;
		padding: 44px 36px;
	}

	.login-panel {
		min-height: 58vh;
		padding: 52px max(28px, calc((100vw - 520px) / 2));
	}
}

@media (max-width: 720px) {
	.header-inner,
	.section-inner,
	.footer-inner,
	.hero-content {
		width: min(calc(100% - 28px), var(--content));
	}

	.header-actions a:not(.button-link) {
		display: none;
	}

	.hero {
		height: 88svh;
		min-height: 0;
	}

	.hero::after {
		background: rgb(16 20 22 / 72%);
	}

	.hero-content {
		justify-content: center;
		padding: 92px 0 30px;
	}

	.hero h1 {
		font-size: 48px;
	}

	.hero-copy {
		margin-top: 20px;
		font-size: 15px;
		line-height: 1.48;
	}

	.hero-status {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		margin-top: 26px;
	}

	.hero-stat {
		padding: 12px 8px 0 0;
	}

	.hero-stat + .hero-stat {
		padding: 12px 5px 0 12px;
		border-left: 1px solid rgb(255 255 255 / 15%);
	}

	.hero-stat strong {
		font-size: 18px;
	}

	.hero-stat span {
		font-size: 10px;
	}

	.hero-actions {
		margin-top: 24px;
	}

	.primary-action,
	.secondary-action {
		min-height: 44px;
	}

	.section-heading {
		grid-template-columns: 1fr;
		gap: 22px;
	}

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

	.timeline-row {
		grid-template-columns: 1fr auto;
		gap: 2px 12px;
		padding: 10px 0;
	}

	.timeline-row span {
		grid-column: 1 / -1;
	}

	.footer-inner {
		align-items: flex-start;
		flex-direction: column;
	}

	.login-scene {
		min-height: 360px;
	}

	.scene-caption h2 {
		font-size: 42px;
	}

	.login-panel {
		padding: 44px 24px;
	}

	.login-brand {
		margin-bottom: 42px;
	}
}

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

	.button-spinner {
		animation: none;
	}
}
