:root {
	--font-sans: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
	--font-mono: "IBM Plex Mono", ui-monospace, monospace;
	--navy: #0c1017;
	--navy-2: #1e293b;
	--navy-3: #243044;
	--teal: #14b8a6;
	--teal-deep: #0d9488;
	--teal-bright: #2dd4bf;
	--paper: #f4f7f9;
	--paper-2: #ffffff;
	--ink: #1e293b;
	--ink-muted: #64748b;
	--line: #c5d0da;
	--danger: #dc2626;
	--shadow: 0 18px 50px rgba(15, 23, 42, 0.18);
	--radius: 10px;
	--max: 1180px;
	--hex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100' viewBox='0 0 56 100'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-opacity='0.10' stroke-width='1' d='M28 66L0 50L0 16L28 0l28 16v34L28 66zM28 100L0 84V50l28 16 28-16v34L28 100z'/%3E%3Cpath fill='none' stroke='%2314b8a6' stroke-opacity='0.14' stroke-width='0.75' d='M28 0v66l28 16V48L28 32V0zM0 50v34l28 16V66L0 50z'/%3E%3C/svg%3E");
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-sans);
	color: var(--ink);
	background: var(--paper);
	line-height: 1.55;
	min-height: 100vh;
}

img {
	max-width: 100%;
	display: block;
}

a {
	color: var(--teal-deep);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--teal);
}

h1,
h2,
h3,
h4 {
	line-height: 1.15;
	letter-spacing: -0.03em;
	margin: 0 0 0.6rem;
}

h1 {
	font-size: clamp(2.2rem, 4.6vw, 3.6rem);
	font-weight: 650;
}

h2 {
	font-size: clamp(1.6rem, 3vw, 2.2rem);
	font-weight: 650;
}

h3 {
	font-size: 1.15rem;
	font-weight: 620;
}

p {
	margin: 0 0 1rem;
}

.muted {
	color: var(--ink-muted);
}

.wrap {
	width: min(var(--max), calc(100% - 2.4rem));
	margin-inline: auto;
}

.skip {
	position: absolute;
	left: -999px;
	top: 0;
	background: var(--teal);
	color: var(--navy);
	padding: 0.5rem 1rem;
	z-index: 100;
}

.skip:focus {
	left: 1rem;
	top: 1rem;
}

/* Header */

.site-header {
	position: sticky;
	top: 0;
	z-index: 40;
	background: color-mix(in srgb, var(--navy) 92%, transparent);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid color-mix(in srgb, #fff 10%, transparent);
	color: #e2e8f0;
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 72px;
}

.brand {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	color: inherit;
	text-decoration: none;
	font-weight: 650;
}

.brand img,
.brand svg {
	width: 36px;
	height: 36px;
}

.brand-name {
	font-size: 1.05rem;
}

.brand-name span {
	color: var(--teal);
}

.nav {
	display: flex;
	align-items: center;
	gap: 0.2rem 1.1rem;
}

.nav a {
	color: #cbd5e1;
	text-decoration: none;
	font-size: 0.95rem;
	padding: 0.35rem 0;
}

.nav a:hover,
.nav a[aria-current="page"] {
	color: var(--teal-bright);
}

.nav-cta {
	background: var(--teal);
	color: var(--navy) !important;
	padding: 0.5rem 0.9rem !important;
	border-radius: 6px;
	font-weight: 620;
}

.nav-cta:hover {
	background: var(--teal-bright);
	color: var(--navy) !important;
}

.menu-toggle {
	display: none;
	background: transparent;
	border: 1px solid color-mix(in srgb, #fff 20%, transparent);
	color: #e2e8f0;
	padding: 0.4rem 0.7rem;
	border-radius: 6px;
	font: inherit;
	cursor: pointer;
}

/* Hero */

.hero {
	background-color: var(--navy);
	background-image: var(--hex);
	background-size: 56px 100px;
	color: #e2e8f0;
	padding: 4.5rem 0 4rem;
	border-bottom: 1px solid #243044;
}

.hero-grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 2.5rem;
	align-items: center;
}

.eyebrow {
	display: inline-block;
	color: var(--teal-bright);
	font-size: 0.8rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-weight: 620;
	margin-bottom: 0.9rem;
}

.hero p.lead {
	font-size: 1.15rem;
	color: #94a3b8;
	max-width: 38rem;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin: 1.5rem 0 1.2rem;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.7rem 1.15rem;
	border-radius: 6px;
	font-weight: 620;
	text-decoration: none;
	border: 1px solid transparent;
	font-family: inherit;
	cursor: pointer;
}

.btn-primary {
	background: var(--teal);
	color: var(--navy);
}

.btn-primary:hover {
	background: var(--teal-bright);
	color: var(--navy);
}

.btn-ghost {
	background: transparent;
	color: #e2e8f0;
	border-color: color-mix(in srgb, #fff 22%, transparent);
}

.btn-ghost:hover {
	border-color: var(--teal);
	color: var(--teal-bright);
}

.btn-ink {
	background: var(--navy-2);
	color: #fff;
}

.btn-ink:hover {
	background: #0f172a;
	color: #fff;
}

.hero-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 1.2rem;
	color: #94a3b8;
	font-size: 0.92rem;
}

.hero-frame {
	border-radius: 12px;
	overflow: hidden;
	box-shadow: var(--shadow);
	border: 1px solid color-mix(in srgb, var(--teal) 30%, transparent);
	background: var(--navy-2);
}

.hero-frame img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

/* Stats / strips */

.stats {
	background: var(--paper-2);
	border-bottom: 1px solid var(--line);
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.2rem;
	padding: 1.6rem 0;
}

.stat strong {
	display: block;
	font-size: 1.35rem;
	letter-spacing: -0.03em;
}

.stat span {
	color: var(--ink-muted);
	font-size: 0.9rem;
}

section {
	padding: 4.2rem 0;
}

.section-head {
	max-width: 42rem;
	margin-bottom: 2rem;
}

.section-dark {
	background-color: var(--navy-2);
	background-image: var(--hex);
	background-size: 56px 100px;
	color: #e2e8f0;
}

.section-dark .muted,
.section-dark .section-head p {
	color: #94a3b8;
}

.section-alt {
	background: var(--paper-2);
	border-block: 1px solid var(--line);
}

/* Feature cards */

.card-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
}

