/* Extract Safe by Taskd — evidence-first extraction.
   Near-black ink on warm neutrals, one luminous accent: the highlighter
   that marks where every value came from. */
:root {
	color-scheme: light;
	--font-sans:
		"Geist", "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text",
		"Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-display:
		"Geist", "Inter Display", "Inter", -apple-system, BlinkMacSystemFont,
		"SF Pro Display", "Segoe UI", system-ui, sans-serif;
	--font-serif:
		"Newsreader", ui-serif, "Iowan Old Style", "Hoefler Text", Charter,
		Georgia, serif;
	--font-mono:
		"Geist Mono", "JetBrains Mono", ui-monospace, "SF Mono", SFMono-Regular,
		Menlo, Consolas, monospace;

	--canvas: #f7f7f4;
	--sidebar: #f1f1ec;
	--surface: #ffffff;
	--surface-2: #fafaf7;
	--sunken: #f1f1ed;
	--hover: rgba(15, 15, 14, 0.045);
	--paper: #fdfdf9;
	--ink: #0f0f0e;
	--ink-2: #3c3c38;
	--muted: #6d6d66;
	--faint: #a3a39b;
	--line: #e7e6e0;
	--line-2: #d6d5cd;

	--accent: #c6f04a;
	--accent-2: #a9dc1e;
	--accent-soft: rgba(198, 240, 74, 0.26);
	--accent-ink: #3d5700;
	--marker: rgba(198, 240, 74, 0.55);
	--ring: #4f7f00;

	--ok: #177a4a;
	--ok-soft: #e4f3ea;
	--warn: #8f620c;
	--warn-soft: #f8efd9;
	--err: #b0392a;
	--err-soft: #fbe8e3;

	--stage: #0c0d0b;
	--stage-line: rgba(255, 255, 255, 0.09);
	--stage-ink: #f4f5ef;
	--stage-muted: #9a9d93;
	--lime-text: #d9f58a;
	--mint: #6fd6a6;

	--btn-primary: #0f0f0e;
	--btn-primary-hover: #2a2a26;
	--btn-primary-ink: #ffffff;
	--logo-tile: #0f0f0e;
	--logo-stroke: transparent;
	--chart-bar: #262624;

	--shadow-xs: 0 1px 2px rgba(16, 16, 14, 0.05);
	--shadow-sm:
		0 1px 2px rgba(16, 16, 14, 0.04), 0 3px 10px -4px rgba(16, 16, 14, 0.07);
	--shadow-md:
		0 1px 2px rgba(16, 16, 14, 0.04), 0 14px 36px -14px rgba(16, 16, 14, 0.16);
	--shadow-lg:
		0 2px 6px rgba(16, 16, 14, 0.06), 0 30px 90px -24px rgba(16, 16, 14, 0.38);
	--radius-sm: 8px;
	--radius: 14px;
	--radius-lg: 20px;
	--ease: cubic-bezier(0.2, 0.8, 0.2, 1);

	font-family: var(--font-sans);
	font-size: 14px;
	font-synthesis: none;
	font-feature-settings: "cv11", "ss01";
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	color: var(--ink);
	background: var(--canvas);
}
[data-theme="dark"] {
	color-scheme: dark;
	--canvas: #0a0a09;
	--sidebar: #0d0d0c;
	--surface: #131312;
	--surface-2: #161614;
	--sunken: #0f0f0e;
	--hover: rgba(255, 255, 255, 0.05);
	--paper: #141412;
	--ink: #f2f2ec;
	--ink-2: #cfcfc7;
	--muted: #8e8e86;
	--faint: #5f5f59;
	--line: #232320;
	--line-2: #33332f;
	--accent-soft: rgba(198, 240, 74, 0.13);
	--accent-ink: #d4f56e;
	--marker: rgba(198, 240, 74, 0.3);
	--ring: #c6f04a;
	--ok: #63d197;
	--ok-soft: rgba(99, 209, 151, 0.12);
	--warn: #e8b85a;
	--warn-soft: rgba(232, 184, 90, 0.12);
	--err: #f08672;
	--err-soft: rgba(240, 134, 114, 0.12);
	--stage: #0e0f0d;
	--btn-primary: #f2f2ec;
	--btn-primary-hover: #ffffff;
	--btn-primary-ink: #0a0a09;
	--logo-tile: #1d1e1b;
	--logo-stroke: rgba(255, 255, 255, 0.12);
	--chart-bar: #c6f04a;
	--shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.4);
	--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.35), 0 4px 14px -6px rgba(0, 0, 0, 0.5);
	--shadow-md: 0 1px 2px rgba(0, 0, 0, 0.4), 0 18px 40px -16px rgba(0, 0, 0, 0.7);
	--shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.5), 0 40px 100px -24px rgba(0, 0, 0, 0.85);
}

/* Base */
*,
*::before,
*::after {
	box-sizing: border-box;
}
[hidden] {
	display: none !important;
}
html {
	background: var(--canvas);
}
body {
	margin: 0;
	min-height: 100vh;
	line-height: 1.5;
}
body:has(.landing) {
	background: #080907;
}
button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}
button {
	cursor: pointer;
}
button:disabled,
.btn:disabled {
	cursor: not-allowed;
	opacity: 0.45;
}
button,
a {
	touch-action: manipulation;
}
:focus-visible {
	outline: 2px solid var(--ring);
	outline-offset: 2px;
}
a {
	color: var(--ink);
	text-decoration-color: var(--line-2);
	text-underline-offset: 3px;
}
a:hover {
	text-decoration-color: currentColor;
}
h1,
h2,
h3,
p {
	margin-top: 0;
}
h1,
h2 {
	font-family: var(--font-display);
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1.1;
	text-wrap: balance;
}
h1 {
	font-size: 32px;
	margin-bottom: 10px;
}
h2 {
	font-size: 20px;
	letter-spacing: -0.02em;
}
h3 {
	font-size: 14.5px;
	font-weight: 600;
	letter-spacing: -0.005em;
}
h1 em,
h2 em {
	font-family: var(--font-serif);
	font-style: italic;
	font-weight: 400;
	letter-spacing: -0.015em;
	padding: 0 0.08em 0 0.02em;
	background-image: linear-gradient(
		transparent 64%,
		var(--marker) 64%,
		var(--marker) 90%,
		transparent 90%
	);
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}
p {
	line-height: 1.6;
}
small {
	font-size: 12.5px;
}
small,
.muted {
	color: var(--muted);
}
code,
pre,
.mono {
	font-family: var(--font-mono);
}
code {
	font-size: 12.5px;
}
mark {
	color: inherit;
	background: var(--marker);
	border-radius: 4px;
	padding: 0.04em 0.16em;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}
.icon {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	vertical-align: middle;
}
.skip {
	position: fixed;
	top: -100px;
	left: 16px;
	z-index: 100;
	padding: 10px 14px;
	border-radius: var(--radius-sm);
	background: var(--surface);
	box-shadow: var(--shadow-md);
}
.skip:focus {
	top: 16px;
}
.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;
}
.loading {
	display: grid;
	place-items: center;
	min-height: 100vh;
	color: var(--muted);
	font-size: 14px;
}

/* Identity */
.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--ink);
	text-decoration: none;
	min-width: 0;
}
.logo-mark {
	width: 28px;
	height: 28px;
	flex-shrink: 0;
	display: block;
}
.logo-tile {
	fill: var(--logo-tile);
	stroke: var(--logo-stroke);
}
.logo-line {
	fill: rgba(255, 255, 255, 0.42);
}
.logo-hit {
	fill: var(--accent);
}
.wordmark {
	font-family: var(--font-display);
	font-size: 15.5px;
	font-weight: 650;
	letter-spacing: -0.02em;
	white-space: nowrap;
}
.wordmark small {
	margin-left: 7px;
	font-size: 12.5px;
	font-weight: 500;
	letter-spacing: 0;
	color: var(--muted);
}

