/* ==========================================================================
   Oncilla AI — editorial serif on white paper, one warm accent.
   Tokens follow DESIGN.md (Steep). Contrast-adjusted grays noted inline.
   ========================================================================== */

:root {
	--ink: #17191c;
	--paper: #ffffff;
	--mist: #f2f2f3;
	--fog: #fafafb;
	--muted: #6b6f7a; /* DESIGN slate #777b86 darkened to clear 4.5:1 on white */
	--faint: #8e919a; /* decorative labels only */
	--placeholder: #747883;
	--line: #ececec;
	--peach: #fbe1d1;
	--sienna: #5d2a1a;
	--green-tint: #dcefe0;
	--blue-tint: #dde8f6;

	--serif: "Source Serif 4", "Tiempos Headline", Georgia, ui-serif, serif;
	--sans: "Schibsted Grotesk", "Söhne", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

	--display: clamp(3rem, 1.6rem + 5.4vw, 5.625rem); /* 48 → 90 */
	--h2: clamp(2.5rem, 1.7rem + 3.2vw, 4rem); /* 40 → 64 */
	--h3: clamp(2rem, 1.6rem + 1.6vw, 2.75rem); /* 32 → 44 */

	--shadow-float: 0 0 0 1px rgba(4, 23, 43, 0.05), 0 20px 25px -5px rgba(0, 0, 0, 0.1),
		0 8px 10px -6px rgba(0, 0, 0, 0.1);
	--shadow-pop: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 4px 24px 0 rgba(0, 0, 0, 0.08);
	--shadow-modal: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 8px 40px 0 rgba(0, 0, 0, 0.1);

	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 40px);
	--section: clamp(96px, 12vw, 160px);
}

/* ---------- base ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}
html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	interpolate-size: allow-keywords;
}
html.lenis,
html.lenis body {
	height: auto;
}
.lenis.lenis-smooth {
	scroll-behavior: auto !important;
}
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.5;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
img {
	display: block;
	max-width: 100%;
	height: auto;
}
a {
	color: inherit;
	text-decoration: none;
}
button {
	font: inherit;
	color: inherit;
}
h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
	margin: 0;
}
ul,
ol {
	padding: 0;
	list-style: none;
}
::selection {
	background: var(--peach);
	color: var(--sienna);
}
:focus-visible {
	outline: 2px solid var(--ink);
	outline-offset: 3px;
	border-radius: 6px;
}
.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;
}
.skip {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 100;
	padding: 10px 18px;
	background: var(--ink);
	color: var(--paper);
	border-radius: 9999px;
	transform: translateY(-160%);
	transition: transform 0.3s var(--ease-out);
}
.skip:focus {
	transform: none;
}

.wrap {
	width: 100%;
	max-width: calc(var(--wrap) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

/* ---------- type ---------- */
.display,
.h2,
.h3 {
	font-family: var(--serif);
	font-weight: 400;
	font-optical-sizing: auto;
	text-wrap: balance;
	color: var(--ink);
}
.display {
	font-size: var(--display);
	line-height: 1.04;
	letter-spacing: -0.025em;
}
.h2 {
	font-size: var(--h2);
	line-height: 1.08;
	letter-spacing: -0.018em;
}
.h3 {
	font-size: var(--h3);
	line-height: 1.12;
	letter-spacing: -0.015em;
}
.display em,
.h2 em,
.h3 em {
	font-style: italic;
}
.lede {
	font-size: clamp(18px, 1rem + 0.35vw, 20px);
	line-height: 1.45;
	letter-spacing: -0.009em;
	color: var(--muted);
	font-weight: 430;
	max-width: 36em;
	text-wrap: pretty;
}
.tag {
	font-size: 13px;
	line-height: 1.2;
	color: var(--muted);
	font-weight: 400;
	white-space: nowrap;
}
.kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 15px;
	color: var(--muted);
	font-weight: 430;
}
.kicker .pulse {
	position: relative;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--sienna);
}
.kicker .pulse::after {
	content: "";
	position: absolute;
	inset: -4px;
	border-radius: 50%;
	border: 1px solid var(--sienna);
	opacity: 0;
	animation: pulse 2.4s var(--ease-out) infinite;
}
@keyframes pulse {
	0% {
		transform: scale(0.6);
		opacity: 0.7;
	}
	100% {
		transform: scale(1.8);
		opacity: 0;
	}
}

