/* Tellus positioning and layout overrides */

:root {
	--tellus-ink: #16232a;
	--tellus-muted: #53636a;
	--tellus-soft: #f3f7f5;
	--tellus-line: #dbe6e1;
	--tellus-green: #197c68;
	--tellus-blue: #235a75;
	--tellus-gold: #c99733;
	--tellus-dark: #102027;
}

html {
	scroll-behavior: smooth;
}

body {
	background: #fbfcfb;
	color: var(--tellus-muted);
	font-size: 16px;
	font-weight: 300;
	letter-spacing: 0;
	line-height: 1.62;
}

body,
input,
select,
textarea {
	font-family: "Source Sans Pro", Helvetica, sans-serif;
}

a {
	border-bottom: 0;
	color: inherit;
}

a:hover {
	color: var(--tellus-green);
}

h1,
h2,
h3,
strong,
b {
	color: var(--tellus-ink);
	font-weight: 600;
	letter-spacing: 0;
}

h1 {
	font-size: clamp(2.45rem, 4.2vw, 4.35rem);
	line-height: 1.03;
	margin: 0 0 0.38em;
}

h2 {
	font-size: clamp(1.55rem, 2.35vw, 2.45rem);
	line-height: 1.14;
	margin: 0 0 0.62em;
}

h3 {
	font-size: 1.05rem;
	line-height: 1.25;
	margin: 0 0 0.7em;
}

p {
	margin: 0 0 1.15em;
}

.container {
	max-width: 1180px;
}

.button {
	border: 1px solid rgba(22, 35, 42, 0.18) !important;
	border-radius: 6px;
	box-shadow: none;
	color: var(--tellus-ink) !important;
	font-size: 0.82rem;
	font-weight: 600;
	height: auto;
	letter-spacing: 0.04em;
	line-height: 1;
	padding: 1.05em 1.3em;
	text-transform: uppercase;
	white-space: normal;
}

.button:hover {
	background: rgba(25, 124, 104, 0.08);
}

.button.primary {
	background: var(--tellus-green);
	border-color: var(--tellus-green) !important;
	color: #fff !important;
}

.button.primary:hover {
	background: #126755;
}

.eyebrow {
	color: var(--tellus-green);
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.3;
	margin-bottom: 1em;
	text-transform: uppercase;
}

#header.tellus-hero {
	background:
		linear-gradient(120deg, rgba(248, 251, 250, 0.96), rgba(248, 251, 250, 0.86) 48%, rgba(20, 41, 48, 0.8)),
		url("../../images/header.jpg") center/cover;
	color: var(--tellus-muted);
	min-height: 94vh;
	padding: 0;
	text-align: left;
}

#header.tellus-hero:after {
	display: none;
}

#header.tellus-hero:before {
	background-image:
		linear-gradient(rgba(25, 124, 104, 0.12) 1px, transparent 1px),
		linear-gradient(90deg, rgba(25, 124, 104, 0.1) 1px, transparent 1px);
	background-size: 54px 54px;
	content: "";
	inset: 0;
	opacity: 0.52;
	pointer-events: none;
	position: absolute;
}

.hero-shell {
	margin: 0 auto;
	max-width: 1220px;
	min-height: 94vh;
	padding: 1.2rem 2rem 4rem;
	position: relative;
	width: 100%;
	z-index: 1;
}

.site-nav {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin-bottom: clamp(3rem, 8vh, 7rem);
}

.brand {
	align-items: center;
	display: inline-flex;
}

.brand img {
	height: 42px;
	width: auto;
}

.nav-links {
	align-items: center;
	display: flex;
	gap: 1.4rem;
}

.nav-links a {
	color: var(--tellus-ink);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

#header.tellus-hero a:hover {
	color: var(--tellus-green);
}

#header.tellus-hero .button {
	box-shadow: none;
	color: var(--tellus-ink) !important;
}

#header.tellus-hero .button.primary {
	background: var(--tellus-green);
	border-color: var(--tellus-green) !important;
	color: #fff !important;
}

#header.tellus-hero .button.primary:hover {
	background: #126755 !important;
	color: #fff !important;
}

.hero-grid {
	align-items: center;
	display: grid;
	gap: clamp(2rem, 5vw, 5rem);
	grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.72fr);
}

.hero-copy {
	max-width: 760px;
}