/* App frame */
.layout {
	display: grid;
	grid-template-columns: 248px minmax(0, 1fr);
	min-height: 100vh;
}
.sidebar {
	position: fixed;
	inset: 0 auto 0 0;
	z-index: 30;
	width: 248px;
	display: flex;
	flex-direction: column;
	padding: 18px 12px 12px;
	overflow-y: auto;
	background: var(--sidebar);
	border-right: 1px solid var(--line);
}
.sidebar-brand {
	padding: 4px 8px 18px;
}
.workspace-switch {
	position: relative;
	display: flex;
	align-items: center;
	gap: 9px;
	height: 42px;
	padding: 0 10px 0 7px;
	margin-bottom: 14px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 11px;
	box-shadow: var(--shadow-xs);
	transition: border-color 0.15s;
}
.workspace-switch:hover {
	border-color: var(--line-2);
}
.workspace-switch:focus-within {
	outline: 2px solid var(--ring);
	outline-offset: 2px;
}
.workspace-avatar {
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	flex-shrink: 0;
	border-radius: 7px;
	background: linear-gradient(135deg, #d9f77a, #7fd8a8);
	color: #0b0c0a;
	font-size: 12px;
	font-weight: 700;
}
.workspace-switch .icon {
	color: var(--muted);
	pointer-events: none;
}
.workspace-select {
	flex: 1;
	min-width: 0;
	height: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	font-size: 13.5px;
	font-weight: 550;
	color: var(--ink);
	appearance: none;
	cursor: pointer;
	text-overflow: ellipsis;
}
.workspace-select:focus-visible {
	outline: none;
}
.nav-label {
	margin: 14px 0 6px;
	padding: 0 10px;
	font-size: 11.5px;
	font-weight: 550;
	letter-spacing: 0.01em;
	color: var(--muted);
}
.nav-secondary {
	margin-top: 10px;
}
.nav-link {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	height: 34px;
	padding: 0 10px;
	margin-bottom: 1px;
	border-radius: 8px;
	color: var(--ink-2);
	font-size: 13.5px;
	font-weight: 500;
	text-decoration: none;
	transition:
		background 0.15s,
		color 0.15s;
}
.nav-link .icon {
	width: 17px;
	height: 17px;
	color: var(--muted);
	transition: color 0.15s;
}
.nav-link:hover {
	background: var(--hover);
	color: var(--ink);
}
.nav-link:hover .icon {
	color: var(--ink-2);
}
.nav-link.active {
	background: var(--surface);
	color: var(--ink);
	box-shadow:
		0 0 0 1px var(--line),
		var(--shadow-xs);
}
.nav-link.active .icon {
	color: var(--ink);
}
.nav-link.active::before {
	content: "";
	position: absolute;
	left: -12px;
	top: 9px;
	bottom: 9px;
	width: 3px;
	border-radius: 0 3px 3px 0;
	background: var(--accent-2);
}
.sidebar-bottom {
	margin-top: auto;
	padding-top: 18px;
}
.sidebar-note {
	position: relative;
	margin: 0 2px 12px;
	padding: 16px;
	overflow: hidden;
	border-radius: 13px;
	background:
		radial-gradient(
			180px 120px at 100% 0%,
			rgba(198, 240, 74, 0.2),
			transparent 70%
		),
		var(--stage);
	color: var(--stage-ink);
	border: 1px solid #1d1f1b;
}
.sidebar-note-mark .logo-mark {
	width: 24px;
	height: 24px;
}
.sidebar-note-mark .logo-tile {
	fill: #1d1e1b;
	stroke: rgba(255, 255, 255, 0.12);
}
.sidebar-note strong {
	display: block;
	margin: 12px 0 4px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: -0.01em;
}
.sidebar-note > span:last-child {
	display: block;
	font-size: 12.5px;
	line-height: 1.5;
	color: var(--stage-muted);
}
.profile {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 10px;
	padding: 12px 6px 2px;
	border-top: 1px solid var(--line);
}
.avatar {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	flex-shrink: 0;
	border-radius: 50%;
	background: linear-gradient(135deg, #2a2b27, #0f0f0e);
	color: var(--accent);
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.02em;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.profile-text {
	flex: 1;
	min-width: 0;
}
.profile-text strong {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 13px;
	font-weight: 600;
}
.profile-text small {
	display: block;
	font-size: 12px;
}
.profile-text small::first-letter {
	text-transform: uppercase;
}
.scrim {
	display: none;
}
.main-wrap {
	grid-column: 2;
	min-width: 0;
}
.topbar {
	position: sticky;
	top: 0;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	height: 60px;
	padding: 0 36px;
	border-bottom: 1px solid var(--line);
	background: color-mix(in srgb, var(--canvas) 82%, transparent);
	backdrop-filter: saturate(1.6) blur(14px);
	-webkit-backdrop-filter: saturate(1.6) blur(14px);
}
.crumb {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	font-size: 13.5px;
	color: var(--muted);
}
.crumb > span:nth-of-type(1) {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.crumb > span:nth-of-type(2) {
	color: var(--faint);
}
.crumb strong {
	font-weight: 550;
	color: var(--ink);
	white-space: nowrap;
}
.topbar-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}
.icon-btn.mobile-menu {
	display: none;
}
.content {
	max-width: 1280px;
	margin: 0 auto;
	padding: 36px 40px 28px;
	min-width: 0;
}
.page-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 64px;
	padding-top: 20px;
	border-top: 1px solid var(--line);
	font-size: 12.5px;
	color: var(--muted);
}
.footer-brand {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	color: var(--ink);
}
.footer-brand .logo-mark {
	width: 18px;
	height: 18px;
}
.footer-brand small {
	font-size: 12.5px;
	font-weight: 400;
}

/* Page headings */
.page-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 28px;
}
.page-heading > div:first-child {
	min-width: 0;
}
.page-heading h1 {
	margin-bottom: 8px;
}
.page-heading p {
	max-width: 640px;
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
	color: var(--muted);
}
.page-heading > .actions {
	flex-shrink: 0;
	justify-content: flex-end;
}
.page-heading > .actions:empty {
	display: none;
}
.actions select {
	width: auto;
	min-width: 150px;
}
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
	font-size: 12.5px;
	font-weight: 550;
	letter-spacing: 0.01em;
	color: var(--muted);
	line-height: 1.5;
}
.eyebrow .icon {
	width: 15px;
	height: 15px;
}
.back {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 18px;
	font-size: 13.5px;
	font-weight: 500;
	color: var(--muted);
	text-decoration: none;
	transition: color 0.15s;
}
.back:hover {
	color: var(--ink);
}
.folio {
	display: inline-grid;
	place-items: center;
	width: 24px;
	height: 24px;
	margin-right: 2px;
	border-radius: 7px;
	background: var(--sunken);
	border: 1px solid var(--line);
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 600;
	color: var(--ink-2);
}

/* Controls */
.actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	height: 36px;
	padding: 0 14px;
	border: 1px solid var(--line-2);
	border-radius: 9px;
	background: var(--surface);
	color: var(--ink);
	box-shadow: var(--shadow-xs);
	font-size: 13.5px;
	font-weight: 550;
	line-height: 1;
	white-space: nowrap;
	text-decoration: none;
	transition:
		background 0.15s,
		border-color 0.15s,
		box-shadow 0.15s,
		transform 0.1s;
}
.btn:hover:not(:disabled) {
	background: var(--surface-2);
	border-color: var(--faint);
}
.btn:active:not(:disabled) {
	transform: translateY(1px);
}
.btn .icon {
	width: 15px;
	height: 15px;
	color: var(--muted);
}
.btn.primary {
	background: var(--btn-primary);
	border-color: transparent;
	color: var(--btn-primary-ink);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.14),
		0 1px 2px rgba(0, 0, 0, 0.18),
		0 6px 14px -6px rgba(0, 0, 0, 0.35);
}
.btn.primary:hover:not(:disabled) {
	background: var(--btn-primary-hover);
	border-color: transparent;
}
.btn.primary .icon {
	color: inherit;
}
.btn.small {
	height: 30px;
	padding: 0 11px;
	border-radius: 8px;
	font-size: 12.5px;
}
.btn.lg {
	height: 48px;
	padding: 0 22px;
	border-radius: 12px;
	font-size: 15px;
	gap: 10px;
}
.btn.glass {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.14);
	color: #f4f5ef;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
	backdrop-filter: blur(10px);
}
.btn.glass:hover:not(:disabled) {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.24);
}
.btn.danger {
	color: var(--err);
}
.icon-btn {
	display: inline-grid;
	place-items: center;
	width: 32px;
	height: 32px;
	flex-shrink: 0;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--muted);
	transition:
		background 0.15s,
		color 0.15s;
}
.icon-btn:hover:not(:disabled) {
	background: var(--hover);
	color: var(--ink);
}
.pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 24px;
	padding: 0 9px;
	border-radius: 999px;
	background: var(--ok-soft);
	color: var(--ok);
	font-size: 12px;
	font-weight: 550;
	line-height: 1;
	white-space: nowrap;
}
.pill .icon {
	width: 13px;
	height: 13px;
}
.pill.warn {
	background: var(--warn-soft);
	color: var(--warn);
}
.pill.error {
	background: var(--err-soft);
	color: var(--err);
}
.pill.neutral {
	background: var(--surface-2);
	color: var(--ink-2);
	box-shadow: inset 0 0 0 1px var(--line);
	font-weight: 500;
}
.pill.neutral small {
	font-size: 12px;
	color: var(--muted);
}
.dot {
	position: relative;
	width: 6px;
	height: 6px;
	flex-shrink: 0;
	border-radius: 50%;
	background: currentColor;
}
.dot.live {
	background: var(--ok);
}
.dot.live::after,
.engine-pill.warn .dot::after {
	content: "";
	position: absolute;
	inset: -3px;
	border-radius: 50%;
	border: 1.5px solid currentColor;
	opacity: 0;
	animation: ping 2.4s var(--ease) infinite;
}
.dot.live::after {
	border-color: var(--ok);
}
@keyframes ping {
	0% {
		transform: scale(0.6);
		opacity: 0.8;
	}
	80%,
	100% {
		transform: scale(1.9);
		opacity: 0;
	}
}
.tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

