:root {
	--bg: #07090c;
	--bg-elev: #0d1116;
	--surface: rgba(255, 255, 255, 0.035);
	--surface-hover: rgba(255, 255, 255, 0.06);
	--border: rgba(255, 255, 255, 0.08);
	--border-strong: rgba(255, 255, 255, 0.16);
	--text: #eef1f5;
	--text-muted: #98a2b3;
	--text-dim: #667085;
	--teal: #12d6b8;
	--teal-soft: rgba(18, 214, 184, 0.14);
	--blue: #3b82f6;
	--radius: 20px;
	--radius-sm: 12px;
	--font-display: 'Space Grotesk', system-ui, sans-serif;
	--font-body: 'Inter', system-ui, -apple-system, sans-serif;
	--font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	color-scheme: dark;
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: 80px;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

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

img {
	height: auto;
}

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

h1,
h2,
h3,
h4 {
	font-family: var(--font-display);
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.15;
	margin: 0;
}

p {
	margin: 0;
}

ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

address {
	font-style: normal;
}

:focus-visible {
	outline: 2px solid var(--teal);
	outline-offset: 3px;
	border-radius: 6px;
}

svg path,
svg rect,
svg circle,
svg ellipse {
	fill: none;
	stroke: currentColor;
	stroke-width: 1.75;
	stroke-linecap: round;
	stroke-linejoin: round;
}

svg.fill path {
	fill: currentColor;
	stroke: none;
}

.container {
	width: 100%;
	max-width: 1160px;
	margin: 0 auto;
	padding: 0 16px;
}

@media (min-width: 640px) {
	.container {
		padding: 0 32px;
	}
}

/* ---------- Background ---------- */

.bg {
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	overflow: hidden;
}

.bg-grid {
	position: absolute;
	inset: 0;
	background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}

.bg-glow {
	position: absolute;
	border-radius: 50%;
	filter: blur(100px);
	opacity: 0.5;
}

.bg-glow-1 {
	width: 520px;
	height: 520px;
	top: -160px;
	right: -80px;
	background: radial-gradient(circle, rgba(18, 214, 184, 0.45), transparent 70%);
}

.bg-glow-2 {
	width: 600px;
	height: 600px;
	top: 120px;
	left: -260px;
	background: radial-gradient(circle, rgba(59, 130, 246, 0.25), transparent 70%);
}

/* ---------- Buttons ---------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 48px;
	padding: 0 22px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 15px;
	white-space: nowrap;
	border: 1px solid transparent;
	transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.btn svg {
	width: 18px;
	height: 18px;
	transition: transform 0.2s var(--ease);
}

.btn:hover svg {
	transform: translateX(3px);
}

.btn-sm {
	height: 38px;
	padding: 0 16px;
	font-size: 14px;
}

.btn-primary {
	background: var(--teal);
	color: #04130f;
	box-shadow: 0 0 0 0 rgba(18, 214, 184, 0), 0 8px 24px -8px rgba(18, 214, 184, 0.6);
}

.btn-primary:hover {
	transform: translateY(-1px);
	box-shadow: 0 0 0 4px rgba(18, 214, 184, 0.18), 0 12px 32px -8px rgba(18, 214, 184, 0.7);
}

.btn-ghost {
	border-color: var(--border-strong);
	color: var(--text);
	background: rgba(255, 255, 255, 0.02);
}

.btn-ghost:hover {
	background: var(--surface-hover);
	border-color: rgba(255, 255, 255, 0.28);
}

/* ---------- Nav ---------- */

.nav {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid transparent;
	transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}

.nav.is-scrolled {
	background: rgba(7, 9, 12, 0.72);
	border-bottom-color: var(--border);
	backdrop-filter: saturate(160%) blur(14px);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
}

.nav-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 72px;
	gap: 16px;
}

.nav-brand {
	display: block;
}

.logo {
	display: block;
	/* Exactly 1/6 of the viewBox: the logo's straight edges are drawn on a
	   6-unit grid, so they land on whole pixels on standard displays. */
	width: 124px;
	height: 64px;
	overflow: visible;
}

.logo-letters path {
	fill: var(--text);
	stroke: none;
}

.logo-wave,
.logo-drop {
	fill: var(--teal);
	stroke: none;
}

.logo mask rect {
	fill: #fff;
	stroke: none;
}