#header .hero-copy h1 {
	color: var(--tellus-ink);
	text-shadow: none;
}

.hero-lede {
	color: #35464d;
	font-size: clamp(1.05rem, 1.35vw, 1.18rem);
	line-height: 1.55;
	max-width: 710px;
}

.hero-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin: 1.7rem 0 1.35rem;
}

.hero-proof {
	color: #45585f;
	display: flex;
	flex-wrap: wrap;
	font-size: 0.9rem;
	gap: 0.55rem;
	list-style: none;
	margin: 0;
}

.hero-proof li {
	background: rgba(255, 255, 255, 0.62);
	border: 1px solid rgba(22, 35, 42, 0.12);
	border-radius: 999px;
	line-height: 1.2;
	padding: 0.52rem 0.72rem;
}

.workflow-panel {
	backdrop-filter: blur(8px);
	background: rgba(16, 32, 39, 0.88);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 8px;
	box-shadow: 0 28px 70px rgba(10, 31, 37, 0.22);
	color: #dbe7e3;
	overflow: hidden;
}

.panel-header {
	align-items: center;
	background: rgba(255, 255, 255, 0.05);
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	display: flex;
	font-size: 0.76rem;
	font-weight: 700;
	gap: 0.55rem;
	letter-spacing: 0.08em;
	padding: 0.85rem 1rem;
	text-transform: uppercase;
}

.status-dot {
	background: var(--tellus-gold);
	border-radius: 50%;
	box-shadow: 0 0 0 5px rgba(201, 151, 51, 0.18);
	display: inline-block;
	height: 0.58rem;
	width: 0.58rem;
}

.pipeline {
	display: grid;
	gap: 1rem;
	padding: 1.2rem;
}

.pipeline-item {
	align-items: flex-start;
	background: rgba(255, 255, 255, 0.055);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	display: grid;
	gap: 0.75rem;
	grid-template-columns: auto 1fr;
	padding: 1rem;
}

.pipeline-item .icon {
	color: #8bc8bd;
	font-size: 1rem;
	line-height: 1.4;
}

.pipeline-item strong {
	color: #fff;
	display: block;
	font-size: 0.98rem;
	margin-bottom: 0.25rem;
}

.pipeline-item p {
	color: #b8c8c4;
	font-size: 0.88rem;
	line-height: 1.45;
	margin: 0;
}

.metric-strip {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	display: grid;
	grid-template-columns: repeat(3, 1fr);
}

.metric-strip div {
	padding: 1rem;
}

