:root {
	color-scheme: dark;
	--ink: oklch(0.96 0.01 245);
	--ink-soft: oklch(0.7 0.025 245);
	--canvas: oklch(0.135 0.012 245);
	--surface: oklch(0.175 0.018 245);
	--surface-soft: oklch(0.205 0.024 245);
	--surface-raised: oklch(0.235 0.027 245);
	--line: oklch(0.33 0.025 245);
	--blue: oklch(0.7 0.18 248);
	--blue-deep: oklch(0.8 0.13 220);
	--cyan: oklch(0.79 0.14 210);
	--cyan-soft: oklch(0.79 0.14 210 / 0.12);
	--green: oklch(0.76 0.16 150);
	--amber: oklch(0.78 0.15 75);
	--violet: oklch(0.7 0.16 292);
	--primary-bg: oklch(0.96 0.01 245);
	--primary-fg: oklch(0.14 0.015 245);
	--glass: oklch(0.135 0.012 245 / 0.88);
	--grid-line: rgb(125 211 252 / 0.035);
	--radius: 0.75rem;
	--shadow: 0 1.5rem 5rem rgb(0 0 0 / 0.4), 0 0 0 1px rgb(255 255 255 / 0.025);
	--max: 82rem;
	--sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--mono: ui-monospace, "SFMono-Regular", "Cascadia Code", Consolas, monospace;
}

:root[data-theme="light"] {
	color-scheme: light;
	--ink: oklch(0.15 0.01 250);
	--ink-soft: oklch(0.42 0.02 250);
	--canvas: oklch(0.985 0.006 90);
	--surface: oklch(1 0 0);
	--surface-soft: oklch(0.965 0.008 220);
	--surface-raised: oklch(0.99 0.004 220);
	--line: oklch(0.88 0.012 230);
	--blue: oklch(0.61 0.19 248);
	--blue-deep: oklch(0.42 0.18 250);
	--cyan: rgb(6 182 212);
	--cyan-soft: rgb(6 182 212 / 0.11);
	--green: oklch(0.58 0.17 150);
	--amber: oklch(0.62 0.16 68);
	--violet: oklch(0.56 0.18 292);
	--primary-bg: oklch(0.15 0.01 250);
	--primary-fg: white;
	--glass: oklch(0.985 0.006 90 / 0.88);
	--grid-line: rgb(17 24 39 / 0.025);
	--shadow: 0 1.5rem 4rem rgb(17 24 39 / 0.1), 0 0 0 1px rgb(17 24 39 / 0.04);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	overflow-x: hidden;
	overflow-x: clip;
	background:
		linear-gradient(90deg, transparent 0 49.9%, var(--grid-line) 50% 50.1%, transparent 50.2%),
		var(--canvas);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 1rem;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: 100%;
	transition: background-color 220ms ease, color 220ms ease;
}

p, li, a, td, th { overflow-wrap: break-word; }

a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { font: inherit; }
.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-link {
	position: fixed;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 100;
	transform: translateY(-180%);
	background: var(--ink);
	color: var(--canvas);
	padding: 0.65rem 0.9rem;
	border-radius: 0.4rem;
}
.skip-link:focus { transform: none; }

.nav-shell {
	position: sticky;
	top: 0;
	z-index: 50;
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 4.7rem;
	padding: 0 4vw;
	border-bottom: 1px solid color-mix(in oklch, var(--line) 78%, transparent);
	background: var(--glass);
	-webkit-backdrop-filter: blur(18px);
	backdrop-filter: blur(18px);
}
.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	text-decoration: none;
}
.brand__mark {
	width: 1.05rem;
	height: 1.05rem;
	border: 2px solid currentColor;
	border-radius: 0.24rem;
	box-shadow: 0.36rem -0.36rem 0 -0.24rem var(--canvas), 0.36rem -0.36rem 0 -0.12rem currentColor;
}
.brand__sector {
	padding-left: 0.65rem;
	border-left: 1px solid var(--line);
	color: var(--blue-deep);
	font-weight: 600;
}
.nav-links { display: flex; align-items: center; gap: 1.8rem; }
.nav-links a {
	color: var(--ink-soft);
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--ink); }
.nav-links__main { padding: 0.55rem 0.8rem; border: 1px solid var(--line); border-radius: 999px; }
.theme-toggle {
	display: grid;
	place-items: center;
	width: 2.35rem;
	height: 2.35rem;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: var(--surface);
	color: var(--ink);
	cursor: pointer;
}
.theme-toggle:hover { border-color: var(--cyan); color: var(--cyan); }
.nav-toggle { display: none; }