/* Surfaces */
.card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
	min-width: 0;
}
.card-body {
	padding: 22px;
}
.card-body > h2 {
	margin-bottom: 4px;
}
.card-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 60px;
	padding: 12px 20px;
	border-bottom: 1px solid var(--line);
}
.card-head h2,
.card-head h3 {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-family: var(--font-sans);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: -0.01em;
}
.card-head > .icon {
	color: var(--muted);
}
.grid {
	display: grid;
	gap: 20px;
}
.grid.two {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid.three {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
.card h3 {
	margin: 22px 0 8px;
}
.card .eyebrow {
	font-family: var(--font-mono);
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.05em;
	color: var(--accent-ink);
	margin-bottom: 10px;
}
.light-rule {
	border: 0;
	border-top: 1px solid var(--line);
	margin: 24px 0;
}

/* Stats */
.stats,
.workspace-ledger {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	margin-bottom: 20px;
}
.stat {
	padding: 18px 20px 20px;
}
.stat-label {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
	font-size: 13px;
	font-weight: 550;
	color: var(--muted);
}
.stat-icon {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 9px;
	background: var(--sunken);
	border: 1px solid var(--line);
	color: var(--ink-2);
}
.stat-icon .icon {
	width: 15px;
	height: 15px;
}
.stat-value {
	font-family: var(--font-display);
	font-size: 34px;
	font-weight: 600;
	letter-spacing: -0.035em;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}
.stat-foot {
	margin-top: 8px;
	font-size: 12.5px;
	color: var(--muted);
}

/* Overview */
.overview-masthead {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
	margin: 6px 0 30px;
}
.overview-masthead h1 {
	margin: 0;
	font-size: clamp(40px, 4.4vw, 60px);
	letter-spacing: -0.045em;
	line-height: 1.02;
}
.masthead-aside {
	text-align: right;
}
.masthead-aside p {
	margin: 0 0 14px;
	font-size: 14px;
	color: var(--muted);
}
.masthead-aside .actions {
	justify-content: flex-end;
}
.hero,
.developer-note {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	color: var(--stage-ink);
	background:
		radial-gradient(
			900px 420px at 88% -12%,
			rgba(198, 240, 74, 0.2),
			transparent 60%
		),
		radial-gradient(
			620px 420px at -5% 115%,
			rgba(80, 200, 150, 0.16),
			transparent 60%
		),
		var(--stage);
	border: 1px solid #1d1f1b;
	box-shadow: var(--shadow-md);
}
.hero::before,
.developer-note::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
	background-size: 44px 44px;
	mask-image: radial-gradient(ellipse 80% 90% at 70% 0%, #000 20%, transparent 75%);
	-webkit-mask-image: radial-gradient(
		ellipse 80% 90% at 70% 0%,
		#000 20%,
		transparent 75%
	);
}
.hero {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	align-items: center;
	gap: 44px;
	padding: 44px 44px 40px;
	margin-bottom: 20px;
	border-radius: var(--radius-lg);
}
.hero-copy .eyebrow,
.developer-note .eyebrow {
	color: var(--lime-text);
}
.hero h2 {
	margin: 0 0 14px;
	font-size: clamp(30px, 2.9vw, 40px);
	letter-spacing: -0.035em;
	line-height: 1.08;
	color: #fff;
}
.hero h2 em,
.developer-note h2 em,
.landing h1 em,
.landing h2 em {
	background: linear-gradient(95deg, #eaffb0 0%, #c6f04a 45%, #6fd6a6 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	padding-right: 0.1em;
}
.hero-copy p {
	max-width: 440px;
	margin-bottom: 26px;
	font-size: 15.5px;
	color: var(--stage-muted);
}
.hero .actions {
	gap: 16px;
}
.hero .btn.primary,
.landing .btn.primary {
	background: var(--accent);
	color: #0b0c0a;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.55),
		0 0 0 1px rgba(198, 240, 74, 0.5),
		0 10px 30px -8px rgba(198, 240, 74, 0.55);
}
.hero .btn.primary:hover:not(:disabled),
.landing .btn.primary:hover:not(:disabled) {
	background: #d4f66a;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.6),
		0 0 0 1px rgba(198, 240, 74, 0.6),
		0 14px 36px -8px rgba(198, 240, 74, 0.7);
}
.sample-note {
	font-size: 12.5px;
	color: var(--stage-muted);
}
.workbench-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	gap: 20px;
	margin-bottom: 40px;
}
.getting-started {
	padding: 24px;
}
.section-title {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
}
.section-title h2 {
	margin: 0 0 4px;
}
.section-title p {
	margin: 0;
	font-size: 13.5px;
}
.section-index {
	flex-shrink: 0;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--sunken);
	border: 1px solid var(--line);
	font-size: 12px;
	font-weight: 550;
	color: var(--ink-2);
	font-variant-numeric: tabular-nums;
}
.getting-started .progress {
	margin: 18px 0 6px;
}
.step {
	display: grid;
	grid-template-columns: 32px minmax(0, 1fr) auto;
	align-items: center;
	gap: 14px;
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
}
.step:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}
.step h3 {
	margin: 0 0 2px;
	font-size: 14.5px;
}
.step p {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.45;
	color: var(--muted);
}
.step-number {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 1px solid var(--line-2);
	background: var(--surface);
	font-size: 13px;
	font-weight: 600;
	color: var(--muted);
	font-variant-numeric: tabular-nums;
}
.step.done .step-number {
	background: var(--accent);
	border-color: transparent;
	color: #0b0c0a;
	box-shadow: 0 0 0 4px var(--accent-soft);
}
.step-number .icon {
	width: 16px;
	height: 16px;
	stroke-width: 2.2;
}
.step-state {
	padding: 3px 9px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 550;
	color: var(--muted);
	background: var(--sunken);
	border: 1px solid var(--line);
}
.step.done .step-state {
	color: var(--ok);
	background: var(--ok-soft);
	border-color: transparent;
}
.developer-note {
	display: flex;
	flex-direction: column;
	padding: 26px;
	border-radius: var(--radius);
}
.developer-note h2 {
	margin: 0 0 10px;
	font-size: 24px;
	line-height: 1.15;
	color: #fff;
}
.developer-note > p {
	margin-bottom: 20px;
	font-size: 14.5px;
	color: var(--stage-muted);
}
.endpoint-strip {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 11px 14px;
	margin-bottom: 8px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--stage-line);
}
.endpoint-strip > span {
	padding: 3px 7px;
	border-radius: 6px;
	background: rgba(198, 240, 74, 0.12);
	color: var(--accent);
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.03em;
}
.endpoint-strip > span.get {
	background: rgba(111, 214, 166, 0.12);
	color: var(--mint);
}
.endpoint-strip code {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	font-size: 13px;
	color: var(--stage-ink);
}
.endpoint-strip .icon {
	color: var(--stage-muted);
}
.text-link {
	display: inline-flex;
	align-self: flex-start;
	margin-top: auto;
	padding-top: 14px;
	font-size: 14px;
	font-weight: 550;
	color: var(--accent);
	text-decoration: none;
}
.text-link:hover {
	text-decoration: underline;
}
.recent-heading {
	margin: 0 0 14px;
}

/* Illustrated sample: a product window on a dark stage. */
.hero-art {
	position: relative;
	padding: 20px 0 26px;
	min-width: 0;
}
.art-window {
	position: relative;
	border-radius: 16px;
	background: linear-gradient(
		180deg,
		rgba(255, 255, 255, 0.07),
		rgba(255, 255, 255, 0.025)
	);
	border: 1px solid rgba(255, 255, 255, 0.11);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.08),
		0 40px 90px -30px rgba(0, 0, 0, 0.85),
		0 0 0 1px rgba(0, 0, 0, 0.35);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}