/* ---------- buttons & links ---------- */
.btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}
.btn {
	--h: 52px;
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: var(--h);
	padding: 0 24px;
	border-radius: 9999px;
	border: 1px solid var(--ink);
	font-size: 16px;
	font-weight: 450;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
	overflow: hidden;
	isolation: isolate;
	transition: color 0.45s var(--ease-out), background-color 0.45s var(--ease-out),
		transform 0.45s var(--ease-out);
}
.btn--sm {
	--h: 40px;
	padding: 0 18px;
	font-size: 15px;
}
.btn--fill {
	background: var(--ink);
	color: var(--paper);
}
.btn--ghost {
	background: transparent;
	color: var(--ink);
}
/* ink wipe: a pill of the opposite tone rises from below on hover */
.btn::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: inherit;
	transform: translateY(101%);
	transition: transform 0.55s var(--ease-out);
}
.btn--fill::before {
	background: #33363b;
}
.btn--ghost::before {
	background: var(--ink);
}
.btn:hover::before,
.btn:focus-visible::before {
	transform: translateY(0);
}
.btn--ghost:hover,
.btn--ghost:focus-visible {
	color: var(--paper);
}
.btn .arr {
	display: inline-block;
	transition: transform 0.45s var(--ease-out);
}
.btn:hover .arr {
	transform: translateX(3px);
}
.btn[disabled] {
	opacity: 0.55;
	cursor: progress;
}

.link {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 16px;
	color: var(--ink);
	padding: 4px 0;
}
.link::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 2px;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.5s var(--ease-out);
}
.link:hover::after,
.link:focus-visible::after {
	transform: scaleX(1);
	transform-origin: left;
}
.link .arr {
	transition: transform 0.45s var(--ease-out);
}
.link:hover .arr {
	transform: translateX(4px);
}

/* ---------- brand mark (logo recolored through a mask) ---------- */
.mark {
	display: inline-block;
	flex: none;
	width: 32px;
	aspect-ratio: 349 / 347;
	background: currentColor;
	-webkit-mask: url("../img/oncilla-mark.png") center / contain no-repeat;
	mask: url("../img/oncilla-mark.png") center / contain no-repeat;
}

/* ---------- nav ---------- */
.nav {
	position: fixed;
	inset: 0 0 auto;
	z-index: 50;
	transition: transform 0.6s var(--ease-out), background-color 0.4s ease, box-shadow 0.4s ease;
}
.nav.is-scrolled {
	background: rgba(255, 255, 255, 0.82);
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	backdrop-filter: saturate(1.4) blur(14px);
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}
.nav.is-hidden {
	transform: translateY(-100%);
}
.nav__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	height: 76px;
}
.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--ink);
}
.brand__name {
	font-family: var(--serif);
	font-size: 23px;
	letter-spacing: -0.02em;
	line-height: 1;
}
.nav__links {
	display: flex;
	gap: 32px;
}
.nav__links a {
	position: relative;
	font-size: 15px;
	padding: 2px 0;
}
.nav__links a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -2px;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.45s var(--ease-out);
}
.nav__links a:hover::after,
.nav__links a[aria-current="true"]::after {
	transform: scaleX(1);
	transform-origin: left;
}
.nav__cta {
	display: flex;
	align-items: center;
	gap: 22px;
}
.nav__toggle {
	display: none;
	width: 44px;
	height: 44px;
	border-radius: 9999px;
	border: 1px solid var(--ink);
	background: transparent;
	cursor: pointer;
	position: relative;
}
.nav__toggle span {
	position: absolute;
	left: 13px;
	right: 13px;
	height: 1.5px;
	background: var(--ink);
	transition: transform 0.45s var(--ease-out), top 0.45s var(--ease-out);
}
.nav__toggle span:nth-child(1) {
	top: 17px;
}
.nav__toggle span:nth-child(2) {
	top: 25px;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) {
	top: 21px;
	transform: rotate(45deg);
}
.nav__toggle[aria-expanded="true"] span:nth-child(2) {
	top: 21px;
	transform: rotate(-45deg);
}

