:root {
	--bg: #f4f7fb;
	--surface: #ffffff;
	--ink: #0f172a;
	--muted: #64748b;
	--line: #dbe5f1;
	--blue: #2563eb;
	--blue-dark: #1d4ed8;
	--teal: #0f766e;
	--green: #16a34a;
	--amber: #b7791f;
	--shadow: 0 24px 70px rgba(15, 23, 42, .10);
	--soft-shadow: 0 16px 40px rgba(15, 23, 42, .07);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	background: var(--bg);
	color: var(--ink);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	margin: 0;
}

a {
	color: inherit;
}

.site-header {
	align-items: center;
	background: rgba(244, 247, 251, .9);
	backdrop-filter: blur(18px);
	border-bottom: 1px solid var(--line);
	display: flex;
	gap: 22px;
	justify-content: space-between;
	left: 0;
	padding: 16px max(24px, calc((100vw - 1220px) / 2));
	position: sticky;
	right: 0;
	top: 0;
	z-index: 20;
}

.brand,
footer div {
	align-items: center;
	display: flex;
	font-weight: 900;
	gap: 10px;
	text-decoration: none;
}

.brand img,
footer img {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 12px;
	height: 44px;
	object-fit: contain;
	padding: 5px;
	width: 44px;
}

nav {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: flex-end;
}

nav a {
	border-radius: 999px;
	color: #475569;
	font-size: 14px;
	font-weight: 800;
	padding: 10px 12px;
	text-decoration: none;
}

nav a:hover {
	background: #fff;
	color: var(--ink);
}

.nav-cta {
	background: var(--ink);
	color: #fff;
}

.nav-cta:hover {
	background: var(--blue);
	color: #fff;
}

.hero {
	align-items: center;
	display: grid;
	gap: 54px;
	grid-template-columns: minmax(0, 1fr) minmax(420px, 480px);
	margin: 0 auto;
	max-width: 1220px;
	min-height: 720px;
	padding: 92px 24px 70px;
}

.eyebrow,
.section-head span {
	color: var(--blue);
	display: inline-flex;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0;
	text-transform: uppercase;
}

h1 {
	font-size: clamp(46px, 6.4vw, 82px);
	font-weight: 950;
	letter-spacing: 0;
	line-height: .98;
	margin: 18px 0 24px;
	max-width: 820px;
}

h2 {
	font-size: clamp(32px, 4vw, 54px);
	font-weight: 930;
	letter-spacing: 0;
	line-height: 1.04;
	margin: 10px 0 18px;
}

p {
	color: var(--muted);
	font-size: 17px;
	line-height: 1.7;
}

.hero p {
	max-width: 680px;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 30px 0 20px;
}