.art-bar {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	height: 42px;
	padding: 0 14px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.art-lights {
	display: inline-flex;
	gap: 6px;
}
.art-lights i {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.15);
}
.art-title {
	overflow: hidden;
	text-align: center;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 12.5px;
	font-weight: 500;
	color: var(--stage-muted);
}
.art-title b {
	margin: 0 3px;
	font-weight: 400;
	color: #5a5d55;
}
.art-tag {
	padding: 3px 9px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 11px;
	font-weight: 550;
	color: #b6b9ae;
	white-space: nowrap;
}
.art-body {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) 52px minmax(0, 1fr);
	align-items: center;
	padding: 26px 22px 28px;
}
.art-pane {
	min-width: 0;
	border-radius: 12px;
}
.art-source {
	padding: 18px 20px 20px;
	background: #fbfbf7;
	color: #121210;
	box-shadow:
		0 24px 50px -22px rgba(0, 0, 0, 0.7),
		0 0 0 1px rgba(0, 0, 0, 0.2);
}
.art-label {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 14px;
	font-size: 12px;
	font-weight: 500;
	color: #6f6f68;
	min-width: 0;
}
.art-label > span:first-of-type {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.art-label .icon {
	width: 15px;
	height: 15px;
}
.art-label em {
	margin-left: auto;
	padding: 2px 8px;
	border-radius: 999px;
	background: #eeeee7;
	font-size: 10.5px;
	font-style: normal;
	font-weight: 650;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #85857d;
}
.art-skeleton {
	display: grid;
	gap: 8px;
	margin-bottom: 14px;
}
.art-skeleton:last-child {
	margin: 14px 0 0;
}
.art-skeleton i {
	height: 7px;
	border-radius: 99px;
	background: #e8e8e1;
	width: 92%;
}
.art-skeleton i:nth-child(2) {
	width: 68%;
}
.art-skeleton i:nth-child(3) {
	width: 82%;
}
.art-sentence {
	margin: 0;
	font-family: var(--font-serif);
	font-size: 21px;
	line-height: 1.45;
	letter-spacing: -0.01em;
	color: #121210;
}
.art-sentence mark {
	background: #d4f55f;
	color: #0b0c0a;
	border-radius: 5px;
	padding: 0 0.18em;
	box-shadow:
		0 0 0 1px #b2da28,
		0 6px 18px -4px rgba(198, 240, 74, 0.85);
}
.art-link {
	position: relative;
	height: 2px;
	margin: 0 -1px;
}
.art-link::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, #c6f04a, rgba(198, 240, 74, 0.35));
	box-shadow: 0 0 12px rgba(198, 240, 74, 0.6);
}
.art-link::after {
	content: "";
	position: absolute;
	right: -3px;
	top: 50%;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	transform: translateY(-50%);
	background: var(--stage);
	border: 2px solid #c6f04a;
}
.art-link span {
	position: absolute;
	top: 50%;
	left: 0;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	transform: translate(-50%, -50%);
	background: #eaffb0;
	box-shadow:
		0 0 0 4px rgba(198, 240, 74, 0.2),
		0 0 14px #c6f04a;
	animation: travel 2.8s var(--ease) infinite;
}
@keyframes travel {
	0% {
		left: 0;
		opacity: 0;
	}
	15%,
	80% {
		opacity: 1;
	}
	100% {
		left: 100%;
		opacity: 0;
	}
}
.art-result {
	padding: 18px 20px;
	color: var(--stage-ink);
	background: linear-gradient(
		180deg,
		rgba(198, 240, 74, 0.09),
		rgba(255, 255, 255, 0.02)
	);
	border: 1px solid rgba(198, 240, 74, 0.36);
	box-shadow:
		0 0 0 4px rgba(198, 240, 74, 0.05),
		0 24px 60px -24px rgba(198, 240, 74, 0.45);
}
.art-result .art-label code {
	padding: 2px 7px;
	border-radius: 6px;
	background: rgba(198, 240, 74, 0.1);
	font-size: 12px;
	color: var(--lime-text);
}
.art-status {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-left: auto;
	padding: 3px 9px;
	border-radius: 999px;
	background: rgba(99, 209, 151, 0.13);
	font-size: 11.5px;
	font-weight: 600;
	color: #7fe0ad;
}
.art-status::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
}
.art-result strong {
	display: block;
	margin: 4px 0 12px;
	font-family: var(--font-display);
	font-size: 34px;
	font-weight: 600;
	letter-spacing: -0.035em;
	line-height: 1.05;
	color: #fff;
}
.art-chain {
	display: flex;
	align-items: center;
	gap: 6px;
	font-family: var(--font-mono);
	font-size: 11.5px;
	color: #6f7269;
}
.art-chain span {
	padding: 2px 7px;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: #c9ccc2;
}
.art-proof {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 16px;
	padding-top: 12px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	font-size: 12.5px;
	color: #b6b9ae;
}
.art-proof .icon {
	width: 15px;
	height: 15px;
	color: var(--accent);
	stroke-width: 2.2;
}
.art-chip {
	position: absolute;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 34px;
	padding: 0 13px;
	border-radius: 999px;
	background: rgba(22, 24, 20, 0.82);
	border: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.75);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	font-size: 12.5px;
	font-weight: 500;
	color: #e2e4dc;
	white-space: nowrap;
	animation: float 7s ease-in-out infinite;
}
.art-chip .icon {
	width: 15px;
	height: 15px;
	color: #7fe0ad;
}
.art-chip b {
	font-family: var(--font-mono);
	font-size: 11px;
	color: var(--accent);
}
.art-chip-api span {
	font-family: var(--font-mono);
	font-size: 12px;
}
.art-chip-evidence {
	bottom: 4px;
	right: 7%;
}
.art-chip-api {
	bottom: 4px;
	left: 6%;
	animation-delay: -3.5s;
}
@keyframes float {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-6px);
	}
}

/* Tables */
.table-wrap {
	overflow-x: auto;
}
table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}
th {
	padding: 11px 20px;
	background: var(--surface-2);
	border-bottom: 1px solid var(--line);
	text-align: left;
	font-size: 12.5px;
	font-weight: 550;
	color: var(--muted);
	white-space: nowrap;
}
td {
	padding: 14px 20px;
	border-bottom: 1px solid var(--line);
	vertical-align: middle;
}
tbody tr:last-child td {
	border-bottom: 0;
}
tbody tr {
	transition: background 0.12s;
}
tbody tr:hover td {
	background: var(--surface-2);
}
td small {
	display: block;
	margin-top: 3px;
	font-size: 12.5px;
}
td strong {
	font-weight: 600;
}
td:last-child {
	text-align: right;
}
td code {
	padding: 3px 7px;
	border-radius: 6px;
	background: var(--sunken);
	border: 1px solid var(--line);
}
.table-link {
	font-weight: 600;
	color: var(--ink);
	text-decoration: none;
}
.table-link:hover {
	text-decoration: underline;
	text-decoration-color: var(--line-2);
}
.document-title {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}
.document-title .icon {
	width: 30px;
	height: 30px;
	padding: 7px;
	border-radius: 8px;
	background: var(--sunken);
	border: 1px solid var(--line);
	color: var(--ink-2);
}
.document-title + small {
	padding-left: 40px;
}

/* Toolbars and filters */
.toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 14px;
}
.toolbar small {
	font-size: 13px;
}
.filters {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.filter {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	height: 32px;
	padding: 0 12px;
	border-radius: 999px;
	border: 1px solid var(--line-2);
	background: var(--surface);
	font-size: 13px;
	font-weight: 550;
	color: var(--ink-2);
	transition:
		background 0.15s,
		border-color 0.15s;
}
.filter:hover {
	border-color: var(--faint);
}
.filter small {
	min-width: 20px;
	padding: 1px 6px;
	border-radius: 999px;
	background: var(--sunken);
	font-size: 11.5px;
	font-weight: 600;
	color: var(--muted);
	text-align: center;
}
.filter.active {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--canvas);
}
.filter.active small {
	background: rgba(127, 127, 127, 0.28);
	color: inherit;
}
.search {
	width: 280px;
	max-width: 100%;
	padding-left: 36px !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238f8f87' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m20 20-4.2-4.2'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: 12px 50%;
	background-size: 16px;
}

/* Notices and empty states */
.notice {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 16px 0;
	padding: 12px 14px;
	border-radius: 12px;
	background: var(--warn-soft);
	border: 1px solid color-mix(in srgb, var(--warn) 22%, transparent);
	font-size: 13.5px;
	line-height: 1.55;
	color: var(--ink-2);
}
.notice:not(:has(.icon))::before {
	content: "";
	width: 7px;
	height: 7px;
	margin-top: 7px;
	flex-shrink: 0;
	border-radius: 50%;
	background: var(--warn);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--warn) 18%, transparent);
}
.notice .icon {
	margin-top: 1px;
	color: var(--ok);
}
.notice.info {
	background: var(--surface-2);
	border-color: var(--line);
	color: var(--muted);
}
.notice.info:not(:has(.icon))::before {
	background: var(--ok);
	box-shadow: 0 0 0 3px var(--ok-soft);
}
.notice + .split {
	margin-top: 4px;
}
.empty {
	padding: 52px 24px;
	text-align: center;
}
.empty > .icon {
	width: 46px;
	height: 46px;
	padding: 12px;
	margin-bottom: 16px;
	border-radius: 13px;
	background: var(--surface);
	border: 1px solid var(--line);
	box-shadow:
		var(--shadow-sm),
		0 0 0 6px var(--sunken);
	color: var(--ink-2);
}
.empty h3 {
	margin: 0 0 6px;
	font-family: var(--font-display);
	font-size: 17px;
	letter-spacing: -0.015em;
}
.empty p {
	max-width: 420px;
	margin: 0 auto 20px;
	font-size: 14px;
	color: var(--muted);
}