.card {
	background: var(--paper-2);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.2rem 1.2rem 1.1rem;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.section-dark .card {
	background: color-mix(in srgb, var(--navy) 70%, transparent);
	border-color: color-mix(in srgb, #fff 10%, transparent);
	color: #e2e8f0;
}

.kicker {
	font-size: 0.75rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--teal-deep);
	font-weight: 650;
	margin-bottom: 0.45rem;
}

.section-dark .kicker {
	color: var(--teal-bright);
}

.card ul {
	margin: 0.4rem 0 0;
	padding-left: 1.1rem;
	color: var(--ink-muted);
}

.section-dark .card ul {
	color: #94a3b8;
}

.card li {
	margin: 0.2rem 0;
}

/* Gallery */

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.1rem;
}

.gallery-item {
	display: block;
	background: var(--navy-2);
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid var(--line);
	color: inherit;
	text-decoration: none;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.gallery-item img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.gallery-item figcaption,
.gallery-item .cap {
	padding: 0.85rem 1rem 1rem;
	background: var(--paper-2);
}

.gallery-item strong {
	display: block;
}

.gallery-item span {
	color: var(--ink-muted);
	font-size: 0.92rem;
}

.lightbox {
	position: fixed;
	inset: 0;
	background: rgba(12, 16, 23, 0.88);
	display: none;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	z-index: 80;
}

.lightbox.open {
	display: flex;
}

.lightbox img {
	max-width: min(1100px, 100%);
	max-height: 82vh;
	border-radius: 8px;
	box-shadow: var(--shadow);
}

.lightbox-close,
.lightbox-nav {
	position: absolute;
	background: var(--navy-2);
	color: #fff;
	border: 1px solid color-mix(in srgb, #fff 16%, transparent);
	border-radius: 6px;
	padding: 0.45rem 0.7rem;
	font: inherit;
	cursor: pointer;
}

.lightbox-close {
	top: 1rem;
	right: 1rem;
}

.lightbox-nav {
	top: 50%;
	transform: translateY(-50%);
}

.lightbox-nav.prev {
	left: 1rem;
}

.lightbox-nav.next {
	right: 1rem;
}

.lightbox-caption {
	position: absolute;
	bottom: 1.2rem;
	left: 50%;
	transform: translateX(-50%);
	color: #e2e8f0;
	background: color-mix(in srgb, var(--navy) 80%, transparent);
	padding: 0.4rem 0.8rem;
	border-radius: 6px;
}

/* Feature deep dive */

.feature-block {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 1.5rem;
	padding: 1.6rem 0;
	border-bottom: 1px solid var(--line);
	scroll-margin-top: 88px;
}

.feature-block:last-child {
	border-bottom: 0;
}

.toc {
	position: sticky;
	top: 88px;
	background: var(--paper-2);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1rem;
}

.toc a {
	display: block;
	color: var(--ink);
	text-decoration: none;
	padding: 0.28rem 0;
	font-size: 0.92rem;
}

.toc a:hover {
	color: var(--teal-deep);
}

.detail-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.8rem 1.4rem;
}

.detail {
	background: var(--paper-2);
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: 1rem;
}

.detail h3 {
	margin-bottom: 0.35rem;
}

code,
.mono {
	font-family: var(--font-mono);
	font-size: 0.88em;
}

.swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 0.6rem;
}