.menu {
	position: fixed;
	inset: 0;
	z-index: 40;
	background: var(--paper);
	padding: 108px var(--gutter) 32px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	clip-path: inset(0 0 100% 0);
	visibility: hidden;
	transition: clip-path 0.7s var(--ease-out), visibility 0s linear 0.7s;
}
.menu.is-open {
	clip-path: inset(0 0 0 0);
	visibility: visible;
	transition: clip-path 0.7s var(--ease-out);
}
.menu__links a {
	display: block;
	font-family: var(--serif);
	font-size: clamp(40px, 11vw, 56px);
	line-height: 1.15;
	letter-spacing: -0.02em;
	padding: 4px 0;
	transform: translateY(24px);
	opacity: 0;
	transition: transform 0.7s var(--ease-out), opacity 0.7s var(--ease-out);
}
.menu.is-open .menu__links a {
	transform: none;
	opacity: 1;
}
.menu.is-open .menu__links li:nth-child(2) a {
	transition-delay: 0.05s;
}
.menu.is-open .menu__links li:nth-child(3) a {
	transition-delay: 0.1s;
}
.menu.is-open .menu__links li:nth-child(4) a {
	transition-delay: 0.15s;
}
.menu.is-open .menu__links li:nth-child(5) a {
	transition-delay: 0.2s;
}
.menu.is-open .menu__links li:nth-child(6) a {
	transition-delay: 0.25s;
}
.menu__foot {
	display: grid;
	gap: 16px;
}
.menu__foot .btn {
	width: 100%;
}

/* ==========================================================================
   Floating product artifacts — the only elevated surfaces on the page
   ========================================================================== */
.art {
	position: relative;
	background: var(--paper);
	border-radius: 20px;
	box-shadow: var(--shadow-float);
	padding: 16px 18px 14px;
	font-size: 14px;
	line-height: 1.35;
	color: var(--ink);
}
.art__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}
.art__title {
	font-size: 15px;
	font-weight: 500;
	letter-spacing: -0.005em;
}
.art__foot {
	margin-top: 12px;
	padding-top: 10px;
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: 13px;
	display: flex;
	justify-content: space-between;
	gap: 8px;
}
.art__foot b {
	color: var(--ink);
	font-weight: 500;
	font-variant-numeric: proportional-nums;
}
.metric {
	font-size: 20px;
	font-weight: 500;
	letter-spacing: -0.01em;
	font-variant-numeric: proportional-nums;
}
.delta {
	font-size: 13px;
	color: var(--muted);
}

/* key/value rows */
.kv {
	display: grid;
	gap: 0;
}
.kv > div {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 7px 0;
	border-bottom: 1px solid var(--line);
}
.kv > div:last-child {
	border-bottom: 0;
}
.kv dt {
	color: var(--muted);
}
.kv dd {
	font-weight: 450;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-variant-numeric: proportional-nums;
}
.tick {
	width: 16px;
	height: 16px;
	flex: none;
	border-radius: 50%;
	background: var(--ink);
	display: inline-grid;
	place-items: center;
}
.tick::after {
	content: "";
	width: 7px;
	height: 4px;
	border-left: 1.5px solid #fff;
	border-bottom: 1.5px solid #fff;
	transform: translateY(-1px) rotate(-45deg);
}

/* meter */
.meter {
	margin-top: 10px;
}
.meter__label {
	display: flex;
	justify-content: space-between;
	font-size: 13px;
	color: var(--muted);
	margin-bottom: 6px;
}
.meter__label b {
	color: var(--ink);
	font-weight: 450;
	font-variant-numeric: proportional-nums;
}
.meter__bar {
	height: 6px;
	border-radius: 9999px;
	background: var(--mist);
	overflow: hidden;
}
.meter__bar i {
	display: block;
	height: 100%;
	width: calc(var(--v, 0.5) * 100%);
	border-radius: inherit;
	background: var(--sienna);
	transform-origin: left;
}

/* chat bubbles */
.chat {
	display: grid;
	gap: 8px;
}
.bubble {
	max-width: 86%;
	padding: 9px 13px;
	border-radius: 16px;
	font-size: 14px;
	line-height: 1.35;
}
.bubble--in {
	background: var(--mist);
	border-bottom-left-radius: 6px;
	justify-self: start;
}
.bubble--out {
	background: var(--ink);
	color: var(--paper);
	border-bottom-right-radius: 6px;
	justify-self: end;
}
.chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 10px;
	padding: 7px 12px;
	border-radius: 9999px;
	background: var(--mist);
	font-size: 13px;
	font-weight: 450;
}
.chip .dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--sienna);
}

