@charset "utf-8";

/*
	MothNode — remote tank monitoring
	Layout originally derived from TemplateMo 599 "Noir Fashion" (https://templatemo.com/tm-599-noir-fashion).

	Palette is restricted to four authorized brand colors. Do not introduce new hues.
	Neutrals are pure grayscale; every tinted surface, border, and shadow is the
	brand color at reduced alpha, so nothing off-palette can creep in.
*/

:root {
	/* Brand — the only four authorized colors */
	--brand: #006086;
	--brand-accent: #00ADEC;
	--brand-natural: #A7FFD4;

	/* Neutrals */
	--surface: #ffffff;
	--ink: #111111;
	--ink-muted: #5c5c5c;

	/* Brand at alpha — tints, rules, shadows */
	--tint-soft: rgba(0, 96, 134, 0.04);
	--tint-line: rgba(0, 96, 134, 0.14);
	--tint-line-strong: rgba(0, 96, 134, 0.32);
	--shadow-sm: 0 1px 2px rgba(0, 96, 134, 0.06);
	--shadow-md: 0 6px 16px rgba(0, 96, 134, 0.10);
	--shadow-lg: 0 12px 32px rgba(0, 96, 134, 0.14);

	--radius: 8px;
	--radius-sm: 4px;
	--nav-h: 72px;
}

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

html {
	scroll-behavior: smooth;
}

body {
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	background: var(--surface);
	color: var(--ink);
	line-height: 1.5;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

section {
	scroll-margin-top: calc(var(--nav-h) + 16px);
}

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

/* Visible keyboard focus everywhere. */
:focus-visible {
	outline: 2px solid var(--brand-accent);
	outline-offset: 2px;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 1100;
	padding: 12px 20px;
	background: var(--brand);
	color: #fff;
	text-decoration: none;
}

.skip-link:focus {
	left: 12px;
	top: 12px;
}

/* ---------------------------------------------------------------- Navigation */

nav {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 1000;
	padding: 16px 40px;
	background: var(--surface);
	border-bottom: 1px solid var(--tint-line);
	transition: box-shadow 0.2s ease, padding 0.2s ease;
}

nav.scrolled {
	padding: 10px 40px;
	box-shadow: var(--shadow-sm);
}

.nav-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	max-width: 1200px;
	margin: 0 auto;
}

.logo-link {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
}

.logo-mark {
	width: 36px;
	height: 36px;
	flex-shrink: 0;
}

.logo-text {
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--brand);
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 8px;
	list-style: none;
}

.nav-link {
	position: relative;
	display: block;
	padding: 8px 12px;
	color: var(--ink-muted);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	transition: color 0.2s ease;
}

.nav-link:hover {
	color: var(--brand);
}

.nav-link.active {
	color: var(--brand);
}

.nav-link.active::after {
	content: '';
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 0;
	height: 2px;
	background: var(--brand);
}

.nav-cta {
	margin-left: 8px;
	padding: 10px 22px;
	background: var(--brand);
	color: #fff;
	border-radius: var(--radius-sm);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

/* #00ADEC is too light for white text (2.6:1) — pair it with ink instead. */
.nav-cta:hover,
.nav-cta:focus-visible {
	background: var(--brand-accent);
	color: var(--ink);
}

.menu-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	padding: 4px;
	background: none;
	border: 0;
	cursor: pointer;
	z-index: 1001;
}

.menu-toggle span {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--brand);
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.active span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
	opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
	display: none;
	position: fixed;
	inset: 0 -100% 0 auto;
	width: 100%;
	background: var(--surface);
	transition: right 0.25s ease;
	z-index: 999;
}

.mobile-nav.active {
	right: 0;
}

.mobile-nav-links {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 28px;
	height: 100%;
	list-style: none;
}

.mobile-nav-links a {
	color: var(--brand);
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
}

.mobile-nav-links a:hover {
	color: var(--brand-accent);
}

