:root {
	--bg: #f5f5f7;
	--paper: #ffffff;
	--ink: #111214;
	--ink-2: #55575f;
	--ink-3: #6b6d76;
	--line: rgba(17, 18, 20, 0.1);
	--line-2: rgba(17, 18, 20, 0.06);
	--red: #f65240;
	--red-soft: rgba(246, 82, 64, 0.22);
	--green: #30d158;
	--stage: #0e0f11;
	--chrome: #1c1d21;
	--well: rgba(0, 0, 0, 0.24);
	--term: #0b0c0e;
	--radius: 14px;
	--f-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Helvetica Neue", "Noto Sans SC", "Microsoft YaHei", sans-serif;
	--f-script: "Pinyon Script", "Snell Roundhand", "Brush Script MT", cursive;
	--f-display: "Instrument Serif", Georgia, "Times New Roman", serif;
	--f-mono: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--f-sans);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

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

button,
input {
	font: inherit;
	color: inherit;
}

button {
	cursor: pointer;
}

.mono {
	font-family: var(--f-mono);
	font-variant-numeric: tabular-nums;
}

.wrap {
	max-width: 1120px;
	margin: 0 auto;
	padding-inline: 24px;
}

.site-banner {
	background: var(--ink);
	color: rgba(255, 255, 255, 0.88);
	font-size: 13px;
	min-height: 38px;
	display: flex;
	align-items: center;
}

.banner-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding-block: 6px;
	flex-wrap: wrap;
	text-align: center;
}

.banner-dot {
	display: inline-block;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--red);
	box-shadow: 0 0 0 3px rgba(246, 82, 64, 0.25);
	flex-shrink: 0;
}

.banner-pill {
	display: inline-flex;
	align-items: center;
	padding: 2px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	color: #ffffff;
	font-size: 12px;
	font-weight: 500;
	transition: background 0.2s ease;
}

.banner-pill:hover {
	background: rgba(255, 255, 255, 0.22);
}

.nav {
	position: sticky;
	top: 0;
	z-index: 40;
	height: 60px;
	background: rgba(245, 245, 247, 0.82);
	backdrop-filter: saturate(1.4) blur(14px);
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	border-bottom: 1px solid var(--line-2);
}

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

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
	font-size: 15px;
	letter-spacing: -0.01em;
}

.brand-mark {
	display: inline-flex;
	width: 28px;
	height: 28px;
	border-radius: 7px;
	overflow: hidden;
	box-shadow: 0 2px 6px rgba(17, 18, 20, 0.16);
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 24px;
	font-size: 14px;
	color: var(--ink-2);
}

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

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

.nav-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.lang-switch {
	display: inline-flex;
	padding: 2px;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: rgba(255, 255, 255, 0.72);
}

.lang-btn {
	border: 0;
	background: transparent;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 500;
	color: var(--ink-3);
	transition: background 0.18s ease, color 0.18s ease;
}

.lang-btn.is-active {
	background: var(--ink);
	color: #ffffff;
}