/* avatar bubble with cursor */
.avatar {
	position: absolute;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 9999px;
	font-size: 13px;
	font-weight: 500;
	color: var(--ink);
	box-shadow: 0 0 0 3px var(--paper);
	z-index: 2;
}
.avatar--green {
	background: var(--green-tint);
}
.avatar--blue {
	background: var(--blue-tint);
}
.avatar svg {
	position: absolute;
	width: 16px;
	height: 16px;
}

/* bars */
.bars {
	display: grid;
	gap: 10px;
}
.bars li {
	display: grid;
	grid-template-columns: 78px 1fr 36px;
	align-items: center;
	gap: 10px;
	font-size: 13px;
}
.bars .track {
	height: 8px;
	border-radius: 9999px;
	background: var(--mist);
	overflow: hidden;
}
.bars .fill {
	display: block;
	height: 100%;
	width: calc(var(--v) * 100%);
	background: var(--sienna);
	border-radius: inherit;
	transform-origin: left;
}
.bars b {
	text-align: right;
	font-weight: 450;
	font-variant-numeric: proportional-nums;
}

/* composer */
.composer {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 8px 8px 16px;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: var(--paper);
	min-height: 56px;
}
.composer__text {
	flex: 1;
	font-size: 15px;
	color: var(--ink);
	min-height: 1.35em;
}
.composer__text:empty::before {
	content: attr(data-placeholder);
	color: var(--placeholder);
}
.composer__caret {
	display: inline-block;
	width: 1.5px;
	height: 1.05em;
	margin-left: 1px;
	vertical-align: -0.15em;
	background: var(--ink);
	animation: caret 1s steps(1) infinite;
}
@keyframes caret {
	50% {
		opacity: 0;
	}
}
.send {
	flex: none;
	width: 40px;
	height: 40px;
	border-radius: 9999px;
	background: var(--ink);
	display: grid;
	place-items: center;
}
.send svg {
	width: 16px;
	height: 16px;
}
.spark {
	width: 100%;
	height: auto;
	overflow: visible;
}
.spark path.line {
	fill: none;
	stroke: var(--sienna);
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.spark path.area {
	fill: var(--peach);
	opacity: 0.55;
}
.spark circle {
	fill: var(--paper);
	stroke: var(--sienna);
	stroke-width: 2;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
	position: relative;
	padding-top: 76px;
}
.hero__wrap {
	position: relative;
	min-height: max(100svh - 76px, 860px);
	display: grid;
	align-content: center;
	justify-items: center;
	padding-block: 120px 250px;
}
.hero__copy {
	position: relative;
	z-index: 2;
	text-align: center;
	display: grid;
	justify-items: center;
	gap: 28px;
	max-width: 1040px;
}
.hero__copy .lede {
	max-width: 34em;
}
.hero__stage {
	position: absolute;
	inset: 0 calc(var(--gutter) * -0.5);
	pointer-events: none;
	z-index: 1;
}
.float {
	position: absolute;
	pointer-events: auto;
	will-change: transform;
}
.float__tilt {
	will-change: transform;
}
.f-verify {
	top: 28px;
	left: 0;
	width: 290px;
}
.f-call {
	top: 64px;
	right: 0;
	width: 300px;
}
.f-call .avatar {
	top: -22px;
	left: -26px;
}
.f-call .avatar svg {
	right: -10px;
	bottom: -8px;
}
.f-vis {
	bottom: 36px;
	left: 3%;
	width: 290px;
}
.f-ask {
	bottom: 6px;
	right: 2%;
	width: 340px;
}
.f-ask .avatar {
	top: -14px;
	right: -14px;
}
.f-ask .avatar svg {
	left: -10px;
	bottom: -8px;
	transform: scaleX(-1);
}
.ask__top {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 6px;
}
.ask__chart {
	margin: 4px 0 12px;
}

/* ==========================================================================
   Section heads
   ========================================================================== */
.section-head {
	display: grid;
	gap: 20px;
	max-width: 760px;
	margin-bottom: clamp(48px, 7vw, 88px);
}
.section-head--split {
	max-width: none;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	align-items: end;
	gap: 40px;
}
.section-head--split .lede {
	justify-self: end;
}

/* ==========================================================================
   Work — our own products, stacked
   ========================================================================== */
.work {
	padding-block: var(--section);
}
.stack {
	display: grid;
	gap: 28px;
}
.product {
	position: sticky;
	top: calc(104px + var(--i, 0) * 18px);
	background: var(--mist);
	border-radius: 24px;
	padding: clamp(28px, 4vw, 56px);
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
	transform-origin: 50% 0;
	min-height: 560px;
}
.product__label {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 28px;
	font-size: 17px;
	font-weight: 500;
	letter-spacing: -0.01em;
}
.product__label .mark {
	width: 22px;
}
.product__label .tag {
	margin-left: 4px;
	padding-left: 12px;
	border-left: 1px solid #dcdde0;
	font-weight: 400;
}
.product .h3 {
	margin-bottom: 18px;
}
.product p {
	color: var(--muted);
	font-size: 17px;
	max-width: 30em;
}
.features {
	margin: 24px 0 16px;
	display: grid;
	gap: 8px;
}
.features li {
	display: grid;
	grid-template-columns: 18px 1fr;
	gap: 10px;
	font-size: 16px;
	line-height: 1.4;
}
.features li::before {
	content: "";
	width: 6px;
	height: 6px;
	margin: 8px 0 0 4px;
	border-radius: 50%;
	background: var(--ink);
}
.product__art {
	display: grid;
	gap: 16px;
}
.table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13.5px;
}
.table th {
	text-align: left;
	font-weight: 400;
	color: var(--muted);
	font-size: 12px;
	padding: 0 0 8px;
}
.table td {
	padding: 10px 0;
	border-top: 1px solid var(--line);
	font-variant-numeric: proportional-nums;
}
.table td:last-child,
.table th:last-child {
	text-align: right;
}
.status {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.status::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--ink);
}
.status--wait::before {
	background: transparent;
	box-shadow: inset 0 0 0 1.5px var(--faint);
}
.status--flag::before {
	background: var(--sienna);
}
.grid-yes {
	display: inline-grid;
	place-items: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--ink);
	color: #fff;
	font-size: 11px;
}
.grid-no {
	display: inline-grid;
	place-items: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	box-shadow: inset 0 0 0 1.5px var(--line);
	color: var(--faint);
	font-size: 12px;
}
.table--center td:not(:first-child),
.table--center th:not(:first-child) {
	text-align: center;
	width: 64px;
}
.gap-row td {
	background: linear-gradient(90deg, rgba(251, 225, 209, 0.55), rgba(251, 225, 209, 0));
}
.colbars {
	display: flex;
	align-items: flex-end;
	gap: 10px;
	height: 140px;
	padding-top: 8px;
}
.colbars div {
	flex: 1;
	display: grid;
	gap: 6px;
	justify-items: center;
	align-content: end;
	height: 100%;
	font-size: 11px;
	color: var(--muted);
}
.colbars i {
	display: block;
	width: 100%;
	height: calc(var(--v) * 100px);
	border-radius: 8px 8px 3px 3px;
	background: var(--mist);
	transform-origin: bottom;
}
.colbars div.top i {
	background: var(--sienna);
}