/* Source documents and evidence */
.split {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	align-items: start;
}
.extraction-desk {
	position: relative;
}
.extraction-desk::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 180px;
	z-index: 2;
	width: 36px;
	height: 36px;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	background: var(--surface)
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238f8f87' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E")
		center / 16px no-repeat;
	border: 1px solid var(--line-2);
	box-shadow:
		var(--shadow-sm),
		0 0 0 5px var(--canvas);
}
.source-paper {
	position: relative;
	min-height: 260px;
	max-height: 560px;
	overflow: auto;
	padding: 26px 30px 28px 58px;
	background: var(--paper);
	font-family: var(--font-serif);
	font-size: 19px;
	line-height: 1.75;
	letter-spacing: -0.005em;
	color: var(--ink);
	white-space: pre-wrap;
	overflow-wrap: anywhere;
}
.source-paper::before {
	content: "";
	position: absolute;
	left: 38px;
	top: 0;
	bottom: 0;
	width: 1px;
	background: color-mix(in srgb, var(--err) 28%, transparent);
}
.source-paper mark {
	background: var(--marker);
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent-2) 55%, transparent);
}
.source-card .card-body {
	border-bottom: 1px solid var(--line);
}
.source-card .card-body label {
	margin-bottom: 0;
}
.source-meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 16px;
	padding: 12px 20px;
	border-top: 1px solid var(--line);
	background: var(--surface-2);
	font-family: var(--font-mono);
	font-size: 12px;
	color: var(--muted);
	overflow-wrap: anywhere;
}
.field-preview {
	padding: 18px 22px;
	border-bottom: 1px solid var(--line);
}
.field-preview .row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 8px;
}
.field-preview code {
	padding: 3px 8px;
	border-radius: 6px;
	background: var(--sunken);
	border: 1px solid var(--line);
	font-size: 12.5px;
	font-weight: 500;
	color: var(--ink);
	overflow-wrap: anywhere;
}
.field-preview p {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.55;
	color: var(--muted);
}
.field-preview .tags {
	margin-bottom: 4px;
}
.field-value {
	margin: 10px 0 14px;
	font-family: var(--font-display);
	font-size: 32px;
	font-weight: 600;
	letter-spacing: -0.035em;
	line-height: 1.1;
	overflow-wrap: anywhere;
}
.evidence {
	margin-top: 14px;
	padding: 14px 16px;
	border-radius: 10px;
	background: var(--accent-soft);
	border-left: 3px solid var(--accent-2);
	font-family: var(--font-serif);
	font-size: 17px;
	line-height: 1.55;
	color: var(--ink);
}
.evidence small {
	display: block;
	margin-bottom: 6px;
	font-family: var(--font-sans);
	font-size: 11px;
	font-weight: 650;
	letter-spacing: 0.07em;
	color: var(--accent-ink);
}
.status-message {
	padding: 22px;
	color: var(--err);
}
.status-line {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	font-size: 13.5px;
	color: var(--muted);
}
details summary {
	cursor: pointer;
	font-size: 13.5px;
	font-weight: 550;
	color: var(--ink-2);
	list-style-position: inside;
}
details[open] summary {
	margin-bottom: 4px;
}
.code {
	max-width: 100%;
	margin: 12px 0;
	padding: 16px 18px;
	overflow: auto;
	border-radius: 12px;
	background: #0c0d0b;
	border: 1px solid #1f211d;
	color: #dfe2d8;
	font-size: 12.5px;
	line-height: 1.7;
	white-space: pre;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.progress {
	display: block;
	width: 100%;
	height: 6px;
	margin: 0 0 18px;
	border: 0;
	border-radius: 999px;
	background: var(--sunken);
	overflow: hidden;
	appearance: none;
	-webkit-appearance: none;
}
.progress::-webkit-progress-bar {
	background: var(--sunken);
	border-radius: 999px;
}
.progress::-webkit-progress-value {
	border-radius: 999px;
	background: linear-gradient(90deg, var(--accent-2), var(--mint));
	transition: width 0.4s var(--ease);
}
.progress::-moz-progress-bar {
	border-radius: 999px;
	background: linear-gradient(90deg, var(--accent-2), var(--mint));
}

/* Extractors */
.extractor-card {
	display: flex;
	flex-direction: column;
	padding: 20px;
	transition:
		box-shadow 0.2s var(--ease),
		transform 0.2s var(--ease),
		border-color 0.2s;
}
.extractor-card:hover {
	transform: translateY(-2px);
	border-color: var(--line-2);
	box-shadow: var(--shadow-md);
}
.extractor-card .status-line {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.03em;
}
.extractor-card .status-line .icon {
	width: 30px;
	height: 30px;
	padding: 7px;
	border-radius: 9px;
	background: var(--accent-soft);
	color: var(--accent-ink);
}
.extractor-card h3 {
	margin: 14px 0 6px;
	font-family: var(--font-display);
	font-size: 18px;
	letter-spacing: -0.02em;
}
.extractor-card p {
	flex-grow: 1;
	margin: 0 0 14px;
	font-size: 13.5px;
	color: var(--muted);
}
.extractor-card .tags {
	margin-bottom: 18px;
}
.extractor-card .actions {
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid var(--line);
}
.extractor-card .actions .icon-btn {
	margin-left: auto;
}

/* Usage */
.chart {
	display: block;
	width: 100%;
	height: auto;
	margin-top: 18px;
	overflow: visible;
}
.chart line {
	stroke: var(--line-2);
	stroke-dasharray: 2 4;
}
.chart rect {
	fill: var(--chart-bar);
	transition: fill 0.15s;
}
.chart rect:hover {
	fill: var(--accent-2);
}
.chart text {
	fill: var(--muted);
	font-size: 11px;
	font-family: var(--font-sans);
}
.usage-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid var(--line);
	font-size: 14px;
}
.usage-row:last-child {
	border-bottom: 0;
}
.usage-row code {
	padding: 3px 7px;
	border-radius: 6px;
	background: var(--sunken);
	border: 1px solid var(--line);
}
.usage-row span:last-child {
	color: var(--muted);
}

/* Settings */
.tabs {
	display: inline-flex;
	gap: 2px;
	max-width: 100%;
	margin-bottom: 18px;
	padding: 4px;
	overflow-x: auto;
	border-radius: 12px;
	background: var(--sunken);
	border: 1px solid var(--line);
}
.tab {
	height: 32px;
	padding: 0 14px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	font-size: 13.5px;
	font-weight: 550;
	color: var(--muted);
	white-space: nowrap;
	transition:
		background 0.15s,
		color 0.15s;
}
.tab:hover {
	color: var(--ink);
}
.tab.active {
	background: var(--surface);
	color: var(--ink);
	box-shadow:
		0 0 0 1px var(--line),
		var(--shadow-xs);
}
.settings-form {
	max-width: 640px;
	padding: 28px;
}
.settings-form h2 {
	margin-bottom: 22px;
}
.settings-form p {
	font-size: 13.5px;
}
.settings-form code,
.subsection code {
	display: inline-block;
	max-width: 100%;
	padding: 5px 9px;
	border-radius: 7px;
	background: var(--sunken);
	border: 1px solid var(--line);
	overflow-wrap: anywhere;
}
.subsection {
	margin-top: 28px;
	padding-top: 22px;
	border-top: 1px solid var(--line);
}
.subsection h3 {
	margin: 0 0 8px;
	font-size: 13.5px;
}
h3.subsection {
	margin-top: 22px;
	padding-top: 0;
	border-top: 0;
}

