@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap");

:root {
	color-scheme: dark;
	--background: hsl(213 16% 12%);
	--surface: hsl(217 16% 15.5%);
	--surface-2: hsl(216 15% 19%);
	--surface-3: hsl(215 14% 22%);
	--foreground: hsl(213 27% 88%);
	--muted-foreground: hsl(213 14% 65%);
	--primary: hsl(193 44% 67%);
	--primary-foreground: hsl(213 16% 12%);
	--border: hsl(217 17% 28%);
	--border-hover: hsl(216 12% 37%);
	--input: hsl(217 17% 28%);
	--ring: hsl(193 44% 67%);
	--frost-1: hsl(176 25% 65%);
	--frost-2: hsl(193 44% 67%);
	--frost-3: hsl(210 34% 63%);
	--frost-4: hsl(213 32% 52%);
	--green: hsl(92 28% 65%);
	--orange: hsl(14 51% 63%);
	--font-sans:
		"JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
		monospace;
	--text-hero: clamp(2rem, 6vw, 42px);
	--text-stat: 26px;
	--text-heading: clamp(1.25rem, 3vw, 22px);
	--text-ui: 13px;
	--text-label: 11px;
	--spacing: 0.25rem;
	--radius: 0rem;
}

html.light {
	color-scheme: light;
	--background: hsl(218 27% 94%);
	--surface: hsl(218 27% 89%);
	--surface-2: hsl(219 28% 84%);
	--surface-3: hsl(219 20% 76%);
	--foreground: hsl(220 16% 22%);
	--muted-foreground: hsl(220 17% 28%);
	--primary: hsl(213 32% 40%);
	--primary-foreground: hsl(0 0% 100%);
	--border: hsl(219 18% 72%);
	--border-hover: hsl(220 17% 50%);
	--input: hsl(219 18% 72%);
	--ring: hsl(213 32% 40%);
	--frost-1: hsl(176 30% 35%);
	--frost-2: hsl(193 40% 38%);
	--frost-3: hsl(210 34% 40%);
	--frost-4: hsl(213 32% 36%);
	--green: hsl(92 35% 34%);
	--orange: hsl(14 55% 44%);
}

* {
	box-sizing: border-box;
}

html {
	min-height: 100%;
	scroll-behavior: smooth;
	font-family: var(--font-sans);
}

body {
	min-height: 100vh;
	margin: 0;
	background: var(--background);
	color: var(--foreground);
	font-family: var(--font-sans);
	font-size: var(--text-ui);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

::selection {
	background: hsl(193 44% 67% / 20%);
	color: var(--primary);
}

:focus-visible {
	outline: 2px solid var(--ring);
	outline-offset: 2px;
}

a {
	color: inherit;
}

button,
input,
select,
textarea {
	font: inherit;
}

code {
	color: var(--primary);
}

.max-w-content {
	max-width: 1200px;
	margin: 0 auto;
	padding-inline: 1rem;
}

.skip-link {
	position: fixed;
	left: 1rem;
	top: 1rem;
	z-index: 10;
	transform: translateY(-150%);
	background: var(--primary);
	color: var(--primary-foreground);
	padding: 0.5rem 0.75rem;
	text-decoration: none;
	border: 1px solid var(--primary);
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--background);
	border-bottom: 1px solid var(--border);
}

.header-grid {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 2rem;
	padding-block: 1rem;
}

.brand {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 600;
	text-decoration: none;
	letter-spacing: -0.02em;
}

.brand-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	background: var(--primary);
	color: var(--primary-foreground);
	font-size: 13px;
	font-weight: 700;
}

.nav {
	display: flex;
	gap: 1.5rem;
	font-size: 13px;
}

.nav a {
	text-decoration: none;
	opacity: 0.8;
	transition: opacity 0.1s ease;
}

.nav a:hover {
	opacity: 1;
}

.theme-toggle {
	font-size: 12px;
	padding: 0.35rem 0.75rem;
	border: 1px solid var(--border);
	background: transparent;
	color: var(--muted-foreground);
	cursor: pointer;
}

.theme-toggle:hover {
	border-color: var(--border-hover);
	color: var(--foreground);
}

.hero {
	padding-block: 1rem 0.5rem;
}

.hero-shell.card {
	padding: 0;
	overflow: hidden;
}

.hero-intro-grid {
	display: grid;
	min-width: 0;
}

.hero-brand-panel,
.hero-copy {
	display: flex;
	min-width: 0;
	align-items: center;
	padding: 1rem;
}

.hero-copy {
	flex-direction: column;
	align-items: flex-start;
	gap: 0.6rem;
	border-top: 1px solid var(--border);
}

@media (min-width: 900px) {
	.hero-intro-grid {
		grid-template-columns: 1fr 1fr;
	}

	.hero-brand-panel,
	.hero-copy {
		min-height: 156px;
		padding: 1.25rem 1.5rem;
	}

	.hero-copy {
		border-top: 0;
		border-left: 1px solid var(--border);
	}
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.rankinet-ascii {
	width: 100%;
	margin: 0;
	font-size: clamp(8px, 1.05vw, 12px);
	line-height: 1.05;
	letter-spacing: -1.2px;
	color: #ffffff;
	white-space: pre;
	overflow-x: auto;
}

.eyebrow {
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted-foreground);
	margin: 0;
}