.hero {
	display: grid;
	grid-template-columns: minmax(0, 0.82fr) minmax(34rem, 1.18fr);
	gap: clamp(2rem, 5vw, 6rem);
	align-items: center;
	width: min(calc(100% - 8vw), var(--max));
	min-height: calc(100vh - 4.7rem);
	min-height: calc(100svh - 4.7rem);
	margin: 0 auto;
	padding: clamp(4rem, 8vw, 7.5rem) 0;
}
.eyebrow {
	margin: 0 0 1.2rem;
	color: var(--blue-deep);
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.live-dot {
	display: inline-block;
	width: 0.52rem;
	height: 0.52rem;
	margin-right: 0.45rem;
	border-radius: 50%;
	background: var(--cyan);
	box-shadow: 0 0 0 0.28rem var(--cyan-soft);
}
.hero h1 {
	max-width: 11ch;
	margin: 0;
	font-size: clamp(3.5rem, 6vw, 6.5rem);
	font-weight: 650;
	letter-spacing: -0.065em;
	line-height: 0.92;
}
.hero__lede {
	max-width: 38rem;
	margin: 2rem 0 0;
	color: var(--ink-soft);
	font-size: clamp(1.08rem, 1.6vw, 1.3rem);
	line-height: 1.55;
}
.hero__lede strong { color: var(--ink); font-weight: 720; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3rem;
	padding: 0.75rem 1.15rem;
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: 0.92rem;
	font-weight: 700;
	text-decoration: none;
	transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .demo-tabs button:focus-visible, .nav-toggle:focus-visible, .nav-links a:focus-visible, .theme-toggle:focus-visible, .text-link:focus-visible {
	outline: 3px solid color-mix(in oklch, var(--blue) 72%, var(--surface));
	outline-offset: 3px;
}
.button--primary { background: var(--primary-bg); color: var(--primary-fg); }
.button--primary:hover { background: var(--blue-deep); }
.button--secondary { border-color: var(--line); background: color-mix(in oklch, var(--surface) 72%, transparent); }
.hero__note { margin: 1.3rem 0 0; color: var(--ink-soft); font-size: 0.82rem; }

.ops {
	position: relative;
	overflow: hidden;
	border: 1px solid color-mix(in oklch, var(--line) 88%, var(--blue));
	border-radius: 1.15rem;
	background: var(--surface);
	box-shadow: var(--shadow);
}
.ops::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 0.28rem;
	background: linear-gradient(90deg, var(--cyan), var(--blue), var(--violet));
}
.ops__topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.35rem 1.5rem 1.1rem;
	border-bottom: 1px solid var(--line);
}
.ops__topbar > div { display: grid; gap: 0.1rem; }
.ops__topbar strong { font-size: 1.02rem; }
.ops__label { color: var(--ink-soft); font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.04em; text-transform: uppercase; }
.status {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.35rem 0.6rem;
	border-radius: 999px;
	background: var(--cyan-soft);
	color: var(--blue-deep);
	font-family: var(--mono);
	font-size: 0.7rem;
	font-weight: 700;
}
.status span { width: 0.42rem; height: 0.42rem; border-radius: 50%; background: var(--cyan); }
.ops__body { padding: 1.35rem; background: linear-gradient(180deg, var(--surface), var(--surface-soft)); }
.ops__prompt {
	max-width: 88%;
	margin: 0 0 1rem auto;
	padding: 0.85rem 1rem;
	border-radius: 1rem 1rem 0.2rem 1rem;
	background: var(--primary-bg);
	color: var(--primary-fg);
	font-size: 0.86rem;
}
.checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.55rem; }
.check {
	display: grid;
	gap: 0.15rem;
	padding: 0.75rem;
	border: 1px solid var(--line);
	border-radius: 0.65rem;
	background: color-mix(in oklch, var(--surface-raised) 72%, transparent);
}
.check span { color: var(--ink-soft); font-family: var(--mono); font-size: 0.65rem; }
.check strong { font-size: 0.78rem; }
.check em { color: var(--green); font-family: var(--mono); font-size: 0.65rem; font-style: normal; }
.check--running { border-color: color-mix(in oklch, var(--violet) 45%, var(--line)); background: color-mix(in oklch, var(--violet) 9%, var(--surface)); }
.check--running em { color: var(--violet); }
.demo-tabs { display: flex; gap: 0.35rem; margin: 1rem 0 0.6rem; }
.demo-tabs button {
	padding: 0.45rem 0.72rem;
	border: 1px solid transparent;
	border-radius: 999px;
	background: transparent;
	color: var(--ink-soft);
	font-size: 0.72rem;
	font-weight: 700;
	cursor: pointer;
}
.demo-tabs button[aria-selected="true"] { border-color: var(--line); background: var(--surface-raised); color: var(--ink); box-shadow: 0 1px 3px rgb(0 0 0 / 0.16); }
.result { overflow: hidden; border: 1px solid var(--line); border-radius: 0.8rem; background: var(--surface-raised); }
.result__head { display: flex; justify-content: space-between; gap: 1rem; padding: 0.9rem 1rem; border-bottom: 1px solid var(--line); }
.result__head > div { display: grid; gap: 0.2rem; }
.result__head strong { font-size: 0.92rem; }
.result__badge { align-self: start; padding: 0.25rem 0.45rem; border-radius: 999px; background: color-mix(in oklch, var(--green) 14%, var(--surface)); color: color-mix(in oklch, var(--green) 82%, var(--ink)); font-size: 0.64rem; font-weight: 800; }
.signal-list > div { display: grid; grid-template-columns: 0.72fr 1.25fr 0.8fr; gap: 0.7rem; padding: 0.65rem 1rem; border-bottom: 1px solid var(--line); font-size: 0.72rem; }
.signal-list span { font-weight: 750; }
.signal-list strong { font-weight: 550; }
.signal-list em { color: var(--ink-soft); font-style: normal; text-align: right; }
.result__foot { margin: 0; padding: 0.75rem 1rem; color: var(--ink-soft); font-size: 0.72rem; }
.ops__caption { margin: 0; padding: 0.55rem 1rem; border-top: 1px solid var(--line); color: var(--ink-soft); font-family: var(--mono); font-size: 0.62rem; text-align: right; }