.logo-hole {
	fill: #000;
	stroke: none;
}

/* Liquid: one wavelength (176 units) scrolls by, so the loop is seamless. */
.logo-wave {
	animation: logo-wave 4.5s linear infinite;
}

@keyframes logo-wave {
	to {
		transform: translateX(176px);
	}
}

/*
 * Bubble cycle. Each bubble is a pair sharing duration and delay:
 * a hole in the liquid that rises to the surface, then a drop that
 * breaks free, floats out of the tube and fades.
 */
.logo-hole,
.logo-drop {
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}

.logo-hole {
	animation-name: logo-hole;
}

.logo-drop {
	transform-box: fill-box;
	transform-origin: center;
	animation-name: logo-drop;
}

@keyframes logo-hole {
	0% {
		transform: translateY(0) scale(0.6);
		opacity: 0;
		animation-timing-function: ease-in;
	}
	8% {
		opacity: 1;
	}
	48% {
		transform: translateY(-210px) scale(1);
		opacity: 1;
	}
	49%,
	100% {
		transform: translateY(-210px) scale(1);
		opacity: 0;
	}
}

@keyframes logo-drop {
	0%,
	40% {
		transform: translate(0, 10px) scale(0.3);
		opacity: 0;
	}
	47% {
		transform: translate(0, -4px) scale(1);
		opacity: 1;
		animation-timing-function: ease-in-out;
	}
	70% {
		transform: translate(calc(var(--dx) * 0.2), -62px) scale(1);
	}
	90% {
		opacity: 1;
	}
	100% {
		transform: translate(var(--dx), var(--dy)) scale(0.55);
		opacity: 0;
	}
}

.footer-brand .logo {
	margin-bottom: 14px;
}

.sprite {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}

.sprite path {
	fill: currentColor;
	stroke: none;
}

.nav-links {
	display: none;
	gap: 32px;
	font-size: 15px;
	color: var(--text-muted);
}

.nav-links a {
	transition: color 0.2s;
}

.nav-links a:hover {
	color: var(--text);
}

@media (min-width: 760px) {
	.nav-links {
		display: flex;
	}
}

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

.hero {
	padding: 24px 0 72px;
}

.hero-inner {
	display: grid;
	gap: 48px;
	align-items: center;
}

/* Hero build animation */

.build {
	position: relative;
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
	font-family: var(--font-mono);
	transition: opacity 0.5s;
}

.build.is-resetting {
	opacity: 0.25;
}

.build-graph {
	position: relative;
	aspect-ratio: 16 / 8.5;
}

.build-graph::before {
	content: '';
	position: absolute;
	inset: 10% 25%;
	background: radial-gradient(ellipse, rgba(18, 214, 184, 0.22), transparent 65%);
	filter: blur(24px);
	pointer-events: none;
}