/* ---------------------------------------------------------------- Hero */

.hero {
	padding: calc(var(--nav-h) + 64px) 0 72px;
	background: var(--surface);
}

.hero-container {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	align-items: center;
	gap: 56px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 40px;
}

.hero-title {
	font-size: clamp(32px, 3.6vw, 52px);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: var(--brand);
	margin-bottom: 20px;
}

.hero-description {
	max-width: 52ch;
	font-size: 16px;
	line-height: 1.7;
	color: var(--ink-muted);
	margin-bottom: 32px;
}

.hero-stats {
	display: flex;
	gap: 40px;
	margin-bottom: 36px;
}

.stat-number {
	display: block;
	font-size: 30px;
	font-weight: 800;
	line-height: 1.1;
	color: var(--brand);
	margin-bottom: 4px;
}

.stat-label {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ink-muted);
}

.cta-group {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.cta-button {
	display: inline-block;
	padding: 15px 32px;
	border-radius: var(--radius-sm);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.cta-button.primary {
	background: var(--brand);
	color: #fff;
	border: 1px solid var(--brand);
}

.cta-button.primary:hover,
.cta-button.primary:focus-visible {
	background: var(--brand-accent);
	border-color: var(--brand-accent);
	color: var(--ink);
	transform: translateY(-1px);
}

.cta-button.outline {
	background: transparent;
	color: var(--brand);
	border: 1px solid var(--tint-line-strong);
}

.cta-button.outline:hover,
.cta-button.outline:focus-visible {
	background: var(--brand-natural);
	border-color: var(--brand);
	transform: translateY(-1px);
}

.hero-media {
	position: relative;
	width: 100%;
	max-width: 520px;
	margin-left: auto;
	aspect-ratio: 560 / 620;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-lg);
}

.carousel-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.8s ease;
}

.carousel-slide.active {
	opacity: 1;
}

.carousel-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* The dashboard screenshot is a wide 2:1 capture. Fitting the whole thing into
   this portrait frame shrinks the readings to nothing, so it is anchored to the
   top-left instead: the live tank readings fill the frame and stay legible. */
.carousel-slide.is-screenshot {
	background: var(--tint-soft);
}

.carousel-slide.is-screenshot img {
	object-position: left top;
	transform: scale(1.55);
	transform-origin: left top;
}

.carousel-indicators {
	position: absolute;
	left: 50%;
	bottom: 20px;
	transform: translateX(-50%);
	display: flex;
	gap: 8px;
	z-index: 2;
}

.indicator {
	width: 32px;
	height: 3px;
	padding: 0;
	background: rgba(255, 255, 255, 0.45);
	border: 0;
	border-radius: 2px;
	cursor: pointer;
	transition: background-color 0.2s ease, width 0.2s ease;
}

.indicator.active {
	width: 48px;
	background: var(--brand-natural);
}

/* ---------------------------------------------------------------- Section furniture */

.section-header {
	max-width: 720px;
	margin: 0 auto 48px;
	text-align: center;
}

.section-title {
	font-size: clamp(28px, 2.8vw, 40px);
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--brand);
	margin-bottom: 12px;
}

.section-subtitle {
	font-size: 16px;
	color: var(--ink-muted);
}

/* ---------------------------------------------------------------- Features */

.features {
	max-width: 1200px;
	margin: 0 auto;
	padding: 88px 40px 24px;
}

.feature-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 24px;
}

.feature-card {
	display: flex;
	flex-direction: column;
	background: var(--surface);
	border: 1px solid var(--tint-line);
	border-radius: var(--radius);
	overflow: hidden;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
	border-color: var(--brand);
	box-shadow: var(--shadow-md);
	transform: translateY(-2px);
}

.card-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	padding: 22px;
}