.proof-strip {
	display: grid;
	grid-template-columns: 1fr 1.35fr;
	gap: clamp(2rem, 6vw, 7rem);
	width: min(calc(100% - 8vw), var(--max));
	margin: 0 auto;
	padding: clamp(4rem, 8vw, 7rem) 0;
	border-top: 1px solid var(--line);
}
.proof-strip h2, .section h2, .case-feature h2, .control-section h2, .cta-section h2, .case-section h2, .workflow-story h2, .integration-section h2, .evidence-section h2 { margin: 0; font-size: clamp(2rem, 3.4vw, 3.6rem); letter-spacing: -0.05em; line-height: 1; }
.proof-strip__intro > p:last-child { color: var(--ink-soft); font-size: 0.82rem; }
.proof-metrics { display: grid; grid-template-columns: repeat(2, 1fr); border: solid var(--line); border-width: 1px 0 0 1px; }
.proof-metrics div { display: grid; gap: 0.2rem; padding: 1.2rem; border: solid var(--line); border-width: 0 1px 1px 0; }
.proof-metrics strong { font-size: clamp(2rem, 3.5vw, 3.8rem); letter-spacing: -0.05em; line-height: 1; }
.proof-metrics span { color: var(--ink-soft); font-size: 0.78rem; }
.section {
	width: min(calc(100% - 8vw), var(--max));
	margin: 0 auto;
	padding: clamp(5rem, 9vw, 9rem) 0;
	border-top: 1px solid var(--line);
}
.section-head {
	display: grid;
	grid-template-columns: 1fr minmax(19rem, 0.55fr);
	gap: clamp(2rem, 7vw, 7rem);
	align-items: end;
	margin-bottom: 3.5rem;
}
.section-head h2 { max-width: 12ch; }
.section-head > p { margin: 0; color: var(--ink-soft); font-size: 1.06rem; }
.workflow-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: solid var(--line); border-width: 1px 0 0 1px; }
.workflow-card {
	position: relative;
	min-height: 23rem;
	padding: clamp(1.4rem, 2.5vw, 2.2rem);
	border: solid var(--line);
	border-width: 0 1px 1px 0;
	background: color-mix(in oklch, var(--surface) 58%, transparent);
}
.workflow-card--wide { grid-column: span 2; }
.workflow-card--accent { background: linear-gradient(145deg, var(--cyan-soft), color-mix(in oklch, var(--blue) 9%, var(--surface))); }
.workflow-card__number { position: absolute; top: 1.4rem; right: 1.5rem; color: var(--ink-soft); font-family: var(--mono); font-size: 0.7rem; }
.workflow-card__tag { margin: 0 0 6.5rem; color: var(--blue-deep); font-family: var(--mono); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.workflow-card h3 { max-width: 17ch; margin: 0 0 1rem; font-size: clamp(1.45rem, 2.2vw, 2.2rem); letter-spacing: -0.04em; line-height: 1.05; }
.workflow-card > p:not(.workflow-card__tag) { max-width: 32rem; margin: 0; color: var(--ink-soft); }
.workflow-card ul, .workflow-story ul, .evidence-grid ul { margin: 1.5rem 0 0; padding: 0; list-style: none; }
.workflow-card li, .workflow-story li, .evidence-grid li { position: relative; margin-top: 0.5rem; padding-left: 1rem; color: var(--ink-soft); font-size: 0.82rem; }
.workflow-card li::before, .workflow-story li::before, .evidence-grid li::before { content: ""; position: absolute; top: 0.7em; left: 0; width: 0.35rem; height: 1px; background: var(--cyan); }

.case-feature {
	display: grid;
	grid-template-columns: minmax(20rem, 0.75fr) minmax(36rem, 1.25fr);
	gap: clamp(3rem, 7vw, 8rem);
	align-items: center;
	width: min(calc(100% - 8vw), var(--max));
	margin: 0 auto;
	padding: clamp(5rem, 9vw, 9rem) 0;
	border-top: 1px solid var(--line);
}
.case-feature__copy > p:not(.eyebrow) { max-width: 37rem; margin: 1.5rem 0; color: var(--ink-soft); font-size: 1.05rem; }
.text-link { display: inline-flex; gap: 0.6rem; align-items: center; color: var(--blue-deep); font-weight: 750; text-decoration: none; }
.text-link span { transition: transform 160ms ease; }
.text-link:hover span { transform: translateX(0.25rem); }
.adoption-card { overflow: hidden; border: 1px solid var(--line); border-radius: 1rem; background: var(--surface); box-shadow: var(--shadow); }
.adoption-card__head { display: flex; align-items: start; justify-content: space-between; gap: 1rem; padding: 1.3rem 1.5rem; border-bottom: 1px solid var(--line); }
.adoption-card__head > div { display: grid; gap: 0.25rem; }
.adoption-card__head span { color: var(--ink-soft); font-family: var(--mono); font-size: 0.7rem; }
.adoption-card__head strong { font-size: 1.25rem; }
.adoption-chart { display: grid; grid-template-columns: repeat(7, 1fr); align-items: end; gap: 0.8rem; height: 17rem; padding: 2rem 1.5rem 2rem; background: linear-gradient(180deg, var(--surface), var(--surface-soft)); }
.adoption-chart > div { position: relative; height: var(--value); min-height: 0.35rem; border-radius: 0.15rem 0.15rem 0 0; background: linear-gradient(180deg, var(--cyan), var(--blue)); }
.level-04 { --value: 4%; --bar: 4%; }
.level-07 { --value: 7%; --bar: 7%; }
.level-19 { --value: 19%; --bar: 19%; }
.level-25 { --value: 25%; --bar: 25%; }
.level-76 { --value: 76%; --bar: 76%; }
.level-90 { --value: 90%; --bar: 90%; }
.level-100 { --value: 100%; --bar: 100%; }
.impact-04 { --value: 4%; }
.impact-10 { --value: 10%; }
.impact-25 { --value: 25%; }
.impact-31 { --value: 31%; }
.impact-100 { --value: 100%; }
.adoption-chart--value { grid-template-columns: repeat(5, 1fr); }
.adoption-chart > div::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgb(255 255 255 / 0.18), transparent); }
.adoption-chart span { position: absolute; bottom: -1.5rem; left: 50%; transform: translateX(-50%); color: var(--ink-soft); font-family: var(--mono); font-size: 0.62rem; }
.adoption-card__facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.adoption-card__facts div { display: grid; gap: 0.2rem; padding: 1rem 1.3rem; border-right: 1px solid var(--line); }
.adoption-card__facts div:last-child { border-right: 0; }
.adoption-card__facts strong { font-size: 1.2rem; }
.adoption-card__facts span { color: var(--ink-soft); font-size: 0.7rem; }
.estimate-note { margin: 0; padding: 0.8rem 1.3rem; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 0.65rem; }