.metric-strip div + div {
	border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.metric-strip strong {
	color: #fff;
	display: block;
	font-size: 1.08rem;
	line-height: 1;
	margin-bottom: 0.25rem;
}

.metric-strip span {
	color: #b8c8c4;
	display: block;
	font-size: 0.8rem;
	line-height: 1.25;
}

.tellus-section {
	padding: 5.5rem 0;
}

.section-intro {
	margin: 0 auto 3rem;
	max-width: 890px;
	text-align: center;
}

.section-intro.compact {
	max-width: 780px;
}

.section-intro p:last-child {
	font-size: 1rem;
	line-height: 1.55;
	margin-bottom: 0;
}

.problem-section {
	background: #fff;
}

.pain-grid {
	display: grid;
	gap: 1.1rem;
	grid-template-columns: repeat(4, 1fr);
}

.pain-grid article,
.work-grid article {
	background: #fff;
	border: 1px solid var(--tellus-line);
	border-radius: 8px;
	padding: 1.35rem;
}

.pain-grid .icon {
	color: var(--tellus-blue);
	display: block;
	font-size: 1.25rem;
	margin-bottom: 1.1rem;
}

.pain-grid p,
.service-list p,
.work-grid p {
	font-size: 0.93rem;
	line-height: 1.55;
	margin-bottom: 0;
}

.services-section {
	background: var(--tellus-soft);
}

.service-list {
	border-top: 1px solid var(--tellus-line);
	display: grid;
}

.service-list article {
	align-items: start;
	border-bottom: 1px solid var(--tellus-line);
	display: grid;
	gap: 1.3rem;
	grid-template-columns: 0.65fr 1fr 0.7fr;
	padding: 1.45rem 0;
}

.service-list span {
	color: var(--tellus-blue);
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.45;
}

.process-section {
	background: #fff;
}

.process-list {
	counter-reset: process;
	display: grid;
	gap: 0.8rem;
	list-style: none;
	margin: 0;
}

.process-list li {
	background: #f8faf9;
	border: 1px solid var(--tellus-line);
	border-radius: 8px;
	counter-increment: process;
	display: grid;
	gap: 0.8rem;
	grid-template-columns: auto 1fr;
	padding: 1rem;
}

.process-list li:before {
	align-items: center;
	background: var(--tellus-dark);
	border-radius: 50%;
	color: #fff;
	content: counter(process);
	display: inline-flex;
	font-size: 0.82rem;
	font-weight: 700;
	height: 2rem;
	justify-content: center;
	line-height: 1;
	width: 2rem;
}

.process-list strong {
	display: block;
	margin-bottom: 0.25rem;
}

.process-list span {
	color: var(--tellus-muted);
	display: block;
	font-size: 0.93rem;
	line-height: 1.45;
}

.founder-section {
	background: linear-gradient(180deg, #f8faf9 0%, #fff 100%);
}

.founder-grid {
	align-items: center;
	display: grid;
	gap: clamp(2rem, 5vw, 4rem);
	grid-template-columns: minmax(240px, 0.44fr) 1fr;
}

.founder-image {
	background: #e8f1ee;
	border: 1px solid var(--tellus-line);
	border-radius: 8px;
	overflow: hidden;
}

.founder-image img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.founder-copy p {
	font-size: 0.98rem;
	line-height: 1.58;
	max-width: 790px;
}

.credential-grid {
	display: grid;
	gap: 0.7rem;
	grid-template-columns: repeat(2, 1fr);
	margin-top: 1.4rem;
}

.credential-grid span {
	background: #fff;
	border: 1px solid var(--tellus-line);
	border-radius: 8px;
	color: var(--tellus-ink);
	display: block;
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.35;
	padding: 0.85rem;
}

.use-case-section {
	background: #eef5f2;
}

.use-case-grid {
	display: grid;
	gap: 0.75rem;
	grid-template-columns: repeat(4, 1fr);
}

.use-case-grid span {
	background: rgba(255, 255, 255, 0.7);
	border: 1px solid rgba(25, 124, 104, 0.16);
	border-radius: 8px;
	color: var(--tellus-ink);
	display: block;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.35;
	min-height: 6.25rem;
	padding: 1rem;
}

.partner-section {
	background: #fff;
	padding-bottom: 4rem;
}

.partner-logos {
	display: grid;
	gap: 0.9rem;
	grid-template-columns: repeat(4, 1fr);
}

.partner-logos span {
	align-items: center;
	background: #f8faf9;
	border: 1px solid var(--tellus-line);
	border-radius: 8px;
	color: var(--tellus-dark);
	display: flex;
	font-size: clamp(1rem, 1.45vw, 1.22rem);
	font-weight: 700;
	justify-content: center;
	letter-spacing: 0.04em;
	line-height: 1.15;
	min-height: 7rem;
	padding: 1rem;
	text-align: center;
	text-transform: uppercase;
}

.partner-logos span > a {
	align-items: center;
	color: inherit;
	display: flex;
	flex: 1;
	justify-content: center;
	min-height: 0;
	min-width: 0;
	text-decoration: none;
	width: 100%;
}

.partner-logos span > a:focus-visible {
	border-radius: 4px;
	outline: 2px solid var(--tellus-green);
	outline-offset: 3px;
}

.partner-logos span img {
	display: block;
	height: auto;
	max-height: clamp(2.5rem, 4.5vw, 3.5rem);
	max-width: min(100%, 11.5rem);
	min-height: 0;
	min-width: 0;
	object-fit: contain;
	object-position: center;
	width: auto;
}

.work-section {
	background: #fbfcfb;
}

.work-grid {
	display: grid;
	gap: 1.1rem;
	grid-template-columns: repeat(3, 1fr);
}

.work-image {
	align-items: center;
	background: #f4f7f6;
	border-radius: 6px;
	display: flex;
	height: 185px;
	justify-content: center;
	margin-bottom: 1.2rem;
	overflow: hidden;
	padding: 0.8rem;
}

.work-image img {
	max-height: 100%;
	max-width: 100%;
	object-fit: contain;
	width: auto;
}

.work-grid a {
	color: var(--tellus-green);
	display: inline-block;
	font-size: 0.86rem;
	font-weight: 700;
	margin-top: 1.1rem;
	text-transform: uppercase;
}

.technology-section {
	background: #fff;
	padding: 2rem 0;
}

.tech-strip {
	background: var(--tellus-dark);
	border-radius: 8px;
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	justify-content: center;
	padding: 1rem;
}

.tech-strip span {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 999px;
	color: #fff;
	font-size: 0.86rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.2;
	padding: 0.58rem 0.8rem;
	text-transform: uppercase;
}

.audience-section {
	background: var(--tellus-dark);
	color: #d8e2df;
}

.audience-band {
	text-align: center;
}

.audience-band h2 {
	color: #fff;
	margin-left: auto;
	margin-right: auto;
	max-width: 900px;
}

.audience-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	justify-content: center;
	margin-top: 2rem;
}

.audience-list span {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 999px;
	color: #fff;
	font-size: 0.9rem;
	font-weight: 600;
	padding: 0.55rem 0.8rem;
}

.contact-section {
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.93), rgba(255, 255, 255, 0.82)),
		url("../../images/1280px-JALBTCX_Toolbox_Modules.svg.png") center/cover;
}