/* ==========================================================================
   Founders
   ========================================================================== */
.founders {
	padding-block: var(--section);
}
.people {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(40px, 6vw, 88px);
}
.person__photo {
	border-radius: 12px;
	overflow: hidden;
	aspect-ratio: 1;
	max-width: 400px;
	background: var(--mist);
	margin-bottom: 32px;
}
.person__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform-origin: 50% 40%;
}
.person__name {
	font-family: var(--serif);
	font-size: clamp(30px, 1.4rem + 1vw, 40px);
	line-height: 1.1;
	letter-spacing: -0.015em;
}
.person__role {
	margin: 8px 0 20px;
	font-size: 15px;
	color: var(--muted);
}
.person p {
	color: var(--ink);
	font-size: 17px;
	max-width: 32em;
}
.person p + p {
	margin-top: 12px;
}
.person__creds {
	margin-top: 20px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.person__creds li {
	padding: 6px 12px;
	border-radius: 9999px;
	background: var(--mist);
	font-size: 14px;
}
.person blockquote {
	margin-top: 28px;
	padding-top: 22px;
	border-top: 1px solid var(--line);
	font-family: var(--serif);
	font-style: italic;
	font-size: 22px;
	line-height: 1.35;
	letter-spacing: -0.01em;
	max-width: 26em;
	text-wrap: pretty;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact {
	padding-block: var(--section);
}
.contact__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
	gap: clamp(40px, 6vw, 96px);
	align-items: start;
}
.contact__copy {
	display: grid;
	gap: 28px;
	position: sticky;
	top: 120px;
}
.contact__alt {
	display: grid;
	gap: 6px;
	padding-top: 24px;
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: 15px;
}
.contact__alt a {
	color: var(--ink);
}
.form {
	background: var(--paper);
	border-radius: 24px;
	box-shadow: var(--shadow-modal);
	padding: clamp(24px, 3vw, 36px);
}
.form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}
.field {
	display: grid;
	gap: 8px;
	margin-bottom: 16px;
}
.field label {
	font-size: 14px;
	font-weight: 450;
}
.field label span {
	color: var(--muted);
	font-weight: 400;
}
.field input,
.field textarea {
	width: 100%;
	font: inherit;
	font-size: 16px;
	color: var(--ink);
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 14px 16px;
	transition: border-color 0.3s, box-shadow 0.3s;
}
.field textarea {
	min-height: 132px;
	resize: vertical;
	line-height: 1.5;
}
.field input::placeholder,
.field textarea::placeholder {
	color: var(--placeholder);
}
.field input:hover,
.field textarea:hover {
	border-color: #d6d7da;
}
.field input:focus,
.field textarea:focus {
	outline: none;
	border-color: var(--ink);
	box-shadow: 0 0 0 4px rgba(23, 25, 28, 0.06);
}
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
	border-color: var(--sienna);
}
.form__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 8px;
}
.form__note {
	font-size: 13px;
	color: var(--muted);
}
.form__error {
	margin-top: 16px;
	padding: 12px 16px;
	border-radius: 16px;
	background: var(--mist);
	font-size: 14px;
}
.form__error a {
	text-decoration: underline;
}
.form__done[hidden],
.form__error[hidden],
form[hidden] {
	display: none;
}
.form__done {
	text-align: left;
	display: grid;
	gap: 14px;
	padding: 24px 4px;
}
.form__done .tick {
	width: 44px;
	height: 44px;
}
.form__done .tick::after {
	width: 16px;
	height: 8px;
	border-width: 2px;
}
.form__done h3 {
	font-family: var(--serif);
	font-weight: 400;
	font-size: 36px;
	line-height: 1.1;
	letter-spacing: -0.015em;
}
.form__done p {
	color: var(--muted);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
	background: var(--fog);
	padding-top: clamp(72px, 9vw, 120px);
	overflow: hidden;
}
.footer__top {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
	gap: 40px;
	padding-bottom: 56px;
}
.footer__about p {
	margin-top: 16px;
	color: var(--muted);
	max-width: 22em;
	font-size: 15px;
}
.footer h4 {
	font-size: 14px;
	font-weight: 400;
	color: var(--muted);
	margin-bottom: 14px;
}
.footer li + li {
	margin-top: 8px;
}
.footer li a,
.footer li span {
	font-size: 15px;
}
.footer li a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}
.footer__word {
	display: flex;
	align-items: flex-end;
	gap: 0.12em;
	font-family: var(--serif);
	font-size: clamp(72px, 19vw, 280px);
	line-height: 0.8;
	letter-spacing: -0.045em;
	color: var(--ink);
	white-space: nowrap;
	padding-bottom: 0.04em;
	margin-bottom: -0.02em;
}
.footer__word .mark {
	width: 0.72em;
	margin-bottom: 0.06em;
}
.footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	padding: 20px 0 28px;
	border-top: 1px solid var(--line);
	font-size: 13px;
	color: var(--muted);
}