.button {
	align-items: center;
	border: 1px solid var(--line);
	border-radius: 12px;
	display: inline-flex;
	font-weight: 900;
	justify-content: center;
	min-height: 48px;
	padding: 13px 18px;
	text-decoration: none;
	transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

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

.button.primary {
	background: linear-gradient(135deg, var(--blue), var(--teal));
	border-color: transparent;
	color: #fff;
	box-shadow: 0 16px 34px rgba(37, 99, 235, .24);
}

.proof-row {
	color: #475569;
	display: flex;
	flex-wrap: wrap;
	font-size: 13px;
	font-weight: 800;
	gap: 10px;
}

.proof-row span {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 8px 11px;
}

.product-panel {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 18px;
	box-shadow: var(--shadow);
	padding: 18px;
	position: relative;
	width: 100%;
}

.product-panel::before {
	background: linear-gradient(90deg, var(--blue), #22c55e);
	border-radius: 999px;
	content: "";
	height: 5px;
	left: 22px;
	position: absolute;
	right: 22px;
	top: 18px;
}

.panel-top {
	align-items: center;
	background: #0f172a;
	border-radius: 14px;
	color: #fff;
	display: flex;
	justify-content: space-between;
	margin-top: 16px;
	padding: 24px;
}

.panel-top span,
.metric-grid span {
	color: #94a3b8;
	display: block;
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
}

.panel-top strong {
	display: block;
	font-size: 60px;
	line-height: 1;
}

.panel-top em {
	background: rgba(34, 197, 94, .12);
	border: 1px solid rgba(34, 197, 94, .35);
	border-radius: 999px;
	color: #86efac;
	font-style: normal;
	font-weight: 900;
	padding: 8px 10px;
}

.metric-grid {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(3, 1fr);
	margin: 14px 0;
}

.metric-grid div,
.issue-list div,
.cards article {
	background: #f8fbff;
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 16px;
}

.metric-grid strong {
	display: block;
	font-size: 29px;
	margin-top: 8px;
}

.issue-list {
	display: grid;
	gap: 10px;
}

.issue-list div {
	border-left: 4px solid var(--blue);
}

.issue-list b {
	display: block;
	margin-bottom: 4px;
}

.issue-list span {
	color: var(--muted);
}

.feature-band,
.workflow,
.modules,
.compare,
.showcase {
	margin: 0 auto;
	max-width: 1220px;
	padding: 74px 24px;
}

.section-head {
	max-width: 800px;
}

.cards {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-top: 34px;
}

.cards article {
	box-shadow: var(--soft-shadow);
	min-height: 220px;
}

.cards article span {
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	border-radius: 999px;
	color: var(--blue);
	display: inline-flex;
	font-weight: 950;
	padding: 7px 10px;
}

.cards h3 {
	font-size: 21px;
	line-height: 1.22;
	margin: 18px 0 10px;
}

.workflow {
	align-items: center;
	display: grid;
	gap: 54px;
	grid-template-columns: minmax(0, 1fr) 440px;
}

.workflow ul {
	display: grid;
	gap: 14px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.workflow li {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 16px;
	box-shadow: var(--soft-shadow);
	display: grid;
	gap: 6px;
	padding: 18px;
}

.workflow li b {
	color: var(--ink);
}

.workflow li span {
	color: var(--muted);
}

.modules {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 22px;
	box-shadow: var(--soft-shadow);
	margin-top: 20px;
}

.module-list {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}

.module-list span {
	background: #f8fbff;
	border: 1px solid var(--line);
	border-radius: 999px;
	font-weight: 900;
	padding: 12px 14px;
}

.showcase-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: 1.45fr .8fr;
	margin-top: 34px;
}

.showcase-grid article {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 18px;
	box-shadow: var(--soft-shadow);
	overflow: hidden;
}

.showcase-grid img {
	aspect-ratio: 16 / 9;
	background: #eaf0f8;
	display: block;
	height: auto;
	object-fit: cover;
	object-position: top left;
	width: 100%;
}

.showcase-grid article:not(.showcase-main) {
	display: grid;
}

.showcase-grid article:not(.showcase-main) strong,
.showcase-main div {
	padding: 16px;
}

.showcase-main {
	grid-row: span 3;
}

.showcase-main div {
	align-items: center;
	display: flex;
	gap: 12px;
	justify-content: space-between;
}

.showcase-main strong,
.showcase-grid article:not(.showcase-main) strong {
	color: var(--ink);
	font-size: 17px;
}

.showcase-main span {
	color: var(--muted);
	font-size: 14px;
	line-height: 1.55;
	max-width: 560px;
}

.compare-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-top: 34px;
}

.compare-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 16px;
	box-shadow: var(--soft-shadow);
	padding: 20px;
}

.compare-card.featured {
	background: #0f172a;
	border-color: #1e293b;
	color: #fff;
}

.compare-card span {
	color: var(--blue);
	font-size: 12px;
	font-weight: 950;
	text-transform: uppercase;
}

.compare-card span a {
	color: inherit;
	text-decoration: none;
}

.compare-card.featured span,
.compare-card.featured p,
.compare-card.featured li {
	color: rgba(255,255,255,.76);
}

.compare-card h3 {
	font-size: 21px;
	line-height: 1.2;
	margin: 12px 0 14px;
}

.compare-card ul {
	display: grid;
	gap: 10px;
	margin: 0;
	padding-left: 18px;
}

.compare-card li {
	color: var(--muted);
	line-height: 1.5;
}

.compare-table-wrap {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 18px;
	box-shadow: var(--shadow);
	margin-top: 22px;
	overflow-x: auto;
}

.compare-table {
	border-collapse: separate;
	border-spacing: 0;
	min-width: 980px;
	width: 100%;
}

.compare-table th {
	background: #f8fbff;
	color: #334155;
	font-size: 12px;
	font-weight: 950;
	text-align: left;
	text-transform: uppercase;
}

.compare-table th,
.compare-table td {
	border-bottom: 1px solid var(--line);
	padding: 16px;
	vertical-align: top;
}

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

.compare-table td:first-child {
	font-weight: 900;
}

.compare-note {
	font-size: 13px;
	margin-top: 14px;
}

.decision-strip {
	align-items: center;
	background: #0f172a;
	border-radius: 16px;
	color: #fff;
	display: flex;
	gap: 18px;
	justify-content: space-between;
	margin-top: 22px;
	padding: 22px;
}

.decision-strip strong {
	display: block;
	font-size: 19px;
	margin-bottom: 3px;
}

.decision-strip span {
	color: rgba(255,255,255,.72);
}

footer {
	align-items: center;
	border-top: 1px solid var(--line);
	display: flex;
	gap: 18px;
	justify-content: space-between;
	margin: 40px auto 0;
	max-width: 1220px;
	padding: 28px 24px;
}