.build-lines {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.build-lines line {
	stroke: rgba(255, 255, 255, 0.1);
	stroke-width: 1;
	stroke-dasharray: 3 5;
	transition: stroke 0.4s;
}

.build-lines line.is-on {
	stroke: rgba(18, 214, 184, 0.55);
	stroke-dasharray: none;
}

.build-core {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 64px;
	height: 64px;
	transform: translate(-50%, -50%);
	display: grid;
	place-items: center;
	border-radius: 20px;
	color: var(--teal);
	background: radial-gradient(circle at 30% 20%, rgba(18, 214, 184, 0.3), rgba(18, 214, 184, 0.08)), var(--bg-elev);
	border: 1px solid rgba(18, 214, 184, 0.45);
	box-shadow: 0 0 40px -6px rgba(18, 214, 184, 0.55);
	z-index: 2;
}

.build-core svg {
	width: 30px;
	height: 30px;
}

.build-core::after {
	content: '';
	position: absolute;
	inset: -1px;
	border-radius: inherit;
	border: 1px solid var(--teal);
	opacity: 0;
}

.build.is-running .build-core::after {
	animation: core-ring 1.4s var(--ease) infinite;
}

@keyframes core-ring {
	0% {
		transform: scale(1);
		opacity: 0.8;
	}
	100% {
		transform: scale(1.6);
		opacity: 0;
	}
}

.build-tool {
	position: absolute;
	width: 44px;
	height: 44px;
	transform: translate(-50%, -50%);
	display: grid;
	place-items: center;
	border-radius: 12px;
	background: var(--bg-elev);
	border: 1px solid var(--border);
	color: var(--text-dim);
	opacity: 0.55;
	transition: color 0.4s, opacity 0.4s, border-color 0.4s, box-shadow 0.4s, transform 0.4s var(--ease);
	z-index: 1;
}

.build-tool svg {
	width: 20px;
	height: 20px;
}

.build-tool.is-on {
	color: var(--text);
	opacity: 1;
	border-color: rgba(18, 214, 184, 0.45);
	transform: translate(-50%, -50%) scale(1.08);
}

.build-tool.is-busy {
	box-shadow: 0 0 0 4px rgba(18, 214, 184, 0.15), 0 0 28px -4px rgba(18, 214, 184, 0.7);
}

.build-pulse {
	position: absolute;
	width: 8px;
	height: 8px;
	margin: -4px 0 0 -4px;
	border-radius: 50%;
	background: var(--teal);
	box-shadow: 0 0 12px var(--teal);
	opacity: 0;
	left: 50%;
	top: 50%;
	z-index: 1;
}

.build-pulse.is-busy {
	animation: travel 0.9s ease-in-out infinite alternate;
}

@keyframes travel {
	0% {
		left: 50%;
		top: 50%;
		opacity: 0;
	}
	15%,
	85% {
		opacity: 1;
	}
	100% {
		left: var(--x);
		top: var(--y);
		opacity: 0;
	}
}

.build-editor,
.build-run {
	min-width: 0;
	border-radius: 14px;
	background: rgba(9, 12, 16, 0.9);
	border: 1px solid var(--border);
	box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.9);
	overflow: hidden;
}

.win-bar {
	display: flex;
	align-items: center;
	gap: 6px;
	height: 34px;
	padding: 0 12px;
	border-bottom: 1px solid var(--border);
	font-size: 11.5px;
	color: var(--text-dim);
}

.win-bar i {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
}

.win-bar i + span {
	margin-left: 6px;
}

.build-editor pre {
	margin: 0;
	padding: 12px 14px;
	min-height: calc(8 * 1.7em + 24px);
	font-family: var(--font-mono);
	font-size: 11.5px;
	line-height: 1.7;
	color: var(--text);
	white-space: pre;
	overflow: hidden;
}

.c-k {
	color: #c792ea;
}

.c-s {
	color: #a5e3b8;
}

.c-f {
	color: #82aaff;
}

.c-t {
	color: var(--teal);
	font-weight: 600;
}

.build-run ul {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 6px;
	padding: 12px;
	min-height: calc(3 * 30px + 2 * 6px + 24px);
	align-content: start;
}

.build-run li {
	display: flex;
	align-items: center;
	gap: 8px;
	height: 30px;
	padding: 0 10px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.03);
	font-size: 11.5px;
	color: var(--text-muted);
	animation: log-in 0.35s var(--ease);
}

.build-run li > svg {
	flex: none;
	width: 14px;
	height: 14px;
	color: var(--text);
}

.build-run li span {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

@keyframes log-in {
	from {
		opacity: 0;
		transform: translateY(6px);
	}
}

.build-state {
	flex: none;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	border: 1.5px solid rgba(18, 214, 184, 0.25);
	border-top-color: var(--teal);
	animation: spin 0.8s linear infinite;
}

.is-done .build-state {
	animation: none;
	border: none;
	width: 10px;
	height: 6px;
	border-left: 2px solid var(--teal);
	border-bottom: 2px solid var(--teal);
	border-radius: 0;
	transform: rotate(-45deg) translateY(-2px);
}

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

.build-status {
	margin: 0 12px 12px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border-radius: 8px;
	font-size: 11.5px;
	font-weight: 600;
	color: var(--teal);
	background: rgba(18, 214, 184, 0.1);
	border: 1px solid rgba(18, 214, 184, 0.3);
	opacity: 0;
	transform: translateY(4px);
	transition: opacity 0.4s, transform 0.4s var(--ease);
}

.build-status::before {
	content: '✓';
}

.build-status.is-visible {
	opacity: 1;
	transform: none;
}

@media (min-width: 560px) {
	.build {
		grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	}
	.build-graph {
		grid-column: 1 / -1;
	}
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 6px 14px;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: var(--surface);
	font-size: 13px;
	color: var(--text-muted);
	margin-bottom: 24px;
}

.dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--teal);
	box-shadow: 0 0 0 0 rgba(18, 214, 184, 0.6);
	animation: pulse 2.2s infinite;
}