/* ==========================================================================
   Motion prep — hidden states only apply once the motion script has claimed
   the page (html.motion). Without JS, or with reduced motion, all is visible.
   ========================================================================== */
html.motion [data-hero-in],
html.motion [data-hero-title],
html.motion .float .art {
	opacity: 0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1240px) {
	.f-verify {
		left: -8px;
		width: 248px;
	}
	.f-call {
		width: 272px;
	}
	.f-vis {
		left: 0;
		width: 262px;
	}
	.f-ask {
		right: 0;
		width: 300px;
	}
}

@media (max-width: 1100px) {
	.nav__links {
		display: none;
	}
}

@media (max-width: 1080px) {
	.hero__wrap {
		padding-block: 72px 48px;
		min-height: 0;
	}
	.hero__stage {
		position: relative;
		inset: auto;
		margin-top: 72px;
		width: 100%;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px 24px;
		align-items: start;
		pointer-events: auto;
	}
	.float {
		position: relative;
		inset: auto !important;
		width: auto !important;
	}
	.f-call,
	.f-ask {
		margin-top: 40px;
	}
	.product {
		position: relative;
		top: auto;
		grid-template-columns: 1fr;
		min-height: 0;
	}
	.section-head--split {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	.section-head--split .lede {
		justify-self: start;
	}
	.contact__grid {
		grid-template-columns: 1fr;
	}
	.contact__copy {
		position: static;
	}
	.footer__top {
		grid-template-columns: 1fr 1fr;
	}
	.footer__about {
		grid-column: 1 / -1;
	}
}

@media (max-width: 760px) {
	body {
		font-size: 16px;
	}
	.nav__cta .link,
	.nav__cta .btn {
		display: none;
	}
	.nav__toggle {
		display: block;
	}
	.nav__inner {
		height: 68px;
	}
	.hero {
		padding-top: 68px;
	}
	.hero__wrap {
		padding-block: 48px 32px;
	}
	.hero__copy {
		gap: 22px;
	}
	.hero__copy .btn-row {
		width: 100%;
		flex-direction: column;
		align-items: stretch;
	}
	.hero__stage {
		grid-template-columns: 1fr;
		gap: 28px;
		margin-top: 56px;
	}
	.f-verify,
	.f-vis {
		display: none;
	}
	.f-call,
	.f-ask {
		margin: 0;
	}
	.f-call {
		margin-inline: 12px 24px;
	}
	.f-ask {
		margin-inline: 24px 8px;
	}
	.people {
		grid-template-columns: 1fr;
		gap: 72px;
	}
	.form__row {
		grid-template-columns: 1fr;
		gap: 0;
	}
	.form__foot .btn {
		width: 100%;
	}
	.footer__top {
		grid-template-columns: 1fr 1fr;
		gap: 32px;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}
}

/* SplitText line masks: leave room for descenders and italic overhang */
[data-hero-title] > div,
[data-lines] > div {
	padding: 0 0.06em 0.16em;
	margin: 0 -0.06em -0.16em;
}

/* ==========================================================================
   Live captions artifact (Overline)
   ========================================================================== */
.cap__video {
	position: relative;
	height: 150px;
	border-radius: 12px;
	background: linear-gradient(160deg, #e9e9eb, #dcdde0);
	overflow: hidden;
}
.cap__video--lg {
	height: auto;
	aspect-ratio: 16 / 9;
}
.cap__play {
	position: absolute;
	top: 14px;
	left: 14px;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	display: grid;
	place-items: center;
}
.cap__play::after {
	content: "";
	width: 8px;
	height: 10px;
	margin-left: 2px;
	background: var(--ink);
	clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.cap__lines {
	position: absolute;
	left: 10px;
	right: 10px;
	bottom: 14px;
	display: grid;
	gap: 4px;
	justify-items: center;
	text-align: center;
}
.cap__line {
	padding: 4px 9px;
	border-radius: 6px;
	font-size: 13px;
	line-height: 1.35;
	background: rgba(23, 25, 28, 0.88);
	color: #fff;
}
.cap__line--src {
	background: rgba(255, 255, 255, 0.94);
	color: var(--muted);
}
.cap__video--lg .cap__line {
	font-size: 15px;
	padding: 5px 12px;
}
.cap__progress {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3px;
	background: rgba(23, 25, 28, 0.08);
}
.cap__progress i {
	display: block;
	height: 100%;
	width: 38%;
	background: var(--sienna);
	transform-origin: left;
}
.cap__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 12px;
}

/* ==========================================================================
   Speech AI — the page's one peach moment
   ========================================================================== */
.speech {
	padding-block: 0 var(--section);
}
.speech__card {
	background: var(--peach);
	color: var(--sienna);
	border-radius: 24px;
	padding: clamp(32px, 5.5vw, 80px);
	display: grid;
	gap: clamp(40px, 5vw, 64px);
}
.speech__card .tag {
	display: block;
	color: var(--sienna);
	font-size: 14px;
	margin-bottom: 20px;
}
.speech__card .h2 {
	color: var(--sienna);
	margin-bottom: 24px;
}
.speech__top {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}
.speech__intro {
	font-size: clamp(17px, 1rem + 0.3vw, 20px);
	line-height: 1.5;
	font-weight: 430;
	max-width: 34em;
}
.speech__art .art__head {
	margin-bottom: 14px;
}
.wave {
	display: flex;
	align-items: center;
	gap: 3px;
	height: 40px;
	margin-bottom: 14px;
}
.wave i {
	flex: 1;
	height: calc(var(--h) * 100%);
	border-radius: 2px;
	background: var(--sienna);
	opacity: 0.8;
}
.speech__fa {
	direction: rtl;
	text-align: right;
	font-size: 21px;
	line-height: 1.7;
	min-height: 3.4em;
	color: var(--ink);
}
.speech__gloss {
	margin-top: 8px;
	font-size: 13px;
	color: var(--muted);
}

.wer {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(32px, 5vw, 72px);
	padding-top: clamp(32px, 4vw, 48px);
	border-top: 1px solid rgba(93, 42, 26, 0.18);
}
.wer__name {
	font-size: 15px;
	font-weight: 480;
}
.wer__name span {
	font-weight: 400;
	opacity: 0.8;
}
.wer__big {
	display: flex;
	align-items: baseline;
	gap: 4px;
	margin: 14px 0 4px;
	font-family: var(--serif);
	font-size: clamp(56px, 2.6rem + 3vw, 96px);
	line-height: 1;
	letter-spacing: -0.03em;
	font-variant-numeric: proportional-nums;
}
.wer__big small {
	font-size: 0.42em;
	letter-spacing: 0;
}
.wer__vs {
	font-size: 15px;
}
.wer__bars {
	margin-top: 24px;
	display: grid;
	gap: 12px;
}
.wer__row {
	display: grid;
	grid-template-columns: minmax(0, 11.5em) minmax(0, 1fr) 3.6em;
	gap: 14px;
	align-items: center;
	font-size: 14px;
}
.wer__track {
	height: 10px;
	border-radius: 9999px;
	background: rgba(93, 42, 26, 0.1);
	overflow: hidden;
}
.wer__track i {
	display: block;
	height: 100%;
	width: calc(var(--v) * 100%);
	border-radius: inherit;
	background: var(--sienna);
	transform-origin: left;
}
.wer__row--base .wer__track i {
	background: rgba(93, 42, 26, 0.32);
}
.wer__row b {
	text-align: right;
	font-weight: 480;
	font-variant-numeric: proportional-nums;
}

.speech__foot {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 32px 56px;
	align-items: end;
	padding-top: clamp(32px, 4vw, 48px);
	border-top: 1px solid rgba(93, 42, 26, 0.18);
}
.facts {
	display: grid;
	grid-template-columns: repeat(4, auto);
	justify-content: start;
	gap: 16px 48px;
}
.facts dt {
	font-size: 13px;
	opacity: 0.85;
	margin-bottom: 4px;
}
.facts dd {
	font-family: var(--serif);
	font-size: 30px;
	line-height: 1.1;
	letter-spacing: -0.015em;
}
.speech__next {
	margin-top: 28px;
	font-size: 17px;
	line-height: 1.5;
	max-width: 36em;
}
.speech__note {
	margin-top: 10px;
	font-size: 13px;
	opacity: 0.85;
}
.speech .btn--ghost {
	color: var(--sienna);
	border-color: var(--sienna);
}
.speech .btn--ghost::before {
	background: var(--sienna);
}
.speech .btn--ghost:hover,
.speech .btn--ghost:focus-visible {
	color: var(--peach);
}

/* ==========================================================================
   Work with us — one quiet block
   ========================================================================== */
.custom {
	background: var(--fog);
	padding-block: clamp(80px, 10vw, 128px);
}
.custom__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: clamp(32px, 6vw, 96px);
	align-items: end;
}
.custom__grid p {
	font-size: clamp(17px, 1rem + 0.3vw, 20px);
	line-height: 1.5;
	color: var(--muted);
	max-width: 34em;
	margin-bottom: 16px;
}

.person__built {
	margin-top: 16px;
	font-size: 15px;
	color: var(--muted);
}
.person__built b {
	color: var(--ink);
	font-weight: 480;
}

@media (max-width: 1080px) {
	.speech__top,
	.wer,
	.speech__foot,
	.custom__grid {
		grid-template-columns: 1fr;
	}
}
@media (max-width: 760px) {
	.facts {
		grid-template-columns: repeat(2, auto);
		gap: 20px 40px;
	}
	.wer__row {
		grid-template-columns: minmax(0, 1fr) 3.6em;
		gap: 6px 12px;
	}
	.wer__row > span:first-child {
		grid-column: 1 / -1;
	}
	.speech__foot .btn-row {
		flex-direction: column;
		align-items: stretch;
	}
}

/* wide screens: give the hero fragments room beside the headline */
@media (min-width: 1400px) {
	.hero__stage {
		inset: 0 -36px;
	}
}