.dl-split {
	position: relative;
	display: inline-flex;
	align-items: stretch;
	border-radius: 999px;
	background: linear-gradient(#2b2c32, #111214);
	border: 1px solid #050506;
	color: #ffffff;
	box-shadow: inset 0 1px rgba(255, 255, 255, 0.15), 0 1px 2px rgba(0, 0, 0, 0.25), 0 10px 24px -10px rgba(0, 0, 0, 0.56);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.dl-split:hover {
	transform: translateY(-1px);
}

.dl-main,
.dl-caret {
	border: 0;
	background: transparent;
	color: inherit;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.dl-split-sm .dl-main {
	height: 36px;
	padding: 0 14px 0 16px;
	font-size: 13px;
	font-weight: 500;
}

.dl-split-sm .dl-caret {
	width: 32px;
	border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.dl-split-lg .dl-main {
	height: 56px;
	padding: 0 24px 0 28px;
	font-size: 16px;
	font-weight: 600;
}

.dl-split-lg .dl-caret {
	width: 46px;
	border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.dl-split-light {
	background: linear-gradient(#ffffff, #e8e8ec);
	border-color: rgba(255, 255, 255, 0.5);
	color: var(--ink);
	box-shadow: inset 0 1px #ffffff, 0 12px 26px -12px rgba(0, 0, 0, 0.6);
}

.dl-split-light .dl-main {
	height: 50px;
	padding: 0 22px 0 24px;
	font-size: 15px;
	font-weight: 600;
}

.dl-split-light .dl-caret {
	width: 42px;
	border-left: 1px solid rgba(17, 18, 20, 0.12);
}

.dl-menu {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	min-width: 230px;
	padding: 6px;
	border-radius: 14px;
	background: var(--paper);
	color: var(--ink);
	border: 1px solid var(--line);
	box-shadow: 0 18px 42px -14px rgba(17, 18, 20, 0.24);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
	z-index: 60;
}

.dl-split.is-open .dl-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.dl-menu-item {
	width: 100%;
	border: 0;
	background: transparent;
	text-align: left;
	padding: 9px 12px;
	border-radius: 9px;
	display: flex;
	flex-direction: column;
	gap: 2px;
	transition: background 0.15s ease;
}

.dl-menu-item:hover {
	background: var(--bg);
}

.dl-menu-title {
	font-size: 14px;
	font-weight: 600;
	color: var(--ink);
}

.dl-menu-meta {
	font-size: 12px;
	color: var(--ink-3);
}

.hero {
	padding-block: 68px 80px;
}

.hero-head {
	text-align: center;
	max-width: 780px;
	margin: 0 auto;
}

.hero-script {
	margin: 0 0 10px;
	font-family: var(--f-script);
	font-weight: 400;
	font-size: clamp(46px, 7vw, 84px);
	line-height: 1;
	color: var(--ink);
}

.hero h1 {
	margin: 0;
	font-size: clamp(28px, 4.4vw, 52px);
	font-weight: 600;
	line-height: 1.18;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

.hero-sub {
	margin: 20px auto 0;
	max-width: 680px;
	color: var(--ink-2);
	font-size: 18px;
	line-height: 1.65;
}

.hero-cta {
	margin-top: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 22px;
	flex-wrap: wrap;
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 15px;
	font-weight: 500;
	color: var(--ink);
	padding-bottom: 2px;
	border-bottom: 1px solid rgba(17, 18, 20, 0.25);
	transition: border-color 0.2s ease;
}

.text-link .arrow {
	display: inline-block;
	transition: transform 0.2s ease;
}

.text-link:hover {
	border-color: var(--ink);
}

.text-link:hover .arrow {
	transform: translateX(3px);
}

.hero-meta {
	margin: 18px 0 0;
	font-size: 12.5px;
	color: var(--ink-3);
}

.hero-demo {
	margin-top: 46px;
	transform-origin: 50% 0;
	transition: transform 0.25s ease-out;
}

.editor,
.pause-demo,
.term,
.tr-demo,
.cur-demo {
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.44), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.editor,
.pause-demo {
	background: var(--chrome);
	color: #ffffff;
}

.editor-chrome {
	height: 46px;
	padding-inline: 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	background: #1b1c20;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.chrome-left,
.chrome-right {
	display: flex;
	align-items: center;
	gap: 12px;
}

.traffic-lights {
	display: inline-flex;
	gap: 7px;
}

.tl {
	width: 11px;
	height: 11px;
	border-radius: 50%;
	display: inline-block;
}

.tl-r {
	background: #ff5f57;
}

.tl-y {
	background: #febc2e;
}

.tl-g {
	background: #28c840;
}

.doc-meta {
	display: flex;
	align-items: baseline;
	gap: 10px;
}

.doc-title {
	font-size: 13px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.92);
}

.doc-sub {
	font-size: 11.5px;
	color: rgba(255, 255, 255, 0.48);
}

.chrome-spec {
	font-size: 11.5px;
	color: rgba(255, 255, 255, 0.54);
}

.chrome-btn {
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(255, 255, 255, 0.06);
	color: rgba(255, 255, 255, 0.88);
	font-size: 12px;
	padding: 4px 12px;
	border-radius: 999px;
	transition: background 0.18s ease;
}

.chrome-btn:hover {
	background: rgba(255, 255, 255, 0.14);
}

.chrome-export {
	border: 0;
	background: #ffffff;
	color: var(--ink);
	font-size: 12px;
	font-weight: 600;
	padding: 5px 14px;
	border-radius: 999px;
	transition: opacity 0.18s ease;
}

.chrome-export:hover {
	opacity: 0.9;
}

.hero-stage {
	background: var(--stage);
	padding: 20px;
}

.stage-wallpaper {
	position: relative;
	aspect-ratio: 16 / 9.2;
	border-radius: 12px;
	overflow: hidden;
	background:
		radial-gradient(circle at 18% 20%, rgba(246, 82, 64, 0.34), transparent 46%),
		radial-gradient(circle at 84% 78%, rgba(108, 126, 214, 0.36), transparent 52%),
		linear-gradient(135deg, #1d202b 0%, #2a2433 48%, #1a2430 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 4.5%;
}

.stage-viewport {
	position: relative;
	width: 88%;
	height: 86%;
	border-radius: 12px;
	background: #14151a;
	border: 1px solid rgba(255, 255, 255, 0.14);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
	overflow: hidden;
	transform-origin: 50% 50%;
	transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.mock-app {
	display: grid;
	grid-template-columns: 165px 1fr;
	height: 100%;
	font-size: 12px;
}

.mock-sidebar {
	background: #191b22;
	border-right: 1px solid rgba(255, 255, 255, 0.08);
	padding: 16px 12px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.mock-dot-row {
	display: flex;
	gap: 6px;
	margin-bottom: 10px;
}

.mock-dot-row span {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.22);
}

.mock-nav-pill {
	padding: 7px 10px;
	border-radius: 8px;
	color: rgba(255, 255, 255, 0.54);
	font-size: 12px;
}

.mock-nav-pill.is-active {
	background: rgba(255, 255, 255, 0.1);
	color: #ffffff;
	font-weight: 500;
}

.mock-canvas {
	padding: 18px 20px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.mock-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.mock-crumb {
	color: rgba(255, 255, 255, 0.56);
	font-size: 12px;
}

.mock-badge {
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--red);
	color: #ffffff;
	font-weight: 600;
	font-size: 11.5px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mock-badge.is-hit {
	transform: scale(0.95);
	box-shadow: 0 0 0 6px rgba(246, 82, 64, 0.3);
}

.mock-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
	flex: 1;
}

.mock-card {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 10px;
	padding: 14px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 8px;
}

.mock-card-wide {
	grid-column: 1 / -1;
	transition: border-color 0.25s ease, background 0.25s ease;
}

.mock-card-wide.is-hit {
	border-color: rgba(246, 82, 64, 0.65);
	background: rgba(246, 82, 64, 0.08);
}

.mock-card-label {
	color: rgba(255, 255, 255, 0.52);
	font-size: 11px;
}

.mock-card-val {
	font-size: 22px;
	font-weight: 600;
	color: #ffffff;
}

.mock-bar {
	height: 5px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.09);
	overflow: hidden;
}

.mock-bar i {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: linear-gradient(90deg, #f65240, #ff8d70);
}

.mock-card-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: rgba(255, 255, 255, 0.86);
	font-size: 12px;
}

.mock-chip {
	padding: 2px 8px;
	border-radius: 999px;
	background: rgba(48, 209, 88, 0.16);
	color: #5ee380;
	font-size: 11px;
}

.mock-wave-mini {
	display: flex;
	align-items: flex-end;
	gap: 5px;
	height: 36px;
}

.mock-wave-mini span {
	flex: 1;
	border-radius: 3px;
	background: rgba(255, 255, 255, 0.22);
	height: 45%;
	animation: miniPulse 1.8s ease-in-out infinite alternate;
}

.mock-wave-mini span:nth-child(2n) {
	height: 78%;
	animation-delay: 0.25s;
}

.mock-wave-mini span:nth-child(3n) {
	height: 32%;
	animation-delay: 0.45s;
}

.mock-wave-mini span:nth-child(5n) {
	height: 92%;
	background: rgba(246, 82, 64, 0.65);
	animation-delay: 0.15s;
}

@keyframes miniPulse {
	from {
		transform: scaleY(0.65);
	}
	to {
		transform: scaleY(1);
	}
}

.sim-cursor {
	position: absolute;
	left: 24%;
	top: 32%;
	z-index: 6;
	pointer-events: none;
	transition: left 0.7s cubic-bezier(0.22, 1, 0.36, 1), top 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.sim-ripple {
	position: absolute;
	left: -10px;
	top: -10px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	border: 2px solid var(--red);
	opacity: 0;
	transform: scale(0.3);
}

.sim-ripple.is-ring {
	animation: clickRing 0.55s ease-out forwards;
}

@keyframes clickRing {
	0% {
		opacity: 0.95;
		transform: scale(0.35);
	}
	100% {
		opacity: 0;
		transform: scale(1.9);
	}
}

.stage-cam {
	position: absolute;
	right: 22px;
	bottom: 22px;
	width: 108px;
	height: 108px;
	border-radius: 22%;
	background: linear-gradient(155deg, #2d3448 0%, #1a1e2a 100%);
	border: 2px solid rgba(255, 255, 255, 0.22);
	box-shadow: 0 14px 32px rgba(0, 0, 0, 0.5);
	overflow: hidden;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
	transform-origin: bottom right;
}

.stage-cam.is-shrunk {
	transform: scale(0.72);
	opacity: 0.9;
}

.cam-avatar {
	position: relative;
	width: 100%;
	height: 100%;
}

.cam-head {
	position: absolute;
	left: 50%;
	top: 24%;
	width: 34px;
	height: 34px;
	transform: translateX(-50%);
	border-radius: 50%;
	background: linear-gradient(180deg, #e5c3b1, #c69a86);
}

.cam-shoulders {
	position: absolute;
	left: 50%;
	bottom: -10px;
	width: 78px;
	height: 44px;
	transform: translateX(-50%);
	border-radius: 50% 50% 0 0;
	background: linear-gradient(180deg, #3c4660, #232939);
}

.cam-badge {
	position: absolute;
	top: 8px;
	left: 8px;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.06em;
	padding: 2px 5px;
	border-radius: 4px;
	background: rgba(17, 18, 20, 0.65);
	color: rgba(255, 255, 255, 0.85);
}

.stage-sub {
	position: absolute;
	left: 50%;
	bottom: 22px;
	transform: translateX(-50%);
	padding: 7px 16px;
	border-radius: 10px;
	background: rgba(14, 15, 17, 0.78);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: #ffffff;
	font-size: 14px;
	font-weight: 500;
	max-width: 72%;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.timeline {
	padding: 12px 16px 16px;
	background: #17181c;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tl-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 10px;
	flex-wrap: wrap;
}

.tl-tools {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.tl-pill {
	font-size: 11.5px;
	padding: 3px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	color: rgba(255, 255, 255, 0.65);
}

.tl-pill.is-on {
	background: rgba(255, 255, 255, 0.14);
	color: #ffffff;
	font-weight: 500;
}

.tl-time {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.7);
}

.tl-tracks {
	position: relative;
	padding: 8px 10px 10px;
	border-radius: 10px;
	background: var(--well);
	border: 1px solid rgba(255, 255, 255, 0.06);
	cursor: pointer;
	user-select: none;
}

.tl-ruler {
	display: flex;
	justify-content: space-between;
	padding-left: 28px;
	margin-bottom: 6px;
	font-size: 10.5px;
	color: rgba(255, 255, 255, 0.36);
}

.tl-row {
	display: grid;
	grid-template-columns: 24px 1fr;
	align-items: center;
	gap: 6px;
	margin-top: 6px;
}

.tl-row-label {
	font-size: 10px;
	font-family: var(--f-mono);
	color: rgba(255, 255, 255, 0.34);
	text-align: center;
}

.tl-clip-track {
	display: flex;
	gap: 3px;
	height: 44px;
	align-items: stretch;
	overflow: hidden;
}

.tl-clip {
	position: relative;
	border-radius: 7px;
	background: linear-gradient(180deg, #3c4156 0%, #3c4156 46%, #1f2027 46%, #1f2027 100%);
	border: 1px solid rgba(255, 255, 255, 0.12);
	overflow: hidden;
	min-width: 16px;
	transition: flex 0.48s cubic-bezier(0.22, 1, 0.36, 1);
}

.tl-clip-tag {
	position: absolute;
	top: 3px;
	left: 6px;
	font-size: 10px;
	color: rgba(255, 255, 255, 0.85);
}

.tl-bars {
	position: absolute;
	left: 4px;
	right: 4px;
	bottom: 4px;
	height: 15px;
	background-image: repeating-linear-gradient(
		90deg,
		rgba(255, 255, 255, 0.45) 0 2px,
		transparent 2px 5px
	);
	mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
	opacity: 0.65;
}

.tl-zoom-track {
	position: relative;
	height: 26px;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.03);
}

.tl-zoom-block {
	position: absolute;
	top: 2px;
	bottom: 2px;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.11);
	border: 1px solid rgba(255, 255, 255, 0.16);
	color: rgba(255, 255, 255, 0.88);
	font-size: 11px;
	display: flex;
	align-items: center;
	padding-inline: 8px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	transition: left 0.48s cubic-bezier(0.22, 1, 0.36, 1), width 0.48s cubic-bezier(0.22, 1, 0.36, 1);
}

.tl-playhead {
	position: absolute;
	top: 8px;
	bottom: 6px;
	left: 26%;
	width: 2px;
	background: var(--red);
	pointer-events: none;
}

.tl-playhead::before {
	content: "";
	position: absolute;
	top: -4px;
	left: -4px;
	width: 10px;
	height: 10px;
	border-radius: 3px;
	background: var(--red);
}

.pillars {
	margin-top: 56px;
	padding-top: 36px;
	border-top: 1px solid var(--line);
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 36px;
}

.pillar-head {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin-bottom: 8px;
}

.serif-label {
	font-family: var(--f-display);
	font-style: italic;
	font-weight: 400;
	font-size: 27px;
	line-height: 1;
	color: var(--ink);
}

.pillar h2 {
	margin: 0;
	font-size: 17px;
	font-weight: 600;
}

.pillar p {
	margin: 0;
	font-size: 15px;
	color: var(--ink-2);
}

.section {
	padding-block: 96px;
}

.section.tight {
	padding-block: 52px 84px;
}

.section.is-paper {
	background: var(--paper);
	border-top: 1px solid var(--line-2);
	border-bottom: 1px solid var(--line-2);
}

.section-head {
	max-width: 720px;
	margin-bottom: 44px;
}

.eyebrow {
	margin: 0 0 10px;
	font-family: var(--f-script);
	font-size: 40px;
	line-height: 1.1;
	color: var(--ink-3);
	font-weight: 400;
}

.section h2 {
	margin: 0;
	font-size: clamp(28px, 3.6vw, 44px);
	font-weight: 600;
	line-height: 1.18;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

.lead {
	margin: 16px 0 0;
	color: var(--ink-2);
	font-size: 17px;
}

.kbd {
	display: inline-block;
	padding: 1px 6px;
	border-radius: 6px;
	border: 1px solid var(--line);
	background: var(--bg);
	font-family: var(--f-mono);
	font-size: 13px;
	color: var(--ink);
}

.feature {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
	align-items: center;
}

.feature-sub {
	margin-top: 64px;
}

.feature h2 {
	font-size: clamp(26px, 3vw, 38px);
}

.feature h3 {
	margin: 0;
	font-size: clamp(24px, 2.6vw, 32px);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.015em;
}

.bullet-list {
	list-style: none;
	margin: 24px 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
	font-size: 15.5px;
	color: var(--ink-2);
}

.bullet-list li {
	position: relative;
	padding-left: 18px;
}

.bullet-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 10px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--red);
}

.bullet-list strong {
	color: var(--ink);
	font-weight: 600;
}

.bullet-dark {
	color: rgba(255, 255, 255, 0.78);
}

.copy-divider {
	margin: 26px 0 18px;
	height: 1px;
	background: var(--line);
}

.link-row {
	display: flex;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
}

.cur-demo {
	position: relative;
	aspect-ratio: 16 / 10.4;
	background:
		radial-gradient(circle at 22% 18%, rgba(246, 82, 64, 0.25), transparent 44%),
		radial-gradient(circle at 80% 82%, rgba(92, 128, 255, 0.22), transparent 50%),
		radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px) 0 0 / 22px 22px,
		var(--stage);
	cursor: none;
}

.cur-demo canvas {
	display: block;
	width: 100%;
	height: 100%;
}

.cur-prompt {
	position: absolute;
	top: 14px;
	right: 14px;
	padding: 5px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.9);
	font-size: 12px;
	pointer-events: none;
	transition: opacity 0.25s ease;
}

.cur-prompt.is-hidden {
	opacity: 0;
}

.cur-legend {
	position: absolute;
	left: 14px;
	bottom: 14px;
	display: inline-flex;
	gap: 14px;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(14, 15, 17, 0.72);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 0.84);
	font-size: 12px;
	pointer-events: none;
}

.legend-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.lg-raw {
	display: inline-block;
	width: 16px;
	border-top: 2px dashed rgba(255, 255, 255, 0.45);
}

.lg-smooth {
	display: inline-block;
	width: 16px;
	border-top: 2.5px solid var(--red);
}

.toast-pill {
	padding: 4px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.14);
	color: #ffffff;
	font-size: 12px;
	opacity: 0;
	transform: translateY(-4px);
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast-pill.is-show {
	opacity: 1;
	transform: translateY(0);
}

.pause-body {
	position: relative;
	padding: 24px 20px;
	background: var(--stage);
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}

.pause-popover {
	width: min(440px, 100%);
	padding: 18px;
	border-radius: 14px;
	background: #1b1c20;
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 20px 44px rgba(0, 0, 0, 0.48);
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.seg-tabs {
	display: inline-flex;
	padding: 3px;
	border-radius: 9px;
	background: rgba(255, 255, 255, 0.06);
	width: fit-content;
}

.seg-tab {
	border: 0;
	background: transparent;
	color: rgba(255, 255, 255, 0.62);
	font-size: 12.5px;
	font-weight: 500;
	padding: 5px 12px;
	border-radius: 7px;
	transition: background 0.18s ease, color 0.18s ease;
}

.seg-tab.is-active {
	background: rgba(255, 255, 255, 0.16);
	color: #ffffff;
}

.slider-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.slider-row {
	display: flex;
	justify-content: space-between;
	font-size: 12.5px;
	color: rgba(255, 255, 255, 0.8);
}

.pause-popover input[type="range"] {
	width: 100%;
	accent-color: #ffffff;
	height: 5px;
	cursor: pointer;
}

.filler-row {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.filler-label {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.54);
}

.filler-chips {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
}

.chip {
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(255, 255, 255, 0.05);
	color: rgba(255, 255, 255, 0.62);
	font-size: 12px;
	padding: 4px 10px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.chip.is-selected {
	background: rgba(246, 82, 64, 0.2);
	border-color: rgba(246, 82, 64, 0.6);
	color: #ffffff;
}

.popover-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-top: 8px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.popover-summary {
	font-size: 12.5px;
	color: rgba(255, 255, 255, 0.72);
}

.popover-cta {
	border: 0;
	border-radius: 999px;
	background: #ffffff;
	color: var(--ink);
	padding: 8px 18px;
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
	transition: transform 0.15s ease, opacity 0.15s ease;
}

.popover-cta:hover {
	opacity: 0.92;
}

.popover-cta:active {
	transform: scale(0.97);
}

.pause-tip {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.48);
}

.tl-cut {
	border: 1px solid rgba(246, 82, 64, 0.65);
	border-radius: 6px;
	padding: 0;
	min-width: 8px;
	background: repeating-linear-gradient(
		-45deg,
		rgba(246, 82, 64, 0.36),
		rgba(246, 82, 64, 0.36) 5px,
		rgba(246, 82, 64, 0.16) 5px,
		rgba(246, 82, 64, 0.16) 10px
	);
	transition: flex 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease, min-width 0.45s ease, border-width 0.3s ease;
}

.tl-cut.is-skipped {
	border-color: rgba(255, 255, 255, 0.16);
	background: rgba(255, 255, 255, 0.06);
}

.tl-cut.is-collapsed {
	flex: 0.0001 !important;
	min-width: 0;
	opacity: 0;
	border-width: 0;
	pointer-events: none;
}

.tr-demo {
	background: #18191e;
	color: #ffffff;
	padding: 18px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.tr-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.tr-status {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.64);
}

.green-dot {
	display: inline-block;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--green);
	box-shadow: 0 0 8px rgba(48, 209, 88, 0.55);
}

.tr-lines {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.tr-line {
	width: 100%;
	border: 1px solid transparent;
	background: rgba(255, 255, 255, 0.02);
	color: rgba(255, 255, 255, 0.86);
	padding: 10px 12px;
	border-radius: 10px;
	display: grid;
	grid-template-columns: 42px 1fr;
	gap: 10px;
	text-align: left;
	font-size: 14px;
	line-height: 1.55;
	transition: background 0.16s ease, border-color 0.16s ease, opacity 0.2s ease;
}

.tr-line:hover {
	background: rgba(255, 255, 255, 0.06);
}

.tr-line.is-selected {
	background: rgba(246, 82, 64, 0.12);
	border-color: rgba(246, 82, 64, 0.45);
}

.tr-line.is-cut {
	opacity: 0.35;
	text-decoration: line-through;
}

.tr-ts {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.42);
	padding-top: 2px;
}

.tr-mark {
	background: rgba(246, 82, 64, 0.28);
	color: #ffb8b0;
	padding: 0 5px;
	border-radius: 4px;
}

.tr-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 12px;
	border-radius: 11px;
	background: #101114;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.tr-bar-meta {
	font-size: 12.5px;
	color: rgba(255, 255, 255, 0.78);
}

.tr-bar-actions {
	display: flex;
	gap: 8px;
}

.tr-btn-ghost {
	border: 1px solid rgba(255, 255, 255, 0.16);
	background: transparent;
	color: rgba(255, 255, 255, 0.84);
	padding: 5px 11px;
	border-radius: 8px;
	font-size: 12px;
}

.tr-btn-primary {
	border: 0;
	background: var(--red);
	color: #ffffff;
	padding: 5px 12px;
	border-radius: 8px;
	font-size: 12px;
	font-weight: 600;
}

.cli-install {
	margin-top: 22px;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 8px 10px 8px 16px;
	border-radius: 12px;
	font-size: 13.5px;
	max-width: 100%;
	flex-wrap: wrap;
}

.cli-install.light {
	background: var(--paper);
	border: 1px solid var(--line);
	color: var(--ink);
}

.cli-install.dark {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.9);
}

.cli-copy {
	border: 1px solid currentColor;
	border-radius: 8px;
	background: transparent;
	padding: 4px 10px;
	font-size: 12px;
	font-weight: 500;
	opacity: 0.8;
	transition: opacity 0.16s ease;
}

.cli-copy:hover {
	opacity: 1;
}

.agent-grid {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 24px;
	align-items: stretch;
}

.term {
	background: var(--term);
	color: rgba(255, 255, 255, 0.88);
	display: flex;
	flex-direction: column;
}

.term-bar {
	height: 40px;
	padding-inline: 14px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	background: #121318;
}

.term-title {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.5);
}

.term-replay {
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: transparent;
	color: rgba(255, 255, 255, 0.72);
	font-size: 11px;
	padding: 2px 8px;
	border-radius: 6px;
}

.term-body {
	padding: 18px;
	font-size: 12.5px;
	line-height: 1.72;
	min-height: 290px;
	white-space: pre-wrap;
}

.t-prompt {
	color: var(--red);
}

.t-dim {
	color: rgba(255, 255, 255, 0.45);
}

.t-ok {
	color: #5ee380;
}

.t-cursor {
	display: inline-block;
	width: 7px;
	height: 14px;
	vertical-align: -2px;
	background: rgba(255, 255, 255, 0.8);
	animation: blink 1s steps(1) infinite;
}

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

.agent-card {
	border-radius: 16px;
	background: var(--chrome);
	color: #ffffff;
	padding: 20px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.4);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 16px;
}

.agent-card-head {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	font-weight: 500;
}

.pulse-red {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--red);
	box-shadow: 0 0 0 4px rgba(246, 82, 64, 0.25);
}

.agent-badge {
	margin-left: auto;
	font-size: 11px;
	padding: 3px 9px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 0.84);
}

.agent-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-size: 13.5px;
	color: rgba(255, 255, 255, 0.82);
}

.agent-steps li {
	display: flex;
	align-items: center;
	gap: 10px;
}

.step-icon {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.14);
	color: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
}