.roi-card {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(20rem, 0.85fr);
	border: 1px solid var(--line);
	border-radius: 1rem;
	background: var(--surface);
	box-shadow: var(--shadow);
	overflow: hidden;
}
.roi-inputs { display: grid; grid-template-columns: repeat(2, 1fr); }
.roi-inputs label { display: grid; gap: 1.3rem; padding: 1.5rem; border: solid var(--line); border-width: 0 1px 1px 0; }
.roi-inputs label:nth-child(3), .roi-inputs label:nth-child(4) { border-bottom: 0; }
.roi-inputs label span { color: var(--ink-soft); font-family: var(--mono); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; }
.roi-inputs input {
	width: 100%;
	min-width: 0;
	padding: 0;
	border: 0;
	border-bottom: 1px solid var(--line);
	border-radius: 0;
	background: transparent;
	color: var(--ink);
	font: 650 clamp(2rem, 4vw, 4rem)/1 var(--sans);
	letter-spacing: -0.05em;
	outline: 0;
}
.roi-inputs input:focus { border-color: var(--cyan); box-shadow: 0 2px 0 var(--cyan); }
.roi-output { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(2rem, 5vw, 4.5rem); background: radial-gradient(circle at 20% 10%, var(--cyan-soft), transparent 40%), var(--surface-soft); }
.roi-output > p { margin: 0 0 1rem; color: var(--blue-deep); font-family: var(--mono); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.roi-output > strong { max-width: 100%; font-size: clamp(3rem, 6vw, 6rem); letter-spacing: -0.07em; line-height: 0.9; overflow-wrap: anywhere; }
.roi-output > div { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin: 1.3rem 0 2rem; color: var(--ink-soft); font-size: 0.8rem; }
.calculator-note { max-width: 64rem; margin: 1rem 0 0; color: var(--ink-soft); font-size: 0.68rem; }

.method-steps { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0; padding: 0; border: solid var(--line); border-width: 1px 0 0 1px; list-style: none; }
.method-steps li { display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; min-height: 14rem; padding: 1.7rem; border: solid var(--line); border-width: 0 1px 1px 0; }
.method-steps > li > span { color: var(--cyan); font-family: var(--mono); font-size: 0.7rem; }
.method-steps h3 { margin: 0 0 0.65rem; font-size: 1.4rem; letter-spacing: -0.03em; }
.method-steps p { margin: 0; color: var(--ink-soft); }

.control-section {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	gap: clamp(3rem, 8vw, 9rem);
	width: min(calc(100% - 4vw), calc(var(--max) + 4vw));
	margin: 0 auto;
	padding: clamp(4rem, 7vw, 7rem) clamp(1rem, 4vw, 4rem);
	border: 1px solid color-mix(in oklch, var(--cyan) 18%, var(--line));
	border-radius: 1rem;
	background: radial-gradient(circle at 10% 10%, var(--cyan-soft), transparent 35%), var(--surface);
}
.control-section h2 { max-width: 11ch; }
.control-grid { display: grid; grid-template-columns: repeat(2, 1fr); border: solid var(--line); border-width: 1px 0 0 1px; }
.control-grid div { min-height: 12rem; padding: 1.4rem; border: solid var(--line); border-width: 0 1px 1px 0; }
.control-grid span { color: var(--cyan); font-family: var(--mono); font-size: 0.67rem; }
.control-grid h3 { margin: 2.5rem 0 0.5rem; font-size: 1.05rem; }
.control-grid p { margin: 0; color: var(--ink-soft); font-size: 0.82rem; }

.cta-section { width: min(calc(100% - 8vw), var(--max)); margin: 0 auto; padding: clamp(7rem, 13vw, 13rem) 0; text-align: center; }
.cta-section .eyebrow { justify-content: center; }
.cta-section h2 { max-width: 17ch; margin-inline: auto; font-size: clamp(2.8rem, 6vw, 6rem); }
.cta-section > p:not(.eyebrow) { margin: 1.5rem auto 0; color: var(--ink-soft); font-size: 1.1rem; }
.cta-section .hero__actions { justify-content: center; }

.footer { width: min(calc(100% - 8vw), var(--max)); margin: 0 auto; padding: 2.5rem 0 2rem; border-top: 1px solid var(--line); }
.footer__top, .footer__legal { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.footer nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer nav a { color: var(--ink-soft); font-size: 0.78rem; text-decoration: none; }
.footer nav a:hover { color: var(--ink); }
.footer__legal { margin-top: 2.5rem; color: var(--ink-soft); font-size: 0.68rem; }
.footer__legal p { margin: 0; }

/* Case study */
.case-hero { display: grid; grid-template-columns: 1fr minmax(20rem, 0.42fr); gap: clamp(3rem, 8vw, 9rem); align-items: end; width: min(calc(100% - 8vw), var(--max)); margin: 0 auto; padding: clamp(5rem, 10vw, 9rem) 0 5rem; }
.case-hero h1 { max-width: 12ch; margin: 0; font-size: clamp(3.5rem, 7vw, 7rem); font-weight: 650; letter-spacing: -0.065em; line-height: 0.92; }
.case-hero__copy > p:last-child { max-width: 48rem; margin: 2rem 0 0; color: var(--ink-soft); font-size: 1.15rem; }
.case-hero__meta { border-top: 1px solid var(--line); }
.case-hero__meta div { display: grid; gap: 0.3rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.case-hero__meta span { color: var(--ink-soft); font-family: var(--mono); font-size: 0.67rem; text-transform: uppercase; }
.case-hero__meta strong { font-size: 0.86rem; }
.case-hero__meta p { color: var(--ink-soft); font-size: 0.74rem; }
.case-metrics { display: grid; grid-template-columns: repeat(5, 1fr); width: min(calc(100% - 8vw), var(--max)); margin: 0 auto clamp(5rem, 9vw, 9rem); border: solid var(--line); border-width: 1px 0 0 1px; }
.case-metrics div { display: grid; gap: 0.3rem; padding: 1.5rem; border: solid var(--line); border-width: 0 1px 1px 0; }
.case-metrics strong { font-size: clamp(1.7rem, 3vw, 3rem); letter-spacing: -0.05em; }
.case-metrics span { color: var(--ink-soft); font-size: 0.72rem; }
.case-section, .workflow-story, .integration-section, .evidence-section { display: grid; grid-template-columns: minmax(18rem, 0.55fr) minmax(0, 1.45fr); gap: clamp(3rem, 8vw, 9rem); width: min(calc(100% - 8vw), var(--max)); margin: 0 auto; padding: clamp(5rem, 9vw, 9rem) 0; border-top: 1px solid var(--line); }
.case-section__intro h2, .workflow-story__head h2, .integration-section h2, .evidence-section h2 { max-width: 11ch; }
.case-section__intro > p:last-child, .integration-section > div:first-child > p:last-child { color: var(--ink-soft); }
.adoption-table-wrap { min-width: 0; }
.adoption-table-wrap:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.scroll-hint { display: none; }
.adoption-table { width: 100%; border-collapse: collapse; }
.adoption-table th, .adoption-table td { padding: 1rem 0.8rem; border-bottom: 1px solid var(--line); text-align: left; }
.adoption-table th { color: var(--ink-soft); font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.04em; text-transform: uppercase; }
.adoption-table td { font-size: 0.84rem; }
.adoption-table td:last-child { width: 38%; }
.adoption-table td:last-child span { display: block; width: var(--bar); height: 0.38rem; border-radius: 999px; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.impact-table td:last-child { width: auto; }
.impact-table td:last-child strong { color: var(--cyan); font-size: 1rem; }
.source-note, .methodology { color: var(--ink-soft); font-size: 0.7rem; }
.agent-map { display: grid; grid-template-columns: repeat(2, 1fr); border: solid var(--line); border-width: 1px 0 0 1px; }
.agent-map > div { min-height: 13rem; padding: 1.35rem; border: solid var(--line); border-width: 0 1px 1px 0; }
.agent-map span { display: block; color: var(--blue-deep); font-family: var(--mono); font-size: 0.67rem; text-transform: uppercase; }
.agent-map strong { display: block; margin-top: 2.5rem; font-size: 1.35rem; }
.agent-map p { margin-bottom: 0; color: var(--ink-soft); font-size: 0.8rem; }
.outcome-map > div:last-child { grid-column: 1 / -1; }
.workflow-story > article { grid-column: 2; display: grid; grid-template-columns: 9rem 1fr; gap: 2rem; padding: 2.3rem 0; border-top: 1px solid var(--line); }
.workflow-story > article > span { color: var(--blue-deep); font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; }
.workflow-story h3 { max-width: 24ch; margin: 0; font-size: clamp(1.5rem, 2.6vw, 2.5rem); letter-spacing: -0.04em; line-height: 1.05; }
.workflow-story article p { color: var(--ink-soft); }
.workflow-story article .story-metric { margin: 0 0 0.8rem; color: var(--cyan); font-family: var(--mono); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.integration-list { display: flex; flex-wrap: wrap; align-content: start; gap: 0.55rem; }
.integration-list span { padding: 0.6rem 0.8rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink-soft); font-size: 0.72rem; }
.query-metric { grid-column: 2; display: flex; align-items: baseline; gap: 1rem; margin-top: -3rem; }
.query-metric strong { font-size: clamp(3.5rem, 7vw, 7rem); letter-spacing: -0.065em; line-height: 1; }
.query-metric span { max-width: 16rem; color: var(--ink-soft); font-size: 0.78rem; }
.evidence-grid { display: grid; grid-template-columns: repeat(2, 1fr); border: solid var(--line); border-width: 1px 0 0 1px; }
.evidence-grid > div { min-height: 17rem; padding: 1.5rem; border: solid var(--line); border-width: 0 1px 1px 0; }
.evidence-grid h3 { margin: 0; font-size: 1.3rem; }
.evidence-grid--three { grid-template-columns: repeat(3, 1fr); }
.evidence-section .methodology { grid-column: 2; margin-top: -3rem; }

.error-page main { display: grid; align-content: space-between; width: min(calc(100% - 2rem), var(--max)); min-height: 100vh; margin: 0 auto; padding: 3rem 0; }
.error-page main > div { padding: 5rem 0; }
.error-page h1 { max-width: 10ch; margin: 0; font-size: clamp(4rem, 10vw, 9rem); letter-spacing: -0.065em; line-height: 0.88; }
.error-page main > div > p:not(.eyebrow) { color: var(--ink-soft); font-size: 1.1rem; }

@media (max-width: 1000px) {
	.hero { grid-template-columns: 1fr; min-height: auto; }
	.hero h1 { max-width: 10ch; }
	.ops { max-width: 46rem; }
	.proof-strip { grid-template-columns: 1fr; }
	.workflow-grid { grid-template-columns: repeat(2, 1fr); }
	.case-feature, .control-section, .case-hero, .case-section, .workflow-story, .integration-section, .evidence-section { grid-template-columns: 1fr; }
	.case-feature { gap: 3rem; }
	.control-section h2 { max-width: 14ch; }
	.case-metrics { grid-template-columns: repeat(3, 1fr); }
	.workflow-story > article, .query-metric, .evidence-section .methodology { grid-column: 1; }
	.workflow-story__head { margin-bottom: 1rem; }
	.query-metric, .evidence-section .methodology { margin-top: 0; }
}

@media (max-width: 900px) {
	.nav-toggle {
		display: grid;
		place-content: center;
		gap: 0.35rem;
		width: 2.75rem;
		height: 2.75rem;
		border: 1px solid var(--line);
		border-radius: 50%;
		background: var(--surface);
	}
	.nav-toggle span:not(.sr-only) { display: block; width: 1rem; height: 1px; background: var(--ink); }
	.nav-links {
		position: absolute;
		top: calc(100% + 0.5rem);
		left: 4vw;
		right: 4vw;
		display: none;
		align-items: stretch;
		gap: 0;
		max-height: calc(100dvh - 5.5rem);
		overflow-y: auto;
		padding: 0.55rem;
		border: 1px solid var(--line);
		border-radius: 0.8rem;
		background: var(--surface);
		box-shadow: var(--shadow);
	}
	.nav-links[data-open="true"] { display: grid; }
	.nav-links a { padding: 0.75rem; }
	.nav-links .theme-toggle { width: 100%; height: 2.75rem; margin: 0.25rem 0; border-radius: 0.55rem; }
	.nav-links__main { border: 0; border-radius: 0; }
}

@media (max-width: 720px) {
	.nav-shell { min-height: 4.2rem; padding-inline: 1rem; }
	.nav-toggle {
		display: grid;
		place-content: center;
		gap: 0.35rem;
		width: 2.75rem;
		height: 2.75rem;
		border: 1px solid var(--line);
		border-radius: 50%;
		background: var(--surface);
	}
	.nav-toggle span:not(.sr-only) { display: block; width: 1rem; height: 1px; background: var(--ink); }
	.nav-links {
		position: absolute;
		top: calc(100% + 0.5rem);
		left: 1rem;
		right: 1rem;
		display: none;
		align-items: stretch;
		gap: 0;
		padding: 0.55rem;
		border: 1px solid var(--line);
		border-radius: 0.8rem;
		background: var(--surface);
		box-shadow: var(--shadow);
	}
	.nav-links[data-open="true"] { display: grid; }
	.nav-links a { padding: 0.75rem; }
	.nav-links .theme-toggle { width: 100%; height: 2.75rem; margin: 0.25rem 0; border-radius: 0.55rem; }
	.nav-links__main { border: 0; border-radius: 0; }
	.hero { width: min(calc(100% - 2rem), var(--max)); padding-top: 3.5rem; }
	.hero h1 { font-size: clamp(3.2rem, 16vw, 5rem); }
	.ops__topbar { align-items: flex-start; gap: 0.75rem; padding-inline: 1rem; }
	.status { flex: 0 0 auto; }
	.ops__body { padding: 0.85rem; }
	.checks { grid-template-columns: 1fr; }
	.ops__prompt { max-width: 100%; }
	.signal-list > div { grid-template-columns: 0.7fr 1.3fr; }
	.signal-list em { grid-column: 2; text-align: left; }
	.proof-strip, .section, .case-feature, .cta-section, .footer, .case-hero, .case-metrics, .case-section, .workflow-story, .integration-section, .evidence-section { width: calc(100% - 2rem); }
	.proof-metrics { grid-template-columns: 1fr; }
	.brand__sector { display: none; }
	.section-head { grid-template-columns: 1fr; gap: 1.5rem; }
	.workflow-grid, .method-steps, .control-grid, .agent-map, .evidence-grid { grid-template-columns: 1fr; }
	.workflow-card--wide { grid-column: span 1; }
	.workflow-card { min-height: 18rem; }
	.workflow-card__tag { margin-bottom: 4.5rem; }
	.case-feature { grid-template-columns: 1fr; }
	.adoption-chart { height: 14rem; gap: 0.4rem; }
	.adoption-card__facts { grid-template-columns: 1fr; }
	.adoption-card__facts div { border-right: 0; border-bottom: 1px solid var(--line); }
	.adoption-card__facts div:last-child { border-bottom: 0; }
	.control-section { width: calc(100% - 1rem); padding: 3.5rem 1rem; }
	.footer__top, .footer__legal { align-items: flex-start; flex-direction: column; }
	.footer nav { gap: 1rem; }
	.case-hero { padding-top: 4rem; }
	.case-hero h1 { font-size: clamp(3.3rem, 16vw, 5rem); }
	.case-metrics { grid-template-columns: 1fr 1fr; }
	.case-metrics div:last-child:nth-child(odd) { grid-column: 1 / -1; }
	.adoption-table-wrap { overflow-x: auto; }
	.scroll-hint { display: block; margin: 0 0 0.7rem; color: var(--ink-soft); font-family: var(--mono); font-size: 0.65rem; }
	.adoption-table { min-width: 36rem; }
	.workflow-story > article { grid-template-columns: 1fr; gap: 0.8rem; }
	.integration-list { margin-top: -1rem; }
	.query-metric { display: grid; gap: 0.6rem; }
	.method-steps li, .control-grid div, .agent-map > div, .evidence-grid > div { min-height: auto; }
	.roi-card { grid-template-columns: 1fr; }
}

@media (max-width: 440px) {
	.hero__actions { display: grid; grid-template-columns: 1fr; }
	.hero__actions .button { width: 100%; }
	.result__head { align-items: flex-start; flex-direction: column; }
	.result__badge { align-self: flex-start; }
	.case-metrics { grid-template-columns: 1fr; }
	.case-metrics div:last-child:nth-child(odd) { grid-column: auto; }
	.adoption-chart { gap: 0.25rem; padding-inline: 0.85rem; }
	.footer nav { display: grid; grid-template-columns: repeat(2, 1fr); width: 100%; }
	.roi-inputs { grid-template-columns: 1fr; }
	.roi-inputs label { border-right: 0; border-bottom: 1px solid var(--line); }
	.roi-inputs label:nth-child(3) { border-bottom: 1px solid var(--line); }
	.roi-inputs label:last-child { border-bottom: 0; }
	.roi-output { padding: 2rem 1.5rem; }
}

@media (prefers-contrast: more) {
	:root { --line: oklch(0.52 0.03 245); }
	:root[data-theme="light"] { --line: oklch(0.58 0.03 245); }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