.contact-panel {
	align-items: center;
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid var(--tellus-line);
	border-radius: 8px;
	display: grid;
	gap: 2rem;
	grid-template-columns: 1fr auto;
	padding: clamp(1.5rem, 4vw, 3rem);
}

.contact-panel h2 {
	max-width: 780px;
}

.contact-panel p:last-child {
	margin-bottom: 0;
	max-width: 760px;
}

#footer {
	background: #0c171c;
	padding: 2.1rem 1rem;
}

#footer .copyright {
	color: rgba(255, 255, 255, 0.62);
	font-size: 0.82rem;
	letter-spacing: 0;
}

@media screen and (max-width: 1100px) {
	.hero-grid,
	.service-list article,
	.founder-grid,
	.contact-panel {
		grid-template-columns: 1fr;
	}

	.workflow-panel {
		max-width: 720px;
	}

	.pain-grid,
	.use-case-grid,
	.partner-logos {
		grid-template-columns: repeat(2, 1fr);
	}

	.founder-image {
		max-width: 360px;
	}
}

@media screen and (max-width: 860px) {
	body {
		font-size: 15.5px;
	}

	#header.tellus-hero,
	.hero-shell {
		min-height: auto;
	}

	.hero-shell {
		padding: 1rem 1.1rem 3rem;
	}

	.site-nav {
		align-items: flex-start;
		gap: 1rem;
		margin-bottom: 3.5rem;
	}

	.nav-links {
		flex-wrap: wrap;
		gap: 0.75rem 1rem;
		justify-content: flex-end;
	}

	.nav-links a {
		font-size: 0.76rem;
	}

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

	.tellus-section {
		padding: 4rem 0;
	}
}

@media screen and (max-width: 620px) {
	.site-nav {
		display: block;
	}

	.brand img {
		height: 36px;
	}

	.nav-links {
		justify-content: flex-start;
		margin-top: 1rem;
	}

	h1 {
		font-size: 2.15rem;
		line-height: 1.07;
	}

	h2 {
		font-size: 1.48rem;
		line-height: 1.18;
	}

	h3 {
		font-size: 1rem;
	}

	.hero-lede,
	.section-intro p:last-child,
	.founder-copy p {
		font-size: 0.98rem;
	}

	.button {
		font-size: 0.8rem;
	}

	.hero-actions,
	.hero-actions .button,
	.contact-panel .button {
		width: 100%;
	}

	.hero-actions .button,
	.contact-panel .button {
		text-align: center;
	}

	.hero-proof,
	.audience-list {
		display: grid;
	}

	.pain-grid,
	.use-case-grid,
	.credential-grid,
	.partner-logos,
	.metric-strip {
		grid-template-columns: 1fr;
	}

	.metric-strip div + div {
		border-left: 0;
		border-top: 1px solid rgba(255, 255, 255, 0.12);
	}

	.pipeline-item {
		grid-template-columns: 1fr;
	}

	.use-case-grid span {
		min-height: 0;
	}

	.contact-panel {
		padding: 1.2rem;
	}
}
