:root {
	--cream: #f6f3ef;
	--ink: #111827;
	--muted: #6b7280;
	--navy: #12126b;
	--navy-deep: #0d0d4f;
	--gold: #e8a020;
	--card: #ffffff;
	--border: #e5e7eb;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: 'DM Sans', system-ui, sans-serif;
	background: var(--cream);
	color: var(--ink);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

.shell {
	width: 100%;
	max-width: 68rem;
	margin: 0 auto;
	padding: 0 24px;
}

.band {
	background: var(--navy) url('/adire.svg') repeat;
	color: #fff;
}

.band--cream {
	background: var(--cream);
	color: var(--ink);
}

.topbar {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 20px 24px;
}

.badge {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: var(--gold);
	color: #fff;
	font-size: 17px;
	font-weight: 700;
}

.topbar .name {
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
}

.hero {
	display: grid;
	align-items: end;
	gap: 36px 64px;
	grid-template-columns: 1fr;
	min-height: 30rem;
	align-content: center;
	padding: 48px 0 96px;
}

.hero h1 {
	margin: 0;
	font-size: clamp(2.6rem, 7vw, 4.6rem);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.05;
}

.gold {
	color: var(--gold);
}

.hero p {
	max-width: 26rem;
	margin: 0 0 28px;
	color: rgba(255, 255, 255, 0.62);
	font-size: 17px;
}

.pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 26px;
	border-radius: 999px;
	background: var(--gold);
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.crumb {
	padding: 28px 0 36px;
}

.crumb h1 {
	margin: 0;
	font-size: clamp(1.6rem, 4vw, 2.25rem);
	font-weight: 700;
}

.crumb p {
	margin: 8px 0 0;
	color: rgba(255, 255, 255, 0.55);
	font-size: 13px;
}

.movement {
	display: flex;
	align-items: center;
	min-height: 33.5rem;
	padding: 72px 0;
}

.movement > .shell {
	width: 100%;
}

.eyebrow {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 28px;
	font-family: 'JetBrains Mono', ui-monospace, monospace;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--gold);
}

.eyebrow::after {
	content: '';
	flex: 1;
	height: 1px;
	background: currentColor;
	opacity: 0.3;
}

.band--cream .eyebrow {
	color: var(--muted);
}

.spread {
	display: grid;
	gap: 40px 64px;
	grid-template-columns: 1fr;
	align-items: center;
}

.statement {
	margin: 0;
	font-size: clamp(1.75rem, 4vw, 2.6rem);
	font-weight: 700;
	line-height: 1.18;
	letter-spacing: -0.015em;
}

.band--cream .statement {
	color: var(--navy);
}

.lede {
	margin: 20px 0 0;
	font-size: 17px;
	line-height: 1.5;
}

.band .lede {
	color: rgba(255, 255, 255, 0.66);
}

.band--cream .lede {
	color: var(--muted);
}

.band .band--cream a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}

.band a {
	text-decoration-color: var(--gold);
}

.chat {
	view-timeline: --chat block;
	max-width: 25rem;
	padding: 16px;
	border-radius: 20px;
	background: rgba(0, 0, 0, 0.24);
}

.thread {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 10px;
	height: 17rem;
	overflow: hidden;
	padding: 4px;
}

.composer {
	display: flex;
	gap: 8px;
	margin-top: 14px;
}

.composer input {
	flex: 1;
	min-width: 0;
	padding: 10px 14px;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.95);
	color: var(--ink);
	font: inherit;
	font-size: 13px;
}

.composer input::placeholder {
	color: var(--muted);
}

.composer input:focus-visible {
	outline: 2px solid var(--gold);
	outline-offset: 2px;
}

.composer button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	flex: none;
	border: 0;
	border-radius: 50%;
	background: var(--gold);
	color: #fff;
	cursor: pointer;
}

.bubble {
	margin: 0;
	flex: none;
	max-width: 85%;
	padding: 10px 14px;
	border-radius: 16px;
	color: var(--ink);
	font-size: 14px;
	line-height: 1.45;
}

.bubble.them {
	align-self: flex-start;
	border-bottom-left-radius: 5px;
	transform-origin: 0 100%;
	background: #fff;
}

.bubble.me {
	align-self: flex-end;
	border-bottom-right-radius: 5px;
	transform-origin: 100% 100%;
	background: #d9fdd3;
}

.bubble .stamp {
	display: block;
	margin-top: 4px;
	color: var(--muted);
	font-family: 'JetBrains Mono', ui-monospace, monospace;
	font-size: 10px;
	text-align: right;
}

@media (prefers-reduced-motion: no-preference) {
	@supports (animation-timeline: view()) {
		.chat .bubble:not(.live) {
			animation: converse linear both;
			animation-timeline: --chat;
		}

		.chat .bubble:nth-child(1) {
			animation-range: cover 18% cover 34%;
		}

		.chat .bubble:nth-child(2) {
			animation-range: cover 34% cover 50%;
		}

		.chat .bubble:nth-child(3) {
			animation-range: cover 50% cover 66%;
		}

		.thread.engaged .bubble:not(.live) {
			animation: none;
			opacity: 1;
		}
	}
}