@keyframes pulse {
	70% {
		box-shadow: 0 0 0 8px rgba(18, 214, 184, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(18, 214, 184, 0);
	}
}

.hero-title {
	font-size: clamp(40px, 5.4vw, 60px);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.02;
}

.gradient-text {
	background: linear-gradient(100deg, var(--teal) 10%, #6ee7f9 55%, #8fb4ff 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.hero-lead {
	margin-top: 24px;
	font-size: 18px;
	color: var(--text-muted);
	max-width: 520px;
}

.hero-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
}

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 32px;
}

.chips li {
	font-family: var(--font-mono);
	font-size: 12px;
	color: var(--text-dim);
	padding: 4px 10px;
	border: 1px solid var(--border);
	border-radius: 6px;
}

@media (min-width: 960px) {
	.hero {
		padding: 48px 0 112px;
	}
	.hero-inner {
		grid-template-columns: 1.1fr 1fr;
		gap: 48px;
	}
}

/* ---------- Sections ---------- */

.section {
	padding: 72px 0;
}

@media (min-width: 960px) {
	.section {
		padding: 104px 0;
	}
}

.section-head {
	max-width: 680px;
	margin-bottom: 48px;
}

.kicker {
	font-family: var(--font-mono);
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--teal);
	margin-bottom: 14px;
}

.section-head h2,
.about-copy h2,
.cta h2 {
	font-size: clamp(30px, 4.4vw, 46px);
}

.section-lead {
	margin-top: 16px;
	color: var(--text-muted);
	font-size: 18px;
}

.subhead {
	font-family: var(--font-mono);
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--text-dim);
	margin: 56px 0 20px;
	display: flex;
	align-items: center;
	gap: 16px;
}

.subhead::after {
	content: '';
	flex: 1;
	height: 1px;
	background: var(--border);
}

/* ---------- Cards ---------- */

.card {
	--mx: 50%;
	--my: 0%;
	position: relative;
	padding: 28px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--surface);
	overflow: hidden;
	transition: border-color 0.3s, transform 0.3s var(--ease);
}

.card::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(420px circle at var(--mx) var(--my), rgba(18, 214, 184, 0.09), transparent 40%);
	opacity: 0;
	transition: opacity 0.3s;
	pointer-events: none;
}

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

.card:hover::before {
	opacity: 1;
}

.card > * {
	position: relative;
}

.card h3 {
	font-size: 22px;
	margin-top: 20px;
}

.card h4 {
	font-size: 18px;
	margin-top: 16px;
}

.card p {
	margin-top: 10px;
	color: var(--text-muted);
	font-size: 15.5px;
}

.card-icon {
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	border-radius: 12px;
	background: var(--teal-soft);
	color: var(--teal);
	border: 1px solid rgba(18, 214, 184, 0.25);
}

.card-icon svg {
	width: 22px;
	height: 22px;
}

.card-icon-muted {
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.04);
	border-color: var(--border);
	color: var(--text-muted);
}

.card-icon-muted svg {
	width: 19px;
	height: 19px;
}

.ai-grid {
	display: grid;
	gap: 16px;
}

.card-ai {
	background: linear-gradient(180deg, rgba(18, 214, 184, 0.05), rgba(255, 255, 255, 0.02) 60%);
	border-color: rgba(18, 214, 184, 0.16);
}

.card-ai-main {
	padding: 32px;
}

.card-ai-main h3 {
	font-size: 28px;
}

.card-ai-main p {
	font-size: 17px;
	max-width: 460px;
}

.badge {
	position: absolute !important;
	top: 24px;
	right: 24px;
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--teal);
	padding: 4px 10px;
	border-radius: 999px;
	border: 1px solid rgba(18, 214, 184, 0.35);
	background: rgba(18, 214, 184, 0.08);
}

.tick-list {
	margin-top: 20px;
	display: grid;
	gap: 8px;
	font-size: 15px;
	color: var(--text);
}

.tick-list li {
	display: flex;
	gap: 10px;
	align-items: baseline;
}