/* Forms */
label {
	display: grid;
	gap: 7px;
	margin-bottom: 16px;
	font-size: 13px;
	font-weight: 550;
	color: var(--ink-2);
}
label small {
	font-size: 12px;
	font-weight: 400;
}
input,
select,
textarea {
	width: 100%;
	height: 38px;
	padding: 0 12px;
	border: 1px solid var(--line-2);
	border-radius: 9px;
	background: var(--surface);
	box-shadow: var(--shadow-xs);
	font-size: 14px;
	font-weight: 400;
	color: var(--ink);
	transition:
		border-color 0.15s,
		box-shadow 0.15s;
}
input::placeholder,
textarea::placeholder {
	color: var(--faint);
}
input:hover:not(:disabled),
select:hover:not(:disabled),
textarea:hover:not(:disabled) {
	border-color: var(--faint);
}
input:focus,
select:focus,
textarea:focus {
	outline: none;
	border-color: var(--ring);
	box-shadow:
		0 0 0 4px var(--accent-soft),
		var(--shadow-xs);
}
input:disabled,
select:disabled,
textarea:disabled {
	background: var(--sunken);
	color: var(--muted);
	cursor: not-allowed;
}
select {
	padding-right: 34px;
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238f8f87' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m8 10 4 4 4-4'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 10px center;
	background-size: 18px;
	cursor: pointer;
	text-overflow: ellipsis;
}
.workspace-select {
	background-image: none;
	box-shadow: none;
}
.workspace-select:focus {
	box-shadow: none;
}
textarea {
	height: auto;
	padding: 10px 12px;
	line-height: 1.55;
	resize: vertical;
}
textarea.mono {
	font-size: 12.5px;
}
input[type="checkbox"] {
	width: 16px;
	height: 16px;
	margin: 0;
	padding: 0;
	box-shadow: none;
	accent-color: var(--ink);
	cursor: pointer;
}
[data-theme="dark"] input[type="checkbox"] {
	accent-color: var(--accent);
}
.check-label {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	font-weight: 450;
	color: var(--ink);
	cursor: pointer;
}
.upload {
	margin-bottom: 18px;
	padding: 22px;
	border: 1.5px dashed var(--line-2);
	border-radius: 14px;
	background: var(--surface-2);
	text-align: center;
	transition: border-color 0.15s;
}
.upload:hover {
	border-color: var(--faint);
}
.upload label {
	justify-items: center;
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	color: var(--ink);
}
.upload input {
	width: auto;
	max-width: 100%;
	height: auto;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	font-size: 13px;
	color: var(--muted);
}
.upload input:focus {
	box-shadow: none;
}
.upload input::file-selector-button {
	height: 32px;
	margin-right: 10px;
	padding: 0 12px;
	border: 1px solid var(--line-2);
	border-radius: 8px;
	background: var(--surface);
	box-shadow: var(--shadow-xs);
	font: inherit;
	font-weight: 550;
	color: var(--ink);
	cursor: pointer;
}
.upload p {
	margin: 10px 0 0;
	font-size: 12.5px;
	color: var(--muted);
}

/* Dialogs */
dialog {
	width: min(560px, calc(100vw - 32px));
	max-height: calc(100vh - 48px);
	padding: 0;
	border: 0;
	border-radius: 18px;
	background: var(--surface);
	color: var(--ink);
	box-shadow:
		0 0 0 1px var(--line),
		var(--shadow-lg);
	overflow: hidden;
}
dialog[open] {
	display: flex;
	flex-direction: column;
	animation: dialog-in 0.22s var(--ease);
}
dialog.wide {
	width: min(820px, calc(100vw - 32px));
}
dialog::backdrop {
	background: rgba(10, 10, 9, 0.42);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}
@keyframes dialog-in {
	from {
		opacity: 0;
		transform: translateY(8px) scale(0.985);
	}
}
.dialog-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 20px 16px 24px;
	border-bottom: 1px solid var(--line);
}
.dialog-head h2 {
	margin: 0;
	font-size: 18px;
}
.dialog-body {
	padding: 22px 24px 24px;
	overflow-y: auto;
}
.dialog-body > p,
.dialog-body form > p {
	font-size: 14px;
	color: var(--ink-2);
}
.dialog-body .muted {
	color: var(--muted);
}
.dialog-body .grid.two {
	align-items: end;
}
.dialog-body .toolbar {
	margin: 6px 0 12px;
}
.dialog-body .toolbar h3 {
	margin: 0;
}
.dialog-actions {
	display: flex;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 8px;
	margin: 22px -24px -24px;
	padding: 16px 24px;
	border-top: 1px solid var(--line);
	background: var(--surface-2);
}
.form-error {
	margin-bottom: 16px;
	padding: 10px 12px;
	border-radius: 10px;
	background: var(--err-soft);
	font-size: 13.5px;
	color: var(--err);
}
.form-error:empty {
	display: none;
}
.field-row {
	margin-bottom: 12px;
	padding: 16px;
	border: 1px solid var(--line);
	border-radius: 13px;
	background: var(--surface-2);
}
.field-row-top {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
	align-items: end;
	gap: 12px;
}
.field-row-top .icon-btn {
	height: 38px;
	width: 38px;
	margin-bottom: 16px;
}
.field-row label:last-child {
	margin-bottom: 0;
}
.selection-box {
	max-height: 260px;
	margin: 8px 0 4px;
	padding: 4px 12px;
	overflow: auto;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--surface-2);
}
.selection-box label {
	margin: 0;
	padding: 11px 0;
	border-bottom: 1px solid var(--line);
}
.selection-box label:last-child {
	border-bottom: 0;
}
.key-reveal {
	margin: 16px 0 4px;
	padding: 16px 18px;
	border-radius: 12px;
	background: #0c0d0b;
	border: 1px solid #1f211d;
	color: var(--accent);
	font-size: 14px;
	letter-spacing: 0.01em;
	overflow-wrap: anywhere;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.05),
		0 0 0 4px var(--accent-soft);
}

/* Toast */
#toast {
	position: fixed;
	left: 50%;
	bottom: 24px;
	z-index: 60;
	max-width: min(480px, calc(100vw - 32px));
	padding: 12px 16px 12px 40px;
	border-radius: 12px;
	background: #111110;
	color: #f4f5ef;
	box-shadow: var(--shadow-lg);
	font-size: 13.5px;
	font-weight: 500;
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, 16px);
	transition:
		opacity 0.2s var(--ease),
		transform 0.25s var(--ease);
}
#toast::before {
	content: "";
	position: absolute;
	left: 16px;
	top: 50%;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	transform: translateY(-50%);
	background: var(--accent)
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b0c0a' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E")
		center / 10px no-repeat;
}
#toast.show {
	opacity: 1;
	pointer-events: auto;
	transform: translate(-50%, 0);
}
[data-theme="dark"] #toast {
	background: #f2f2ec;
	color: #0a0a09;
}

/* Shared snapshots */
.shared-wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 28px 24px 64px;
}
.shared-wrap > .brand {
	margin-bottom: 24px;
}