.agent-log {
	padding: 12px 14px;
	border-radius: 10px;
	background: var(--well);
	border: 1px solid rgba(255, 255, 255, 0.06);
	font-size: 12px;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.7);
}

.agent-drawer {
	padding: 12px 14px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.agent-drawer strong {
	display: block;
	font-size: 13.5px;
}

.agent-drawer span {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.62);
}

.facts {
	margin-top: 40px;
	padding-top: 32px;
	border-top: 1px solid var(--line);
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}

.fact h3 {
	margin: 8px 0 6px;
	font-size: 17px;
	font-weight: 600;
}

.fact p {
	margin: 0;
	font-size: 15px;
	color: var(--ink-2);
}

.stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.stat {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: 26px 22px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.stat-num {
	display: flex;
	align-items: baseline;
	gap: 6px;
	line-height: 1;
}

.serif-num {
	font-family: var(--f-display);
	font-style: italic;
	font-size: clamp(44px, 4.6vw, 60px);
	font-weight: 400;
	letter-spacing: -0.02em;
	color: var(--ink);
}

.stat-unit {
	font-size: 15px;
	color: var(--ink-3);
	font-weight: 500;
}

.stat h3 {
	margin: 4px 0 0;
	font-size: 17px;
	font-weight: 600;
}

.stat p {
	margin: 0;
	font-size: 14.5px;
	color: var(--ink-2);
}

.cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.fcard {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: 16px 16px 22px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.fcard h3 {
	margin: 4px 4px 0;
	font-size: 17px;
	font-weight: 600;
}

.fcard p {
	margin: 0 4px;
	font-size: 14.5px;
	color: var(--ink-2);
}

.vis {
	height: 156px;
	border-radius: 12px;
	background: var(--stage);
	color: #ffffff;
	padding: 14px;
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.vis-pill {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 3px 9px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	font-size: 11px;
	color: rgba(255, 255, 255, 0.8);
}

.vis-sub-box {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.44);
}

.vis-sub-box .word {
	transition: color 0.18s ease;
}

.vis-sub-box .word.is-lit {
	color: #ffffff;
}

.vis-sub-box .word.is-cur {
	color: var(--red);
}

.vis-toggle {
	align-self: flex-start;
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: rgba(255, 255, 255, 0.08);
	color: #ffffff;
	font-size: 11.5px;
	padding: 4px 10px;
	border-radius: 999px;
}

.eq-bars {
	display: flex;
	align-items: flex-end;
	gap: 5px;
	height: 76px;
}

.eq-bars i {
	flex: 1;
	border-radius: 4px;
	background: linear-gradient(180deg, #f65240, rgba(255, 255, 255, 0.35));
	transition: height 0.25s ease;
}

.vis-cam {
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 14px;
}

.cam-shape {
	background: linear-gradient(155deg, #323a52, #181c28);
	border: 1.5px solid rgba(255, 255, 255, 0.18);
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.cam-shape span {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: linear-gradient(180deg, #e5c3b1, #b88b76);
}

.shape-circle {
	width: 56px;
	height: 56px;
	border-radius: 50%;
}

.shape-squircle {
	width: 68px;
	height: 68px;
	border-radius: 22%;
}

.shape-squircle.is-focus {
	border-color: var(--red);
	box-shadow: 0 0 0 4px rgba(246, 82, 64, 0.22);
}

.shape-wide {
	width: 72px;
	height: 50px;
	border-radius: 12px;
}

.prompter-window {
	height: 100px;
	overflow: hidden;
	mask-image: linear-gradient(180deg, transparent, #000 18%, #000 76%, transparent);
}

.prompter-track {
	display: flex;
	flex-direction: column;
	gap: 8px;
	animation: scrollPrompt 9s linear infinite;
}

.prompter-track p {
	margin: 0;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.88);
	line-height: 1.5;
}

@keyframes scrollPrompt {
	from {
		transform: translateY(0);
	}
	to {
		transform: translateY(-50%);
	}
}

.prompter-tag {
	font-size: 11px;
	color: rgba(255, 255, 255, 0.52);
}

.wall-preview {
	height: 92px;
	border-radius: 9px;
	background: linear-gradient(135deg, #2b3042 0%, #5c4b6e 50%, #d47b6a 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.3s ease;
}

.wall-window {
	width: 68%;
	height: 68%;
	border-radius: 7px;
	background: #14151a;
	border: 1px solid rgba(255, 255, 255, 0.22);
	box-shadow: 0 10px 22px rgba(0, 0, 0, 0.42);
}

.wall-swatches {
	display: flex;
	gap: 8px;
}

.swatch {
	flex: 1;
	height: 22px;
	border-radius: 6px;
	border: 2px solid transparent;
	padding: 0;
}

.swatch:nth-child(1) {
	background: linear-gradient(135deg, #2b3042, #d47b6a);
}

.swatch:nth-child(2) {
	background: linear-gradient(135deg, #16222a, #3a6073);
}

.swatch:nth-child(3) {
	background: linear-gradient(135deg, #1f1c2c, #928dab);
}

.swatch:nth-child(4) {
	background: linear-gradient(135deg, #1e2d24, #84a98c);
}

.swatch:nth-child(5) {
	background: linear-gradient(135deg, #2c221e, #d9a074);
}

.swatch.is-active {
	border-color: #ffffff;
}

.vis-layout {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 8px;
	padding: 12px;
}

.lay-tile {
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(255, 255, 255, 0.04);
	border-radius: 9px;
	color: rgba(255, 255, 255, 0.72);
	font-size: 11px;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 10px;
	transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.lay-tile.is-active {
	border-color: rgba(255, 255, 255, 0.55);
	background: rgba(255, 255, 255, 0.12);
	color: #ffffff;
}

.lay-box {
	position: relative;
	width: 34px;
	height: 24px;
	border-radius: 5px;
	background: rgba(255, 255, 255, 0.12);
	display: block;
	flex-shrink: 0;
}

.lay-pip {
	position: absolute;
	right: 3px;
	bottom: 3px;
	width: 10px;
	height: 10px;
	border-radius: 3px;
	background: var(--red);
}

.lay-box-split {
	display: flex;
	gap: 2px;
	padding: 2px;
}

.lay-box-split i {
	flex: 1;
	border-radius: 3px;
	background: rgba(255, 255, 255, 0.45);
}

.lay-box-split i:last-child {
	background: var(--red);
}

.lay-box-full {
	padding: 2px;
}

.lay-box-full i {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 3px;
	background: var(--red);
}

.lay-dodge {
	position: absolute;
	left: 3px;
	top: 3px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--red);
}

.cmp {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 18px;
	overflow: hidden;
}

.cmp table {
	width: 100%;
	border-collapse: collapse;
	text-align: left;
}

.cmp th,
.cmp td {
	padding: 18px 22px;
	border-bottom: 1px solid var(--line-2);
	font-size: 15px;
}

.cmp tr:last-child td {
	border-bottom: 0;
}

.cmp th {
	font-size: 13px;
	font-weight: 600;
	color: var(--ink-3);
	background: rgba(245, 245, 247, 0.55);
}

.col-zel {
	font-weight: 600;
	color: var(--ink);
}

.col-other {
	color: var(--ink-3);
}

.dot-y {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--ink);
	margin-right: 10px;
	vertical-align: 1px;
}

.dash-n {
	display: inline-block;
	width: 10px;
	height: 1.5px;
	background: rgba(17, 18, 20, 0.28);
	margin-right: 10px;
	vertical-align: 4px;
}

.footer {
	padding-block: 48px 68px;
	border-top: 1px solid var(--line-2);
}

.footer-inner {
	display: flex;
	justify-content: space-between;
	gap: 48px;
	flex-wrap: wrap;
}

.footer-brand {
	max-width: 300px;
}

.footer-script {
	margin: 0 0 8px;
	font-family: var(--f-script);
	font-size: 34px;
	line-height: 1.1;
	color: var(--ink);
}

.footer-desc {
	margin: 0;
	font-size: 14.5px;
	color: var(--ink-2);
}

.footer-os {
	margin: 12px 0 0;
	font-size: 12px;
	color: var(--ink-3);
}

.footer-navs {
	display: flex;
	gap: 56px;
	flex-wrap: wrap;
}

.footer-col {
	display: flex;
	flex-direction: column;
	gap: 9px;
	min-width: 120px;
}

.footer-col h4 {
	margin: 0 0 4px;
	font-size: 13px;
	font-weight: 600;
	color: var(--ink);
}

.footer-col a {
	font-size: 14px;
	color: var(--ink-2);
	transition: color 0.16s ease;
}

.footer-col a:hover {
	color: var(--ink);
}

.modal-backdrop {
	position: fixed;
	inset: 0;
	z-index: 90;
	background: rgba(17, 18, 20, 0.52);
	backdrop-filter: blur(8px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.modal-backdrop[hidden] {
	display: none;
}

.modal {
	width: min(500px, 100%);
	background: var(--paper);
	color: var(--ink);
	border-radius: 20px;
	padding: 24px;
	border: 1px solid var(--line);
	box-shadow: 0 32px 70px rgba(0, 0, 0, 0.35);
}

.modal-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.modal-head h3 {
	margin: 0;
	font-size: 19px;
	font-weight: 600;
}

.modal-close {
	border: 0;
	background: var(--bg);
	width: 30px;
	height: 30px;
	border-radius: 50%;
	font-size: 13px;
	color: var(--ink-2);
}

.modal-desc {
	margin: 12px 0 18px;
	font-size: 14.5px;
	color: var(--ink-2);
}

.modal-desc code {
	background: var(--bg);
	padding: 1px 6px;
	border-radius: 5px;
	font-family: var(--f-mono);
	font-size: 13px;
}

.modal-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.modal-row {
	padding: 12px 14px;
	border-radius: 12px;
	background: var(--bg);
	border: 1px solid var(--line-2);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.modal-row strong {
	display: block;
	font-size: 14px;
}

.modal-row span {
	display: block;
	font-size: 11.5px;
	color: var(--ink-3);
	word-break: break-all;
}

.modal-copy {
	border: 1px solid var(--line);
	background: var(--paper);
	padding: 5px 12px;
	border-radius: 8px;
	font-size: 12px;
	font-weight: 500;
	flex-shrink: 0;
}

.modal-foot {
	margin-top: 20px;
	display: flex;
	justify-content: flex-end;
}

.modal .popover-cta {
	background: var(--ink);
	color: #ffffff;
}

@media (max-width: 960px) {
	.nav-links {
		display: none;
	}

	.feature,
	.agent-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.stats {
		grid-template-columns: repeat(2, 1fr);
	}

	.cards {
		grid-template-columns: repeat(2, 1fr);
	}

	.pillars,
	.facts {
		grid-template-columns: 1fr;
		gap: 24px;
	}
}

@media (max-width: 640px) {
	.section {
		padding-block: 68px;
	}

	.stats,
	.cards {
		grid-template-columns: 1fr;
	}

	.mock-app {
		grid-template-columns: 1fr;
	}

	.mock-sidebar {
		display: none;
	}

	.stage-cam {
		width: 72px;
		height: 72px;
		right: 12px;
		bottom: 12px;
	}

	.stage-sub {
		font-size: 12px;
		bottom: 12px;
		max-width: 84%;
	}

	.cmp th,
	.cmp td {
		padding: 13px 14px;
		font-size: 13.5px;
	}

	.chrome-spec {
		display: none;
	}
}