footer p {
	font-size: 14px;
	margin: 0;
}

/* Documentation */
.docs-hero {
	align-items: center;
	display: grid;
	gap: 34px;
	grid-template-columns: minmax(0, 1fr) 320px;
	margin: 0 auto;
	max-width: 1220px;
	padding: 76px 24px 42px;
}

.docs-hero h1 {
	font-size: clamp(42px, 5vw, 72px);
}

.docs-card {
	background: #0f172a;
	border: 1px solid #1e293b;
	border-radius: 18px;
	box-shadow: var(--shadow);
	color: #fff;
	padding: 26px;
}

.docs-card span {
	color: #93c5fd;
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
}

.docs-card strong {
	display: block;
	font-size: 54px;
	line-height: 1;
	margin: 12px 0;
}

.docs-card p {
	color: #cbd5e1;
	font-size: 15px;
	margin: 0;
}

.docs-layout {
	align-items: start;
	display: grid;
	gap: 24px;
	grid-template-columns: 240px minmax(0, 1fr);
	margin: 0 auto;
	max-width: 1220px;
	padding: 24px;
}

.docs-sidebar {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 16px;
	box-shadow: var(--soft-shadow);
	display: grid;
	gap: 4px;
	padding: 10px;
	position: sticky;
	top: 90px;
}

.docs-sidebar a {
	border-radius: 10px;
	color: #475569;
	font-size: 14px;
	font-weight: 850;
	padding: 11px 12px;
	text-decoration: none;
}

.docs-sidebar a:hover {
	background: #eff6ff;
	color: var(--blue);
}

.docs-content {
	display: grid;
	gap: 24px;
}

.docs-section {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 20px;
	box-shadow: var(--soft-shadow);
	padding: 30px;
}

.section-kicker {
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	border-radius: 999px;
	color: var(--blue);
	display: inline-flex;
	font-size: 12px;
	font-weight: 950;
	padding: 7px 10px;
}

.docs-section h2 {
	font-size: clamp(28px, 3vw, 42px);
}

.docs-steps,
.module-doc-grid,
.docs-gallery {
	display: grid;
	gap: 16px;
	margin-top: 24px;
}

.docs-steps {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.docs-steps article {
	background: #f8fbff;
	border: 1px solid var(--line);
	border-radius: 14px;
	display: grid;
	gap: 8px;
	padding: 16px;
}

.docs-steps strong,
.module-doc-grid h3 {
	color: var(--ink);
}

.docs-steps span {
	color: var(--muted);
	font-size: 14px;
	line-height: 1.55;
}

.docs-shot,
.docs-gallery figure,
.module-doc-grid article {
	background: #f8fbff;
	border: 1px solid var(--line);
	border-radius: 16px;
	margin: 24px 0 0;
	overflow: hidden;
}

.docs-shot img,
.docs-gallery img,
.module-doc-grid img {
	background: #eaf0f8;
	display: block;
	height: auto;
	object-fit: cover;
	object-position: top left;
	width: 100%;
}

.docs-shot img,
.docs-gallery img {
	max-height: 520px;
}

.docs-gallery.two {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.docs-gallery figure {
	margin: 0;
}

.docs-shot figcaption,
.docs-gallery figcaption {
	color: var(--muted);
	font-size: 14px;
	line-height: 1.55;
	padding: 14px 16px;
}

.module-doc-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.module-doc-grid article {
	margin: 0;
}

.module-doc-grid img {
	aspect-ratio: 16 / 10;
}

.module-doc-grid h3,
.module-doc-grid p {
	padding-left: 16px;
	padding-right: 16px;
}

.module-doc-grid h3 {
	font-size: 18px;
	margin: 16px 0 6px;
}

.module-doc-grid p {
	font-size: 14px;
	margin: 0 0 18px;
}

@media (max-width: 980px) {
	.site-header,
	nav,
	footer,
	.decision-strip {
		align-items: flex-start;
		flex-direction: column;
	}

	.hero,
	.workflow,
	.cards,
	.compare-grid,
	.showcase-grid,
	.docs-hero,
	.docs-layout,
	.docs-gallery.two,
	.module-doc-grid {
		grid-template-columns: 1fr;
	}

	.hero {
		min-height: 0;
		padding-top: 56px;
	}

	.showcase-main {
		grid-row: auto;
	}

	.docs-sidebar {
		position: static;
	}
}

@media (max-width: 620px) {
	.metric-grid {
		grid-template-columns: 1fr;
	}

	.docs-steps {
		grid-template-columns: 1fr;
	}

	h1 {
		font-size: 42px;
	}

	.panel-top,
	.hero-actions {
		align-items: flex-start;
		flex-direction: column;
	}

	.button {
		width: 100%;
	}
}