/* Landing: an always-dark launch stage. */
.landing {
	--ink: #f4f5ef;
	--ink-2: #d5d8ce;
	--muted: #9a9d93;
	--line: rgba(255, 255, 255, 0.08);
	--line-2: rgba(255, 255, 255, 0.14);
	--surface: #121411;
	--logo-tile: #1b1c19;
	--logo-stroke: rgba(255, 255, 255, 0.14);
	--warn-soft: rgba(232, 184, 90, 0.1);
	--warn: #e8b85a;
	--ring: #c6f04a;
	position: relative;
	min-height: 100vh;
	overflow: hidden;
	overflow: clip;
	background: #080907;
	color: var(--ink);
}
.landing-backdrop {
	position: absolute;
	inset: 0 0 auto;
	height: 1200px;
	pointer-events: none;
}
.landing-grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
	background-size: 64px 64px;
	background-position: center top;
	mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 25%, transparent 78%);
	-webkit-mask-image: radial-gradient(
		ellipse 70% 55% at 50% 0%,
		#000 25%,
		transparent 78%
	);
}
.landing-aura {
	position: absolute;
	left: 50%;
	top: -420px;
	width: 1500px;
	height: 1000px;
	transform: translateX(-50%);
	background:
		radial-gradient(closest-side at 50% 50%, rgba(198, 240, 74, 0.24), transparent),
		radial-gradient(closest-side at 25% 60%, rgba(80, 200, 150, 0.16), transparent),
		radial-gradient(closest-side at 78% 58%, rgba(120, 170, 255, 0.08), transparent);
	filter: blur(10px);
}
.landing-nav,
.landing-hero,
.landing-section,
.landing-cta,
.landing-footer {
	position: relative;
	z-index: 1;
	max-width: 1240px;
	margin: 0 auto;
	padding-left: 32px;
	padding-right: 32px;
}
.landing-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 22px;
	padding-bottom: 22px;
}
.landing-nav-end {
	display: flex;
	align-items: center;
	gap: 10px;
}
.nav-badge {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	height: 32px;
	padding: 0 12px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(255, 255, 255, 0.04);
	font-size: 12.5px;
	font-weight: 500;
	color: #c9ccc2;
	white-space: nowrap;
}
.nav-badge .icon {
	width: 14px;
	height: 14px;
	color: var(--accent);
}
.landing-hero {
	padding-top: 76px;
	text-align: center;
}
.landing-copy {
	max-width: 900px;
	margin: 0 auto;
}
.announce {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 34px;
	margin-bottom: 30px;
	padding: 0 14px 0 4px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(255, 255, 255, 0.04);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
	font-size: 13px;
	font-weight: 500;
	color: #d5d8ce;
	backdrop-filter: blur(8px);
}
.announce b {
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--accent);
	color: #0b0c0a;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.02em;
}
.landing h1 {
	margin: 0 0 28px;
	font-size: clamp(48px, 7.6vw, 104px);
	font-weight: 600;
	letter-spacing: -0.052em;
	line-height: 0.96;
	color: #fff;
}
.landing h1 em {
	letter-spacing: -0.035em;
}
.lede {
	max-width: 640px;
	margin: 0 auto 36px;
	font-size: clamp(16.5px, 1.5vw, 19px);
	line-height: 1.55;
	color: #a6a99f;
	text-wrap: pretty;
}
.landing-hero .actions {
	justify-content: center;
	gap: 12px;
}
.landing-hero .notice {
	max-width: 520px;
	margin: 0 auto 24px;
	text-align: left;
}
.fine-print {
	margin: 20px 0 0;
	font-size: 13px;
	color: #7d8077;
}
.landing-stage {
	position: relative;
	max-width: 1040px;
	margin: 72px auto 0;
	text-align: left;
}
.landing-stage::before {
	content: "";
	position: absolute;
	left: 10%;
	right: 10%;
	top: 30%;
	bottom: -10%;
	z-index: -1;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(198, 240, 74, 0.22), transparent);
	filter: blur(40px);
}
.landing .art-body {
	padding: 40px 36px 44px;
	grid-template-columns: minmax(0, 1.2fr) 72px minmax(0, 1fr);
}
.landing .art-source {
	padding: 24px 26px 26px;
}
.landing .art-sentence {
	font-size: clamp(22px, 2.4vw, 30px);
}
.landing .art-result {
	padding: 22px 24px;
}
.landing .art-result strong {
	font-size: clamp(34px, 3.8vw, 48px);
}
.landing .art-chip-evidence {
	top: 76px;
	right: -18px;
	bottom: auto;
}
.landing .art-chip-api {
	bottom: 2px;
	left: -18px;
}
.landing-section {
	padding-top: 128px;
}
.section-kicker {
	margin-bottom: 14px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--accent);
	text-align: center;
}
.landing-section > h2 {
	max-width: 780px;
	margin: 0 auto 52px;
	font-size: clamp(32px, 4.2vw, 54px);
	letter-spacing: -0.045em;
	line-height: 1.04;
	color: #fff;
	text-align: center;
}
.landing-steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}
.landing-step {
	padding: 22px 22px 26px;
	border-radius: 20px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: linear-gradient(
		180deg,
		rgba(255, 255, 255, 0.045),
		rgba(255, 255, 255, 0.012)
	);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
	transition:
		border-color 0.2s,
		transform 0.3s var(--ease);
}
.landing-step:hover {
	border-color: rgba(198, 240, 74, 0.3);
	transform: translateY(-3px);
}
.landing-step-visual {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 164px;
	margin-bottom: 24px;
	overflow: hidden;
	border-radius: 14px;
	background:
		radial-gradient(
			240px 140px at 50% 110%,
			rgba(198, 240, 74, 0.12),
			transparent 70%
		),
		#0d0e0c;
	border: 1px solid rgba(255, 255, 255, 0.06);
}
.visual-docs span {
	position: relative;
	display: grid;
	align-content: start;
	gap: 6px;
	width: 74px;
	height: 96px;
	margin: 0 -8px;
	padding: 14px 10px;
	border-radius: 9px;
	background: #f6f6f1;
	box-shadow: 0 16px 30px -12px rgba(0, 0, 0, 0.8);
}
.visual-docs span:nth-child(1) {
	transform: rotate(-9deg) translateY(8px);
}
.visual-docs span:nth-child(2) {
	z-index: 2;
	transform: translateY(-6px);
}
.visual-docs span:nth-child(3) {
	transform: rotate(9deg) translateY(8px);
}
.visual-docs i {
	height: 5px;
	border-radius: 9px;
	background: #deded6;
}
.visual-docs i:nth-child(2) {
	width: 70%;
	background: #c6f04a;
}
.visual-docs b {
	position: absolute;
	left: 10px;
	bottom: 10px;
	padding: 2px 5px;
	border-radius: 4px;
	background: #111110;
	color: #f4f5ef;
	font-family: var(--font-mono);
	font-size: 9px;
}
.visual-fields {
	flex-direction: column;
	gap: 8px;
	padding: 0 22px;
}
.visual-fields span {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	padding: 8px 11px;
	border-radius: 9px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
}
.visual-fields span:first-child {
	border-color: rgba(198, 240, 74, 0.4);
	background: rgba(198, 240, 74, 0.07);
}
.visual-fields code {
	font-size: 12px;
	color: var(--lime-text);
}
.visual-fields em {
	font-family: var(--font-mono);
	font-size: 11px;
	font-style: normal;
	color: #7d8077;
}
.visual-proof {
	flex-direction: column;
	padding: 0 24px;
}
.visual-proof p {
	margin: 0 0 16px;
	font-family: var(--font-serif);
	font-size: 18px;
	line-height: 1.5;
	color: #d9dbd2;
	text-align: center;
}
.visual-proof mark {
	background: #d4f55f;
	color: #0b0c0a;
	box-shadow: 0 6px 18px -4px rgba(198, 240, 74, 0.7);
}
.visual-proof > span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 11px;
	border-radius: 999px;
	background: rgba(99, 209, 151, 0.13);
	font-size: 12px;
	font-weight: 600;
	color: #7fe0ad;
}
.visual-proof .icon {
	width: 13px;
	height: 13px;
	stroke-width: 2.4;
}
.landing-step-n {
	font-family: var(--font-mono);
	font-size: 12px;
	color: #6f7269;
}
.landing-step h3,
.feature h3 {
	margin: 8px 0 6px;
	font-size: 17px;
	letter-spacing: -0.015em;
	color: #fff;
}
.landing-step > p,
.feature p {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.55;
	color: var(--muted);
}
.feature-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	overflow: hidden;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.08);
}
.feature {
	padding: 30px 28px 32px;
	background: #0a0b09;
	transition: background 0.2s;
}
.feature:hover {
	background: #0e100d;
}
.feature-icon {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	margin-bottom: 18px;
	border-radius: 11px;
	background: rgba(198, 240, 74, 0.09);
	border: 1px solid rgba(198, 240, 74, 0.22);
	color: var(--accent);
	box-shadow: 0 0 24px -6px rgba(198, 240, 74, 0.35);
}
.feature-icon .icon {
	width: 18px;
	height: 18px;
}
.landing-api {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	align-items: center;
	gap: 64px;
}
.landing-api .section-kicker {
	text-align: left;
}
.landing-api h2 {
	margin: 0 0 18px;
	font-size: clamp(32px, 3.6vw, 48px);
	letter-spacing: -0.045em;
	line-height: 1.04;
	color: #fff;
}
.landing-api-copy p {
	font-size: 16.5px;
	color: #a6a99f;
}
.check-list {
	margin: 26px 0 0;
	padding: 0;
	list-style: none;
}
.check-list li {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
	font-size: 15px;
	color: #d5d8ce;
}
.check-list .icon {
	width: 22px;
	height: 22px;
	padding: 4px;
	border-radius: 50%;
	background: rgba(198, 240, 74, 0.12);
	color: var(--accent);
	stroke-width: 2.4;
}
.code-window {
	min-width: 0;
	overflow: hidden;
	border-radius: 16px;
	background: #0c0d0b;
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.05),
		0 40px 100px -30px rgba(0, 0, 0, 0.9),
		0 0 80px -40px rgba(198, 240, 74, 0.35);
}
.code-window-bar {
	display: flex;
	align-items: center;
	gap: 14px;
	height: 42px;
	padding: 0 16px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
	background: rgba(255, 255, 255, 0.02);
}
.code-title {
	font-family: var(--font-mono);
	font-size: 12.5px;
	color: #c9ccc2;
}
.code-lang {
	margin-left: auto;
	font-size: 12px;
	color: #6f7269;
}
.code-window pre {
	margin: 0;
	padding: 22px 24px 26px;
	overflow-x: auto;
	font-size: 13px;
	line-height: 1.75;
	color: #e1e3da;
}
.c-mute {
	color: #686b63;
}
.c-str {
	color: #c6f04a;
}
.c-key {
	color: #e9eae3;
}
.c-ok {
	color: #6fd6a6;
}
.landing-cta {
	padding-top: 128px;
}
.landing-cta-inner {
	position: relative;
	overflow: hidden;
	padding: 76px 32px 80px;
	border-radius: 28px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background:
		radial-gradient(
			620px 300px at 50% -10%,
			rgba(198, 240, 74, 0.24),
			transparent 70%
		),
		linear-gradient(180deg, #10110e, #0a0b09);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
	text-align: center;
}
.landing-cta-inner .logo-mark {
	width: 48px;
	height: 48px;
	margin: 0 auto 26px;
	filter: drop-shadow(0 10px 30px rgba(198, 240, 74, 0.35));
}
.landing-cta h2 {
	margin: 0 0 16px;
	font-size: clamp(32px, 4.4vw, 56px);
	letter-spacing: -0.045em;
	line-height: 1.02;
	color: #fff;
}
.landing-cta p {
	max-width: 460px;
	margin: 0 auto 32px;
	font-size: 16.5px;
	color: #a6a99f;
}
.landing-cta .actions {
	justify-content: center;
}
.landing-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 56px;
	padding-bottom: 44px;
	font-size: 13px;
	color: #7d8077;
}
.landing-footer a {
	color: #d5d8ce;
}
.landing-footer .logo-mark {
	width: 24px;
	height: 24px;
}