.tick-list li::before {
	content: '';
	flex: none;
	width: 12px;
	height: 7px;
	border-left: 2px solid var(--teal);
	border-bottom: 2px solid var(--teal);
	transform: rotate(-45deg) translateY(-3px);
}

.foundation-grid {
	display: grid;
	gap: 16px;
}

.card-sm {
	padding: 24px;
}

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

@media (min-width: 960px) {
	.ai-grid {
		grid-template-columns: 1.35fr 1fr;
		grid-template-rows: auto auto;
	}
	.card-ai-main {
		grid-row: span 2;
		display: flex;
		flex-direction: column;
		justify-content: flex-end;
		min-height: 420px;
	}
	.foundation-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

.agent-flow {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 auto;
	padding: 48px 0 32px;
	list-style: none;
	font-family: var(--font-mono);
	font-size: 12px;
	color: var(--text-muted);
}

.agent-flow li {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 12px;
	border-radius: 8px;
	border: 1px solid var(--border);
	background: rgba(255, 255, 255, 0.03);
}

.agent-flow li + li::before {
	content: '→';
	margin-left: -2px;
	color: var(--text-dim);
	order: -1;
	position: absolute;
	transform: translateX(-22px);
}

.agent-flow li + li {
	position: relative;
	margin-left: 14px;
}

.agent-flow .is-done {
	color: var(--teal);
	border-color: rgba(18, 214, 184, 0.35);
	background: rgba(18, 214, 184, 0.08);
}

/* ---------- Projects: briq ---------- */

.briq {
	--briq-bg: #141110;
	--briq-brick: #1d1916;
	--briq-orange: #f06a3c;
	--briq-cream: #f3eee8;
	--briq-muted: #a39b91;
	--briq-line: rgba(243, 238, 232, 0.1);
	--briq-green: #4fb47e;
	--briq-blue: #6b86f5;
	--briq-purple: #b48cf0;
	position: relative;
	overflow: hidden;
	border-radius: 24px;
	border: 1px solid var(--briq-line);
	background: var(--briq-bg);
	color: var(--briq-cream);
	font-family: 'Instrument Sans', var(--font-body);
	box-shadow: 0 40px 80px -40px rgba(240, 106, 60, 0.35);
}

.briq-wall {
	position: absolute;
	inset: 0;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='104' height='104'%3E%3Cg fill='%231d1916'%3E%3Crect x='2' y='2' width='100' height='46' rx='3'/%3E%3Crect x='-50' y='54' width='100' height='46' rx='3'/%3E%3Crect x='54' y='54' width='100' height='46' rx='3'/%3E%3C/g%3E%3C/svg%3E");
	background-size: 104px 104px;
	mask-image: linear-gradient(100deg, transparent 20%, #000 70%);
	-webkit-mask-image: linear-gradient(100deg, transparent 20%, #000 70%);
	pointer-events: none;
}

.briq > *:not(.briq-wall) {
	position: relative;
}

.briq-main {
	display: grid;
	gap: 32px;
	padding: 32px 24px 8px;
}

.briq-brand {
	display: flex;
	align-items: center;
	gap: 12px;
}

.briq-mark {
	width: 36px;
	height: 36px;
}

.briq-mark rect {
	fill: var(--briq-orange);
	stroke: none;
}

.briq-wordmark {
	font-family: 'Bricolage Grotesque', var(--font-display);
	font-size: 34px;
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1;
}

.briq-live {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-left: 4px;
	padding: 3px 10px;
	border-radius: 999px;
	border: 1px solid rgba(240, 106, 60, 0.4);
	background: rgba(240, 106, 60, 0.1);
	color: var(--briq-orange);
	font-family: 'IBM Plex Mono', var(--font-mono);
	font-size: 12px;
}

.briq-live .dot {
	background: var(--briq-orange);
	box-shadow: none;
	animation: none;
}

.briq-eyebrow {
	margin-top: 28px;
	font-family: 'IBM Plex Mono', var(--font-mono);
	font-size: 13px;
	color: var(--briq-muted);
}

.briq-title {
	margin-top: 12px;
	font-family: 'Bricolage Grotesque', var(--font-display);
	font-size: clamp(36px, 5vw, 56px);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1;
	color: var(--briq-cream);
}

.briq-lead {
	margin-top: 18px;
	max-width: 440px;
	font-size: 18px;
	color: var(--briq-muted);
}

.briq-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 28px;
}

.briq-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 46px;
	padding: 0 20px;
	border-radius: 8px;
	background: var(--briq-orange);
	color: #1a0e08;
	font-weight: 600;
	font-size: 15px;
	transition: transform 0.2s var(--ease), background 0.2s;
}

.briq-btn svg {
	width: 18px;
	height: 18px;
	transition: transform 0.2s var(--ease);
}

.briq-btn:hover {
	background: #ff7d4f;
	transform: translateY(-1px);
}

.briq-btn:hover svg {
	transform: translateX(3px);
}

.briq-btn-ghost {
	background: transparent;
	color: var(--briq-cream);
	border: 1px solid rgba(243, 238, 232, 0.22);
}

.briq-btn-ghost:hover {
	background: rgba(243, 238, 232, 0.06);
}

.briq-note {
	margin-top: 16px;
	font-family: 'IBM Plex Mono', var(--font-mono);
	font-size: 12px;
	color: var(--briq-muted);
}

/* Diagram: an agent wired to the services it started */

.briq-visual {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
}

.briq-diagram {
	width: 100%;
	max-width: 460px;
	overflow: visible;
}

.briq-diagram rect {
	fill: var(--briq-orange);
	stroke: none;
}

.briq-diagram .briq-eye {
	fill: var(--briq-bg);
}

.briq-diagram .briq-green {
	fill: var(--briq-green);
}

.briq-diagram .briq-blue {
	fill: var(--briq-blue);
}

.briq-diagram .briq-purple {
	fill: var(--briq-purple);
}

.briq-diagram svg path {
	fill: var(--briq-bg);
	stroke: none;
}

.briq-diagram .briq-link {
	fill: none;
	stroke-width: 3;
	stroke-linecap: round;
	stroke-dasharray: 0 9;
	animation: briq-flow 1s linear infinite;
}

.briq-link-green {
	stroke: var(--briq-green);
}

.briq-link-blue {
	stroke: var(--briq-blue);
}

.briq-link-purple {
	stroke: var(--briq-purple);
}

@keyframes briq-flow {
	to {
		stroke-dashoffset: -18;
	}
}

.briq-tag {
	font-family: 'IBM Plex Mono', var(--font-mono);
	font-size: 12px;
	fill: var(--briq-muted);
}

.briq-node {
	transform-box: fill-box;
	transform-origin: center;
}

.js .briq .briq-node,
.js .briq .briq-link,
.js .briq .briq-tag {
	opacity: 0;
	transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.js .briq .briq-node {
	transform: scale(0.7);
}

.js .briq.is-visible .briq-node,
.js .briq.is-visible .briq-link,
.js .briq.is-visible .briq-tag {
	opacity: 1;
	transform: none;
}

.js .briq.is-visible .briq-node-agent {
	transition-delay: 0.3s;
}

.js .briq.is-visible .briq-link {
	transition-delay: 0.7s;
}

.js .briq.is-visible .briq-node-1 {
	transition-delay: 0.9s;
}

.js .briq.is-visible .briq-node-2 {
	transition-delay: 1.05s;
}

.js .briq.is-visible .briq-node-3 {
	transition-delay: 1.2s;
}

.js .briq.is-visible .briq-node-4,
.js .briq.is-visible .briq-tag {
	transition-delay: 1.35s;
}

.briq-ticker {
	position: relative;
	height: 32px;
	min-width: 290px;
	font-family: 'IBM Plex Mono', var(--font-mono);
	font-size: 12px;
	color: var(--briq-cream);
}

.briq-ticker span {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 14px;
	border-radius: 8px;
	border: 1px solid var(--briq-line);
	background: rgba(20, 17, 16, 0.85);
	white-space: nowrap;
	opacity: 0;
	animation: briq-tick 9s infinite;
}

.briq-ticker span:nth-child(2) {
	animation-delay: 3s;
}

.briq-ticker span:nth-child(3) {
	animation-delay: 6s;
}

@keyframes briq-tick {
	0% {
		opacity: 0;
	}
	3%,
	30% {
		opacity: 1;
	}
	33%,
	100% {
		opacity: 0;
	}
}

.briq-features {
	display: grid;
	gap: 1px;
	margin: 32px 0 0;
	background: var(--briq-line);
	border-top: 1px solid var(--briq-line);
}

.briq-features li {
	padding: 24px;
	background: var(--briq-bg);
}

.briq-key {
	display: inline-block;
	font-family: 'IBM Plex Mono', var(--font-mono);
	font-size: 12px;
	color: var(--briq-orange);
}

.briq-features strong {
	display: block;
	margin-top: 8px;
	font-family: 'Bricolage Grotesque', var(--font-display);
	font-size: 19px;
	font-weight: 600;
	letter-spacing: -0.02em;
}

.briq-features p {
	margin-top: 6px;
	font-size: 14.5px;
	color: var(--briq-muted);
}

.briq-foot {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 24px;
	padding: 16px 24px;
	border-top: 1px solid var(--briq-line);
	font-family: 'IBM Plex Mono', var(--font-mono);
	font-size: 12px;
	color: var(--briq-muted);
}

.briq-foot a:hover {
	color: var(--briq-orange);
}

.briq-foot span {
	margin-left: auto;
}

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

@media (min-width: 960px) {
	.briq-main {
		grid-template-columns: 1fr 1fr;
		align-items: center;
		padding: 48px 48px 16px;
	}
	.briq-features {
		grid-template-columns: repeat(4, 1fr);
	}
	.briq-foot {
		padding: 16px 48px;
	}
}

.caret {
	display: inline-block;
	width: 7px;
	height: 14px;
	margin-left: 4px;
	vertical-align: -2px;
	background: var(--teal);
	animation: blink 1.1s steps(1) infinite;
}

@keyframes blink {
	50% {
		opacity: 0;
	}
}

/* ---------- About ---------- */

.about {
	display: grid;
	gap: 40px;
	align-items: center;
}

.about-photo {
	position: relative;
	max-width: 360px;
}

.about-photo::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 28px;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.about-photo img {
	border-radius: 28px;
	box-shadow: 0 30px 60px -30px rgba(18, 214, 184, 0.35);
}

.about-copy p:not(.kicker) {
	margin-top: 20px;
	color: var(--text-muted);
	font-size: 18px;
	max-width: 560px;
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 24px;
	font-weight: 600;
	color: var(--teal);
}

.text-link svg {
	width: 18px;
	height: 18px;
}

@media (min-width: 860px) {
	.about {
		grid-template-columns: 360px 1fr;
		gap: 72px;
	}
}

/* ---------- CTA ---------- */

.section-cta {
	padding-top: 24px;
}

.cta {
	position: relative;
	text-align: center;
	padding: 56px 24px;
	border-radius: 28px;
	border: 1px solid rgba(18, 214, 184, 0.25);
	background: radial-gradient(ellipse at 50% 0%, rgba(18, 214, 184, 0.18), transparent 65%), var(--bg-elev);
	overflow: hidden;
}

.cta p {
	margin: 16px auto 32px;
	color: var(--text-muted);
	font-size: 18px;
	max-width: 480px;
}

@media (min-width: 960px) {
	.cta {
		padding: 80px 48px;
	}
}

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

.footer {
	border-top: 1px solid var(--border);
	padding: 48px 0;
	font-size: 14px;
	color: var(--text-dim);
}

.footer-inner {
	display: grid;
	gap: 32px;
}


.socials {
	display: flex;
	gap: 8px;
}

.socials a {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	border: 1px solid var(--border);
	color: var(--text-muted);
	transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.socials a:hover {
	color: var(--teal);
	border-color: rgba(18, 214, 184, 0.35);
	background: var(--teal-soft);
}

.socials svg {
	width: 18px;
	height: 18px;
}

@media (min-width: 760px) {
	.footer-inner {
		grid-template-columns: 1fr auto auto;
		align-items: start;
		gap: 64px;
	}
}

/* ---------- Reveal ---------- */

.js .reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.8s var(--ease) var(--delay, 0ms), transform 0.8s var(--ease) var(--delay, 0ms);
}

.js .reveal.is-visible {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	.js .reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
	.dot,
	.caret,
	.briq-link {
		animation: none !important;
	}
	.logo * {
		animation-play-state: paused !important;
	}
	.briq-ticker span {
		animation: none;
	}
	.briq-ticker span:first-child {
		opacity: 1;
	}
	.js .briq .briq-node,
	.js .briq .briq-link,
	.js .briq .briq-tag {
		opacity: 1;
		transform: none;
		transition: none;
	}
}