.card-badge {
	display: inline-block;
	margin-bottom: 12px;
	padding: 4px 10px;
	background: var(--brand-natural);
	color: var(--brand);
	border-radius: 2px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.card-title {
	font-size: 20px;
	font-weight: 700;
	color: var(--ink);
	margin-bottom: 6px;
}

.card-subtitle {
	font-size: 14px;
	line-height: 1.6;
	color: var(--ink-muted);
	margin-bottom: 14px;
}

/* Pin the meta label to the bottom so it lines up across cards of unequal height. */
.card-meta {
	margin-top: auto;
	padding-top: 12px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--brand);
}

/* ---------------------------------------------------------------- Highlights */

.highlights {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	max-width: 1200px;
	margin: 56px auto 0;
}

.highlight-item {
	padding: 28px;
	background: var(--surface);
	border: 1px solid var(--tint-line);
	border-radius: var(--radius);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.highlight-item:hover {
	border-color: var(--brand);
	box-shadow: var(--shadow-md);
}

.highlight-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin-bottom: 18px;
	background: var(--brand-natural);
	border-radius: var(--radius-sm);
	color: var(--brand);
}

.highlight-icon svg {
	width: 24px;
	height: 24px;
}

.highlight-title {
	font-size: 17px;
	font-weight: 700;
	color: var(--ink);
	margin-bottom: 8px;
}

.highlight-desc {
	font-size: 14px;
	line-height: 1.6;
	color: var(--ink-muted);
}

/* ---------------------------------------------------------------- Product description */

.product-description {
	max-width: 1200px;
	margin: 0 auto;
	padding: 72px 40px;
}

.product-description-content {
	padding: 40px;
	background: var(--tint-soft);
	border: 1px solid var(--tint-line);
	border-radius: var(--radius);
}

.product-description-content h2 {
	font-size: clamp(22px, 2.2vw, 30px);
	font-weight: 800;
	letter-spacing: -0.01em;
	color: var(--brand);
	margin-bottom: 16px;
}

.product-description-content p {
	max-width: 80ch;
	font-size: 16px;
	line-height: 1.8;
	color: var(--ink-muted);
}

/* ---------------------------------------------------------------- Trust */

.trust {
	padding: 72px 40px 96px;
	background: var(--tint-soft);
}

.trust-inner {
	max-width: 1200px;
	margin: 0 auto;
}

.trust-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 24px;
}

.trust-item {
	padding: 28px;
	background: var(--surface);
	border: 1px solid var(--tint-line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.trust-item:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
}

.trust-item-title {
	margin-bottom: 10px;
	font-size: 18px;
	font-weight: 700;
	color: var(--brand);
}

.trust-item-desc {
	font-size: 15px;
	line-height: 1.7;
	color: var(--ink-muted);
}

.trust-cta {
	display: flex;
	justify-content: center;
	margin-top: 48px;
}

/* ---------------------------------------------------------------- Buy / contact form */

.buy {
	padding: calc(var(--nav-h) + 72px) 40px 96px;
}

.buy-container {
	max-width: 760px;
	margin: 0 auto;
}

.coming-soon {
	padding: 56px 40px;
	text-align: center;
	background: var(--surface);
	border: 1px solid var(--tint-line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-md);
}

.coming-soon-eyebrow {
	margin-bottom: 16px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--brand-accent);
}

.coming-soon-title {
	margin-bottom: 20px;
	font-size: clamp(28px, 4vw, 40px);
	line-height: 1.15;
	color: var(--brand);
}

.coming-soon-body {
	max-width: 52ch;
	margin: 0 auto 16px;
	font-size: 16px;
	line-height: 1.8;
	color: var(--ink-muted);
}

.coming-soon-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
	margin-top: 36px;
}

/* Parent company credit. The logo is the one off-palette mark on the site,
   so it is kept small and quiet under the copyright line. */

.powered-by {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	max-width: 1200px;
	margin: 0 auto;
	padding-top: 20px;
}