@keyframes converse {
	0% {
		opacity: 0;
		transform: translateY(18px) scale(0.45);
	}

	55% {
		opacity: 1;
	}

	72% {
		transform: translateY(0) scale(1.05);
	}

	100% {
		opacity: 1;
		transform: none;
	}
}

.bubble.live {
	animation: converse 340ms cubic-bezier(0.22, 1.15, 0.36, 1) both;
}

.caption {
	margin: 16px 0 0;
	font-family: 'JetBrains Mono', ui-monospace, monospace;
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.band .caption {
	color: rgba(255, 255, 255, 0.4);
}

.band--cream .caption {
	color: var(--muted);
}

.flow {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: step;
}

.flow li {
	position: relative;
	padding: 0 0 26px 38px;
	border-left: 1px solid rgba(17, 24, 39, 0.14);
	counter-increment: step;
	font-size: 17px;
	font-weight: 500;
	line-height: 1.4;
}

.band .flow li {
	border-left-color: rgba(255, 255, 255, 0.18);
}

.flow li:last-child {
	padding-bottom: 0;
	border-left-color: transparent;
}

.flow li::before {
	content: counter(step);
	position: absolute;
	left: -11px;
	top: 2px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--gold);
	color: #fff;
	font-family: 'JetBrains Mono', ui-monospace, monospace;
	font-size: 11px;
	font-weight: 700;
}

.gauge p {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
	margin: 0 0 8px;
	font-family: 'JetBrains Mono', ui-monospace, monospace;
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.gauge p span {
	font-size: 19px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
}

.bar {
	height: 12px;
	margin: 0 0 32px;
	border-radius: 999px;
	background: rgba(17, 24, 39, 0.08);
}

.bar:last-child {
	margin-bottom: 0;
}

.bar i {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: var(--navy);
}

.bar--half i {
	width: 50%;
}

.bar--full i {
	width: 100%;
	background: var(--gold);
}

.cta {
	text-align: center;
}

.cta .eyebrow {
	justify-content: center;
}

.cta .eyebrow::after {
	display: none;
}

.cta .statement {
	margin: 0 auto 28px;
	max-width: 16ch;
}

.mailto {
	display: inline-block;
	margin: 0;
	font-family: 'JetBrains Mono', ui-monospace, monospace;
	font-size: clamp(1rem, 2.6vw, 1.4rem);
	font-weight: 500;
}

.mailto a {
	color: #fff;
	text-decoration-color: var(--gold);
	text-decoration-thickness: 2px;
	text-underline-offset: 5px;
}

main {
	padding: 56px 0;
}

h2 {
	margin: 0 0 16px;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
}

p {
	margin: 0 0 16px;
}

.legal h2 {
	color: var(--navy);
}

.legal {
	max-width: 44rem;
}

.legal p,
.legal li {
	font-size: 15px;
}

.legal a {
	color: var(--navy);
}

.legal ul,
.legal ol {
	margin: 0 0 16px;
	padding-left: 20px;
}

.legal li {
	margin-bottom: 8px;
}

.legal p:last-child {
	margin-bottom: 0;
}

.todo {
	padding: 1px 4px;
	border-radius: 4px;
	background: #fef3c7;
	color: #b45309;
	font-size: 13px;
	font-weight: 600;
}

footer {
	border-top: 1px solid var(--border);
	background: var(--cream);
	color: var(--ink);
	padding: 56px 0 48px;
}

footer .eyebrow {
	color: var(--muted);
}

.colophon {
	display: grid;
	gap: 36px;
	grid-template-columns: 1fr;
}

.entity {
	margin: 0 0 20px;
	color: var(--navy);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.4;
}

footer dl {
	display: grid;
	gap: 10px 20px;
	grid-template-columns: max-content 1fr;
	margin: 0;
	font-size: 14px;
}

footer dt {
	color: var(--muted);
	font-family: 'JetBrains Mono', ui-monospace, monospace;
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

footer dd {
	margin: 0;
	color: var(--ink);
}

footer dd a {
	color: var(--navy);
	text-decoration-color: var(--gold);
	text-underline-offset: 3px;
}

footer nav {
	display: flex;
	flex-direction: column;
	gap: 12px;
	font-size: 14px;
}

footer nav a {
	color: var(--navy);
	text-decoration-color: var(--gold);
	text-underline-offset: 3px;
}

@media (min-width: 52rem) {
	.hero {
		grid-template-columns: 1.25fr 1fr;
	}

	.spread {
		grid-template-columns: 1.1fr 1fr;
	}

	.spread--wide {
		grid-template-columns: 1fr 1.25fr;
	}

	.colophon {
		grid-template-columns: 1fr auto;
	}

	footer nav {
		text-align: right;
	}
}

@media (max-width: 30rem) {
	footer dl {
		grid-template-columns: 1fr;
		gap: 2px;
	}

	footer dd {
		margin-bottom: 12px;
	}
}