.swatch {
	width: 42px;
	height: 42px;
	border-radius: 6px;
	border: 1px solid var(--line);
}

/* Platform */

.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.4rem;
}

.table-wrap {
	overflow-x: auto;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--paper-2);
}

table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95rem;
}

th,
td {
	text-align: left;
	padding: 0.7rem 0.85rem;
	border-bottom: 1px solid var(--line);
	vertical-align: top;
}

th {
	background: #e8eef2;
	font-weight: 620;
}

tr:last-child td {
	border-bottom: 0;
}

/* Contact */

.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.4rem;
}

.contact-card {
	background: var(--paper-2);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.4rem;
}

.contact-card a.big {
	display: block;
	font-size: 1.35rem;
	font-weight: 650;
	color: var(--ink);
	text-decoration: none;
	margin: 0.3rem 0 0.6rem;
}

.contact-card a.big:hover {
	color: var(--teal-deep);
}

form {
	display: grid;
	gap: 0.8rem;
}

label {
	display: grid;
	gap: 0.3rem;
	font-weight: 560;
	font-size: 0.92rem;
}

input,
textarea,
select {
	font: inherit;
	padding: 0.6rem 0.7rem;
	border: 1px solid var(--line);
	border-radius: 6px;
	background: #fff;
	color: var(--ink);
}

textarea {
	min-height: 8rem;
	resize: vertical;
}

/* Footer */

.site-footer {
	background: var(--navy);
	background-image: var(--hex);
	background-size: 56px 100px;
	color: #94a3b8;
	padding: 2.6rem 0 1.6rem;
	border-top: 1px solid #243044;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 1.5rem;
	margin-bottom: 1.8rem;
}

.site-footer a {
	color: #cbd5e1;
	text-decoration: none;
}

.site-footer a:hover {
	color: var(--teal-bright);
}

.site-footer h3 {
	color: #e2e8f0;
	font-size: 0.95rem;
}

.site-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-footer li {
	margin: 0.3rem 0;
}

.legal {
	border-top: 1px solid color-mix(in srgb, #fff 10%, transparent);
	padding-top: 1rem;
	font-size: 0.88rem;
}

.cta-band {
	padding: 3.2rem 0;
	text-align: center;
}

.cta-band h2 {
	margin-bottom: 0.5rem;
}

.with-toc {
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: 2rem;
	align-items: start;
}

@media (max-width: 960px) {
	.hero-grid,
	.stats-grid,
	.card-grid,
	.gallery-grid,
	.split,
	.contact-grid,
	.footer-grid,
	.feature-block,
	.detail-grid,
	.with-toc,
	.pricing-grid {
		grid-template-columns: 1fr;
	}

	.stats-grid {
		grid-template-columns: 1fr 1fr;
	}

	.toc {
		position: static;
	}

	.menu-toggle {
		display: inline-flex;
	}

	.nav {
		display: none;
		position: absolute;
		top: 72px;
		left: 0;
		right: 0;
		background: var(--navy);
		flex-direction: column;
		align-items: stretch;
		padding: 0.6rem 1.2rem 1rem;
		border-bottom: 1px solid #243044;
	}

	.nav.open {
		display: flex;
	}

	.header-inner {
		position: relative;
	}
}

.trial-banner {
	background: var(--navy-2);
	background-image: var(--hex);
	background-size: 56px 100px;
	color: #e2e8f0;
	border-radius: var(--radius);
	padding: 1.6rem 1.8rem;
	margin-bottom: 1.6rem;
	border: 1px solid color-mix(in srgb, var(--teal) 28%, transparent);
}

.trial-banner h2 {
	color: #fff;
}

.trial-banner p {
	color: #94a3b8;
	max-width: 40rem;
}

.pricing-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.2rem;
	align-items: stretch;
}

.price-card {
	background: var(--paper-2);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.5rem 1.4rem 1.4rem;
	display: flex;
	flex-direction: column;
}

.price-card.featured {
	border-color: var(--teal);
	box-shadow: 0 12px 32px rgba(13, 148, 136, 0.12);
}

.price {
	font-size: 2.4rem;
	font-weight: 650;
	letter-spacing: -0.04em;
	margin: 0.2rem 0 0;
	line-height: 1.1;
}

.price span {
	font-size: 1rem;
	font-weight: 500;
	color: var(--ink-muted);
	letter-spacing: 0;
}

.price-alt {
	color: var(--teal-deep);
	font-weight: 620;
	margin: 0.35rem 0 0.8rem;
}

.price-card ul {
	margin: 0 0 1.2rem;
	padding-left: 1.1rem;
	color: var(--ink-muted);
	flex: 1;
}

.price-card li {
	margin: 0.35rem 0;
}

@media (max-width: 560px) {
	.stats-grid {
		grid-template-columns: 1fr;
	}

	.hero {
		padding: 2.6rem 0 2.4rem;
	}
}