.text-hero {
	font-size: clamp(1.25rem, 2vw, 20px);
	line-height: 1.25;
	font-weight: 600;
	letter-spacing: -0.03em;
	margin: 0;
	max-width: 34rem;
}

.hero-lede {
	font-size: clamp(0.92rem, 1.25vw, 15px);
	line-height: 1.45;
	max-width: 34rem;
	color: var(--foreground);
	margin: 0;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 0.15rem;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.65rem 1.1rem;
	font-size: 13px;
	text-decoration: none;
	border: 1px solid var(--border);
	background: transparent;
	color: var(--foreground);
	cursor: pointer;
	transition: all 0.1s ease;
}

.btn:hover {
	border-color: var(--border-hover);
}

.btn-primary {
	background: var(--primary);
	color: var(--primary-foreground);
	border-color: var(--primary);
}

.btn-primary:hover {
	background: var(--frost-2);
	border-color: var(--frost-2);
}

.hero-bg-panel {
	background: var(--background);
	overflow: hidden;
	position: relative;
}

#services {
	position: relative;
	z-index: 1;
	margin-top: -1px;
}

#hero-bg-canvas {
	display: block;
	width: 100%;
	height: 260px;
}

@media (min-width: 700px) {
	#hero-bg-canvas {
		height: 340px;
	}
}

.hero-bg-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	text-align: center;
	padding: 1rem;
	background: radial-gradient(
		circle at center,
		rgba(0, 0, 0, 0.55) 0%,
		rgba(0, 0, 0, 0.15) 70%
	);
	pointer-events: none;
}

.hero-bg-overlay > * {
	pointer-events: auto;
}

.hero-bg-eyebrow {
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--primary);
	margin: 0;
}

.hero-bg-title {
	font-size: clamp(1.4rem, 2.8vw, 28px);
	line-height: 1.15;
	font-weight: 600;
	letter-spacing: -0.03em;
	margin: 0;
	max-width: 28ch;
}

.hero-bg-desc {
	font-size: clamp(0.9rem, 1.4vw, 15px);
	line-height: 1.5;
	color: var(--muted-foreground);
	margin: 0;
	max-width: 46ch;
}

.hero-bg-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
	margin-top: 0.5rem;
}

.section {
	padding-block: 3rem;
}

.section-head {
	margin-bottom: 1.5rem;
}

.text-heading {
	font-size: var(--text-heading);
	font-weight: 600;
	margin: 0.35rem 0 0;
	line-height: 1.2;
}

.card-grid {
	display: grid;
	gap: 1rem;
}

@media (min-width: 700px) {
	.card-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.card {
	background: var(--surface);
	border: 1px solid var(--border);
	padding: 1.25rem;
}

.service-card {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.card-index {
	font-size: 11px;
	color: var(--primary);
	margin: 0;
}

.split {
	display: grid;
	gap: 2rem;
}

@media (min-width: 900px) {
	.split {
		grid-template-columns: 1fr 1.35fr;
	}
}

.process-list {
	display: grid;
	gap: 1rem;
	list-style: none;
	padding: 0;
	margin: 0;
}

.process-list li {
	padding: 1.25rem;
}

.process-list span {
	font-size: 11px;
	color: var(--primary);
}

.table-wrap {
	overflow-x: auto;
}

table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}

th,
td {
	padding: 0.85rem 1rem;
	text-align: left;
	border-bottom: 1px solid var(--border);
}

th {
	font-weight: 600;
	color: var(--muted-foreground);
	background: var(--surface-2);
}

.proof-grid {
	display: grid;
	gap: 1rem;
}

.metric {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.metric span {
	font-size: 11px;
	color: var(--primary);
	letter-spacing: 0.06em;
}

.metric strong {
	font-size: 22px;
	font-weight: 600;
}

.quote-section {
	display: grid;
	gap: 2rem;
}

@media (min-width: 900px) {
	.quote-section {
		grid-template-columns: 1fr 1.1fr;
	}
}

.quote-copy p {
	max-width: 42ch;
	color: var(--muted-foreground);
}

.check-list {
	margin: 1.25rem 0 0;
	padding-left: 1.1rem;
	color: var(--muted-foreground);
}

.check-list li {
	margin-bottom: 0.35rem;
}

.quote-form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.input {
	width: 100%;
	margin-top: 0.4rem;
	padding: 0.65rem 0.85rem;
	background: var(--input);
	border: 1px solid var(--border);
	color: var(--foreground);
	font-size: 14px;
}

.input:focus {
	outline: none;
	border-color: var(--ring);
}

.form-note {
	font-size: 11px;
	color: var(--muted-foreground);
	margin: 0;
}

.site-footer {
	border-top: 1px solid var(--border);
	padding-block: 2rem;
	font-size: 13px;
}

.footer-grid {
	display: grid;
	gap: 1.5rem;
}

@media (min-width: 700px) {
	.footer-grid {
		grid-template-columns: 1fr auto;
	}
}

.footer-links {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.sticky-label {
	align-self: start;
	position: sticky;
	top: 88px;
}

@media (min-width: 1024px) {
	.section {
		padding-block: 2rem;
	}

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

	.proof-grid {
		grid-template-columns: 0.9fr repeat(3, 1fr);
	}
}