/* Dark-theme refinements */
[data-theme="dark"] h1 em,
[data-theme="dark"] h2 em {
	background: linear-gradient(95deg, #eaffb0 0%, #c6f04a 45%, #6fd6a6 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	padding-right: 0.1em;
}
[data-theme="dark"] .nav-link.active {
	background: var(--surface-2);
}
[data-theme="dark"] .avatar {
	background: linear-gradient(135deg, #2b2c28, #1a1b18);
}
[data-theme="dark"] .hero,
[data-theme="dark"] .developer-note,
[data-theme="dark"] .sidebar-note {
	border-color: #22241f;
}
[data-theme="dark"] .extraction-desk::before {
	background-color: var(--surface-2);
}
[data-theme="dark"] .source-paper mark {
	color: #f6ffdc;
}
[data-theme="dark"] .filter.active small {
	background: rgba(0, 0, 0, 0.12);
}
[data-theme="dark"] dialog::backdrop {
	background: rgba(0, 0, 0, 0.6);
}

/* Responsive */
@media (min-width: 1600px) {
	.content {
		max-width: 1360px;
	}
}
@media (max-width: 1180px) {
	.layout {
		grid-template-columns: 224px minmax(0, 1fr);
	}
	.sidebar {
		width: 224px;
	}
	.content {
		padding: 30px 30px 24px;
	}
	.topbar {
		padding: 0 30px;
	}
	.hero {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
		padding: 36px;
	}
	.hero-copy p {
		max-width: 560px;
	}
	.workspace-ledger,
	.stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.grid.three {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.page-heading {
		flex-wrap: wrap;
		align-items: flex-start;
	}
	.page-heading > .actions {
		justify-content: flex-start;
	}
	.landing-api {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}
	.feature-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.landing .art-chip-evidence {
		right: 12px;
	}
	.landing .art-chip-api {
		left: 12px;
	}
}
@media (max-width: 860px) {
	.layout {
		grid-template-columns: minmax(0, 1fr);
	}
	.main-wrap {
		grid-column: 1;
	}
	.sidebar {
		width: 268px;
		transform: translateX(-100%);
		transition: transform 0.28s var(--ease);
		box-shadow: none;
	}
	.sidebar.open {
		transform: translateX(0);
		box-shadow: var(--shadow-lg);
	}
	.scrim {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 25;
		background: rgba(10, 10, 9, 0.4);
		backdrop-filter: blur(3px);
		-webkit-backdrop-filter: blur(3px);
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.25s;
	}
	.sidebar.open ~ .scrim {
		opacity: 1;
		pointer-events: auto;
	}
	.icon-btn.mobile-menu {
		display: inline-grid;
		margin-left: -8px;
	}
	.topbar {
		height: 56px;
		padding: 0 20px;
	}
	.content {
		padding: 26px 20px 24px;
	}
	.overview-masthead {
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
	}
	.masthead-aside {
		text-align: left;
	}
	.masthead-aside .actions {
		justify-content: flex-start;
	}
	.workbench-grid,
	.split,
	.grid.two {
		grid-template-columns: minmax(0, 1fr);
	}
	.extraction-desk::before {
		display: none;
	}
	.source-paper {
		font-size: 17.5px;
		padding: 22px 22px 24px 48px;
	}
	.source-paper::before {
		left: 30px;
	}
	.landing-hero {
		padding-top: 48px;
	}
	.landing-steps {
		grid-template-columns: minmax(0, 1fr);
	}
	.landing-section,
	.landing-cta {
		padding-top: 96px;
	}
}
@media (max-width: 640px) {
	.topbar {
		padding: 0 14px;
		gap: 8px;
	}
	.topbar-actions > .btn {
		display: none;
	}
	.crumb {
		gap: 8px;
		font-size: 13px;
	}
	.crumb > span:nth-of-type(1) {
		max-width: 96px;
	}
	.engine-pill {
		font-size: 11.5px;
	}
	.content {
		padding: 22px 16px 20px;
	}
	h1,
	.page-heading h1 {
		font-size: 27px;
	}
	.overview-masthead h1 {
		font-size: 38px;
	}
	.hero {
		padding: 26px 20px 22px;
		border-radius: 16px;
	}
	.hero h2 {
		font-size: 28px;
	}
	.hero-art {
		padding: 10px 0 0;
	}
	.art-chip {
		display: none;
	}
	.art-bar {
		grid-template-columns: auto minmax(0, 1fr);
	}
	.art-tag {
		display: none;
	}
	.art-body,
	.landing .art-body {
		grid-template-columns: minmax(0, 1fr);
		padding: 16px;
	}
	.art-link {
		width: 2px;
		height: 30px;
		margin: 0 auto;
	}
	.art-link::before {
		background: linear-gradient(180deg, #c6f04a, rgba(198, 240, 74, 0.35));
	}
	.art-link::after {
		top: auto;
		right: auto;
		bottom: -3px;
		left: 50%;
		transform: translateX(-50%);
	}
	.art-link span {
		left: 50%;
		animation-name: travel-down;
	}
	@keyframes travel-down {
		0% {
			top: 0;
			opacity: 0;
		}
		15%,
		80% {
			opacity: 1;
		}
		100% {
			top: 100%;
			opacity: 0;
		}
	}
	.art-sentence {
		font-size: 19px;
	}
	.art-result strong {
		font-size: 30px;
	}
	.workspace-ledger,
	.stats {
		gap: 10px;
	}
	.stat {
		padding: 14px 14px 16px;
	}
	.stat-label {
		margin-bottom: 12px;
		font-size: 12.5px;
	}
	.stat-value {
		font-size: 28px;
	}
	.grid.three {
		grid-template-columns: minmax(0, 1fr);
	}
	.getting-started,
	.developer-note {
		padding: 20px;
	}
	.step {
		grid-template-columns: 32px minmax(0, 1fr);
	}
	.step-state {
		display: none;
	}
	.section-title {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
	}
	.toolbar .search {
		width: 100%;
	}
	th,
	td {
		padding-left: 14px;
		padding-right: 14px;
	}
	.card-body,
	.settings-form {
		padding: 20px;
	}
	.field-row-top {
		grid-template-columns: minmax(0, 1fr) auto;
	}
	.field-row-top label:first-child {
		grid-column: 1 / -1;
	}
	.dialog-head {
		padding: 16px 16px 14px 20px;
	}
	.dialog-body {
		padding: 18px 20px 20px;
	}
	.dialog-actions {
		margin: 20px -20px -20px;
		padding: 14px 20px;
	}
	.page-footer {
		flex-direction: column;
		align-items: flex-start;
		margin-top: 40px;
	}
	.landing-nav,
	.landing-hero,
	.landing-section,
	.landing-cta,
	.landing-footer {
		padding-left: 18px;
		padding-right: 18px;
	}
	.nav-badge {
		display: none;
	}
	.announce {
		font-size: 12px;
		max-width: 100%;
	}
	.landing-stage {
		margin-top: 52px;
	}
	.landing-hero .actions .btn {
		width: 100%;
	}
	.feature-grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.feature {
		padding: 24px 22px;
	}
	.code-window pre {
		padding: 18px;
		font-size: 12px;
	}
	.landing-cta-inner {
		padding: 56px 22px 60px;
		border-radius: 22px;
	}
	.landing-footer {
		flex-direction: column;
		align-items: flex-start;
	}
}
@media (max-width: 380px) {
	.workspace-ledger,
	.stats {
		grid-template-columns: minmax(0, 1fr);
	}
	.engine-pill {
		max-width: 132px;
		overflow: hidden;
		text-overflow: ellipsis;
	}
}
@media (min-width: 861px) and (max-height: 820px) {
	.sidebar-note {
		display: none;
	}
}
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