.powered-by-label {
	font-size: 13px;
	letter-spacing: 0.04em;
	color: var(--ink-muted);
}

.powered-by-link {
	display: block;
	line-height: 0;
	opacity: 0.85;
	transition: opacity 0.2s ease;
}

.powered-by-link:hover,
.powered-by-link:focus-visible {
	opacity: 1;
}

.powered-by-link img {
	width: auto;
	height: 26px;
}

/* ---------------------------------------------------------------- Legal pages */

.legal {
	padding: calc(var(--nav-h) + 72px) 40px 96px;
}

.legal-container {
	max-width: 780px;
	margin: 0 auto;
}

.legal-header {
	margin-bottom: 48px;
}

.legal-header .section-title {
	text-align: left;
}

.legal-effective {
	font-size: 15px;
	color: var(--ink-muted);
}

.legal-section {
	margin-bottom: 36px;
}

.legal-section h2 {
	font-size: 20px;
	font-weight: 700;
	color: var(--brand);
	margin-bottom: 12px;
}

.legal-section p {
	font-size: 16px;
	line-height: 1.8;
	color: var(--ink-muted);
}

.legal-section ul {
	margin: 12px 0 0 22px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 16px;
	line-height: 1.7;
	color: var(--ink-muted);
}

.legal-section strong {
	color: var(--ink);
}

.legal-section a {
	color: var(--brand);
	font-weight: 600;
}

/* ---------------------------------------------------------------- Footer */

footer {
	padding: 64px 40px 28px;
	background: var(--tint-soft);
	border-top: 1px solid var(--tint-line);
}

.footer-content {
	max-width: 1200px;
	margin: 0 auto 48px;
}

.footer-brand h2 {
	font-size: 26px;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--brand);
	margin-bottom: 12px;
}

.footer-brand p {
	max-width: 46ch;
	font-size: 15px;
	line-height: 1.7;
	color: var(--ink-muted);
	margin-bottom: 24px;
}

.social-links {
	display: flex;
	gap: 12px;
}

.social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid var(--tint-line-strong);
	border-radius: 50%;
	color: var(--brand);
	text-decoration: none;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.social-link svg {
	width: 17px;
	height: 17px;
}

.social-link:hover {
	background: var(--brand);
	border-color: var(--brand);
	color: #fff;
}

.footer-bottom {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	max-width: 1200px;
	margin: 0 auto;
	padding-top: 28px;
	border-top: 1px solid var(--tint-line);
}

.footer-bottom p {
	font-size: 14px;
	color: var(--ink-muted);
}

.footer-link {
	color: var(--brand);
	text-decoration: none;
	font-weight: 600;
}

.footer-link:hover {
	color: var(--brand-accent);
	text-decoration: underline;
}


/* ---------------------------------------------------------------- Responsive */

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

	.hero-media {
		max-width: 460px;
		margin: 0 auto;
	}

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

	.product-description-content {
		padding: 28px;
	}
}

@media (max-width: 768px) {
	nav,
	nav.scrolled {
		padding: 12px 20px;
	}

	.nav-links {
		display: none;
	}

	.menu-toggle {
		display: flex;
	}

	.mobile-nav {
		display: block;
	}

	.hero {
		padding: calc(var(--nav-h) + 40px) 0 56px;
	}

	.hero-container,
	.features,
	.product-description {
		padding-left: 20px;
		padding-right: 20px;
	}

	.hero-stats {
		gap: 28px;
	}

	.cta-button {
		flex: 1 1 auto;
		text-align: center;
	}

	.trust,
	.buy,
	.legal {
		padding-left: 20px;
		padding-right: 20px;
	}

	.coming-soon {
		padding: 40px 24px;
	}

	footer {
		padding: 48px 20px 24px;
	}

	.footer-bottom {
		flex-direction: column;
		text-align: center;
	}
}

/* ---------------------------------------------------------------- Motion */

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

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}
