/* Upsylo — site styles */
:root {
	--ink: #0a0f1c;
	--ink-2: #1c2433;
	--muted: #5b6577;
	--line: #e3e8f0;
	--soft: #f5f7fb;
	--soft-2: #eef2fa;
	--brand: #1f4fff;
	--brand-600: #1a40d6;
	--brand-50: #eef2ff;
	--cyan: #19c2e6;
	--mint: #8fd9a8;
	--navy: #070c1a;
	--radius: 16px;
	--radius-sm: 10px;
	--shadow-sm: 0 1px 2px rgba(10, 15, 28, 0.06), 0 1px 3px rgba(10, 15, 28, 0.08);
	--shadow: 0 10px 30px -12px rgba(10, 15, 28, 0.18), 0 2px 6px rgba(10, 15, 28, 0.05);
	--shadow-lg: 0 30px 60px -20px rgba(16, 34, 94, 0.35);
	--max: 1200px;
	--font-display: "Wix Madefor Display", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-text: "Wix Madefor Text", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

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

img,
video {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--brand);
	text-decoration: none;
}

a:hover {
	color: var(--brand-600);
}

h1,
h2,
h3,
h4 {
	font-family: var(--font-display);
	color: var(--ink);
	line-height: 1.15;
	letter-spacing: -0.02em;
	margin: 0 0 0.5em;
	font-weight: 600;
}

h1 {
	font-size: clamp(2.4rem, 5.2vw, 4.25rem);
	letter-spacing: -0.035em;
}

h2 {
	font-size: clamp(1.9rem, 3.4vw, 2.85rem);
}

h3 {
	font-size: 1.3rem;
	letter-spacing: -0.01em;
}

p {
	margin: 0 0 1em;
}

:focus-visible {
	outline: 3px solid var(--cyan);
	outline-offset: 3px;
	border-radius: 6px;
}

.skip-link {
	position: absolute;
	left: 1rem;
	top: -100px;
	background: var(--ink);
	color: #fff;
	padding: 0.6rem 1rem;
	border-radius: 8px;
	z-index: 1000;
}

.skip-link:focus {
	top: 1rem;
	color: #fff;
}

.container {
	width: 100%;
	max-width: var(--max);
	margin: 0 auto;
	padding: 0 24px;
}

.section {
	padding: 112px 0;
}

.section--soft {
	background: var(--soft);
}

.section--tight {
	padding: 80px 0;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--font-display);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--brand);
	margin-bottom: 1rem;
}

.eyebrow::before {
	content: "";
	width: 18px;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
}

.section-head {
	max-width: 760px;
	margin: 0 auto 64px;
	text-align: center;
}

.section-head .eyebrow::after {
	content: "";
	width: 18px;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
}

.lead {
	font-size: 1.2rem;
	color: var(--muted);
	line-height: 1.6;
}

/* Buttons */
.btn {
	--bg: var(--brand);
	--fg: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 0.98rem;
	line-height: 1;
	padding: 0.95rem 1.4rem;
	border-radius: 999px;
	border: 1px solid transparent;
	background: var(--bg);
	color: var(--fg);
	cursor: pointer;
	transition:
		transform 0.15s ease,
		box-shadow 0.2s ease,
		background 0.2s ease,
		color 0.2s ease;
	white-space: nowrap;
}

.btn:hover {
	color: var(--fg);
	transform: translateY(-1px);
	box-shadow: 0 10px 24px -10px rgba(31, 79, 255, 0.6);
	background: var(--brand-600);
}

.btn svg {
	width: 18px;
	height: 18px;
	transition: transform 0.2s ease;
}

.btn:hover svg {
	transform: translateX(3px);
}

.btn--ghost {
	--bg: transparent;
	--fg: var(--ink);
	border-color: var(--line);
}

.btn--ghost:hover {
	background: var(--soft);
	box-shadow: none;
}

.btn--light {
	--bg: #fff;
	--fg: var(--ink);
}

.btn--light:hover {
	background: #fff;
	box-shadow: 0 12px 28px -10px rgba(0, 0, 0, 0.45);
}

.btn--outline-light {
	--bg: rgba(255, 255, 255, 0.06);
	--fg: #fff;
	border-color: rgba(255, 255, 255, 0.28);
	backdrop-filter: blur(6px);
}

.btn--outline-light:hover {
	background: rgba(255, 255, 255, 0.14);
	box-shadow: none;
}

.btn--block {
	width: 100%;
}

.btn--sm {
	padding: 0.7rem 1.1rem;
	font-size: 0.92rem;
}

/* Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.86);
	backdrop-filter: saturate(180%) blur(14px);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid transparent;
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}

.site-header.is-scrolled {
	border-bottom-color: var(--line);
	box-shadow: 0 6px 20px -16px rgba(10, 15, 28, 0.35);
}

.nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 76px;
	gap: 24px;
}

.brand {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
}

.brand img {
	height: 42px;
	width: auto;
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-links a {
	display: block;
	padding: 0.55rem 0.9rem;
	border-radius: 999px;
	font-family: var(--font-display);
	font-weight: 500;
	font-size: 0.96rem;
	color: var(--ink-2);
	transition:
		background 0.15s ease,
		color 0.15s ease;
}

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

.nav-links a[aria-current="page"] {
	color: var(--brand);
	background: var(--brand-50);
}

.nav-cta {
	display: flex;
	align-items: center;
	gap: 12px;
}

.nav-mobile-cta {
	display: none;
}

.nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	border: 1px solid var(--line);
	background: #fff;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: var(--ink);
}

.nav-toggle svg {
	width: 22px;
	height: 22px;
}

@media (max-width: 920px) {
	.nav-toggle {
		display: inline-flex;
	}

	.nav-links {
		position: absolute;
		top: 76px;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
		padding: 12px 16px 20px;
		background: #fff;
		border-bottom: 1px solid var(--line);
		box-shadow: 0 20px 30px -20px rgba(10, 15, 28, 0.25);
		display: none;
	}

	.nav-links.is-open {
		display: flex;
	}

	.nav-mobile-cta {
		display: block;
		margin-top: 8px;
	}

	.nav-links .nav-mobile-cta a {
		background: var(--brand);
		color: #fff;
		text-align: center;
		font-weight: 600;
	}

	.nav-links a {
		padding: 0.85rem 1rem;
		border-radius: 12px;
		font-size: 1.05rem;
	}

	.nav-cta .btn {
		display: none;
	}

	.brand img {
		height: 36px;
	}
}

/* Hero */
.hero {
	position: relative;
	overflow: hidden;
	background: var(--navy);
	color: #fff;
	isolation: isolate;
}

.hero__media {
	position: absolute;
	inset: 0;
	z-index: -2;
}

.hero__media video,
.hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.55;
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(60% 70% at 15% 20%, rgba(31, 79, 255, 0.45), transparent 60%),
		radial-gradient(50% 60% at 90% 80%, rgba(25, 194, 230, 0.25), transparent 60%),
		linear-gradient(180deg, rgba(7, 12, 26, 0.35) 0%, rgba(7, 12, 26, 0.85) 100%);
}

.hero__inner {
	padding: 150px 0 140px;
	max-width: 900px;
}

.hero h1 {
	color: #fff;
}

.hero h1 .grad {
	background: linear-gradient(90deg, #8fb0ff 0%, #6fe3f7 60%, #b8f0cc 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.hero p.lead {
	color: rgba(255, 255, 255, 0.78);
	max-width: 640px;
	font-size: 1.25rem;
}

.hero .eyebrow {
	color: #8fb0ff;
}

.hero__actions {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	margin-top: 36px;
}

.hero--page .hero__inner {
	padding: 120px 0 110px;
}

.hero--center .hero__inner {
	margin: 0 auto;
	text-align: center;
}

.hero--center p.lead {
	margin-left: auto;
	margin-right: auto;
}

.hero--center .hero__actions {
	justify-content: center;
}

.pill-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 44px;
}

.hero--center .pill-row {
	justify-content: center;
}

.pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0.5rem 0.95rem;
	border-radius: 999px;
	font-size: 0.88rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.88);
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.14);
	backdrop-filter: blur(6px);
}

.pill::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--mint);
	box-shadow: 0 0 0 4px rgba(143, 217, 168, 0.18);
}

/* Cards / grids */
.grid {
	display: grid;
	gap: 24px;
}

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

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

@media (max-width: 960px) {
	.grid--3,
	.grid--2 {
		grid-template-columns: 1fr;
	}
}

.card {
	position: relative;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 32px;
	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease,
		border-color 0.25s ease;
}

.card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow);
	border-color: #d4dcef;
}

.card h3 {
	margin-top: 18px;
}

.card p {
	color: var(--muted);
	margin: 0;
}

.icon {
	width: 52px;
	height: 52px;
	border-radius: 14px;
	display: grid;
	place-items: center;
	background: linear-gradient(135deg, var(--brand-50), #e6f8fc);
	color: var(--brand);
	border: 1px solid #dbe4ff;
}

.icon svg {
	width: 26px;
	height: 26px;
}

/* Architecture */
.frame {
	border-radius: 20px;
	background: #fff;
	border: 1px solid var(--line);
	box-shadow: var(--shadow-lg);
	overflow: hidden;
}

.frame__bar {
	display: flex;
	gap: 7px;
	align-items: center;
	padding: 14px 18px;
	background: var(--ink);
}

.frame__bar span {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.35);
}

.frame__bar span:nth-child(1) {
	background: #ff5f57;
}

.frame__bar span:nth-child(2) {
	background: #febc2e;
}

.frame__bar span:nth-child(3) {
	background: #28c840;
}

.frame img {
	width: 100%;
	height: auto;
}

.diagram {
	max-width: 1000px;
	margin: 0 auto;
	padding: 28px;
	border-radius: 24px;
	background: #fff;
	border: 1px solid var(--line);
	box-shadow: var(--shadow-lg);
}

.diagram img {
	width: 100%;
	height: auto;
}

.diagram--wide {
	max-width: 1100px;
	padding: 40px 32px;
}

@media (max-width: 600px) {
	.diagram {
		padding: 12px;
		border-radius: 16px;
	}
}

.steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-top: 56px;
	counter-reset: step;
}

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

.step {
	position: relative;
	padding: 28px 28px 30px;
	border-radius: var(--radius);
	background: #fff;
	border: 1px solid var(--line);
}

.step::before {
	counter-increment: step;
	content: "0" counter(step);
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 0.85rem;
	letter-spacing: 0.1em;
	color: var(--brand);
	display: block;
	margin-bottom: 14px;
}

.step__bar {
	height: 4px;
	border-radius: 4px;
	margin-bottom: 22px;
	background: var(--line);
	overflow: hidden;
}

.step__bar i {
	display: block;
	height: 100%;
	border-radius: 4px;
}

.step:nth-child(1) .step__bar i {
	width: 33%;
	background: #0b8fe0;
}

.step:nth-child(2) .step__bar i {
	width: 66%;
	background: linear-gradient(90deg, #0b8fe0, var(--cyan));
}

.step:nth-child(3) .step__bar i {
	width: 100%;
	background: linear-gradient(90deg, #0b8fe0, var(--cyan), var(--mint));
}

.step h3 {
	margin-bottom: 8px;
}

.step p {
	color: var(--muted);
	margin: 0;
}

.center {
	text-align: center;
}

.mt-48 {
	margin-top: 48px;
}

/* Feature rows */
.feature-row {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: 80px;
	align-items: center;
}

.feature-row + .feature-row {
	margin-top: 120px;
}

.feature-row--rev .feature-row__media {
	order: 2;
}

@media (max-width: 960px) {
	.feature-row {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.feature-row--rev .feature-row__media {
		order: 0;
	}

	.feature-row + .feature-row {
		margin-top: 88px;
	}
}

.feature-row__media {
	position: relative;
}

.media-card {
	position: relative;
	border-radius: 24px;
	overflow: hidden;
	box-shadow: var(--shadow-lg);
	aspect-ratio: 4 / 3.2;
}

.media-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.media-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(200deg, transparent 50%, rgba(7, 12, 26, 0.35));
}

.media-accent {
	position: absolute;
	inset: auto -18px -18px auto;
	width: 62%;
	height: 62%;
	border-radius: 28px;
	background: linear-gradient(135deg, var(--brand), var(--cyan));
	z-index: -1;
	opacity: 0.9;
}

.feature-row--rev .media-accent {
	inset: auto auto -18px -18px;
}

.media-float {
	position: absolute;
	right: -14px;
	bottom: -36px;
	width: 24%;
	border-radius: 18px;
	box-shadow: var(--shadow-lg);
	background: #fff;
	animation: bob 6s ease-in-out infinite;
}

@media (max-width: 960px) {
	.media-float {
		right: 10px;
		bottom: -24px;
		width: 26%;
	}
}

@keyframes bob {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-10px);
	}
}

.checks {
	list-style: none;
	padding: 0;
	margin: 24px 0 32px;
	display: grid;
	gap: 12px;
}

.checks li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	color: var(--ink-2);
	font-weight: 500;
}

.checks li::before {
	content: "";
	flex: 0 0 22px;
	height: 22px;
	margin-top: 2px;
	border-radius: 50%;
	background: var(--brand-50)
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f4fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E")
		center / 13px no-repeat;
	border: 1px solid #d6e0ff;
}

.feature-row__body p {
	color: var(--muted);
	font-size: 1.08rem;
}

.feature-row__body h2 {
	margin-bottom: 0.4em;
}

/* Use-case / post cards */
.post-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	color: inherit;
	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease;
	height: 100%;
}

.post-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow);
	color: inherit;
}

.post-card__img {
	aspect-ratio: 16 / 9.2;
	overflow: hidden;
	background: var(--soft-2);
}

.post-card__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.post-card:hover .post-card__img img {
	transform: scale(1.04);
}

.post-card__body {
	padding: 26px 26px 28px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.post-card__tag {
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--brand);
	margin-bottom: 10px;
}

.post-card h3 {
	font-size: 1.2rem;
	margin-bottom: 10px;
}

.post-card p {
	color: var(--muted);
	font-size: 0.97rem;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.post-card__meta {
	margin-top: auto;
	padding-top: 18px;
	display: flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
	font-size: 0.84rem;
	color: var(--muted);
	border-top: 1px solid var(--line);
}

.avatar {
	width: 30px;
	height: 30px;
	flex-shrink: 0;
	border-radius: 8px;
	object-fit: contain;
}

.dot {
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: #a5adbb;
}

/* CTA band */
.cta-band {
	position: relative;
	overflow: hidden;
	border-radius: 28px;
	padding: 72px 64px;
	background: var(--navy);
	color: #fff;
	isolation: isolate;
	display: grid;
	grid-template-columns: 1.4fr auto;
	gap: 40px;
	align-items: center;
}

.cta-band::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(60% 120% at 0% 0%, rgba(31, 79, 255, 0.55), transparent 60%),
		radial-gradient(50% 120% at 100% 100%, rgba(25, 194, 230, 0.35), transparent 60%),
		url("/img/wave-digital.webp") center / cover;
	opacity: 0.95;
}

.cta-band h2 {
	color: #fff;
	margin-bottom: 12px;
}

.cta-band p {
	color: rgba(255, 255, 255, 0.75);
	margin: 0;
	font-size: 1.1rem;
	max-width: 620px;
}

.cta-band__actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

@media (max-width: 860px) {
	.cta-band {
		grid-template-columns: 1fr;
		padding: 52px 28px;
	}
}

/* Contact */
.contact {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 64px;
	align-items: start;
}

@media (max-width: 960px) {
	.contact {
		grid-template-columns: 1fr;
		gap: 40px;
	}
}

.contact__info h2 {
	margin-bottom: 16px;
}

.contact__info p {
	color: var(--muted);
}

.info-list {
	list-style: none;
	padding: 0;
	margin: 32px 0 0;
	display: grid;
	gap: 18px;
}

.info-list li {
	display: flex;
	gap: 16px;
	align-items: flex-start;
}

.info-list .icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	flex-shrink: 0;
}

.info-list .icon svg {
	width: 21px;
	height: 21px;
}

.info-list strong {
	display: block;
	font-family: var(--font-display);
	color: var(--ink);
	font-weight: 600;
}

.info-list span {
	color: var(--muted);
	font-size: 0.98rem;
	line-height: 1.55;
}

.form-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 22px;
	padding: 40px;
	box-shadow: var(--shadow);
}

@media (max-width: 600px) {
	.form-card {
		padding: 26px 20px;
	}
}

.form-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

.form-grid .full {
	grid-column: 1 / -1;
}

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

.field label {
	display: block;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--ink);
	margin-bottom: 7px;
}

.field label .req {
	color: var(--brand);
}

.field input,
.field textarea {
	width: 100%;
	font: inherit;
	font-size: 1rem;
	color: var(--ink);
	background: var(--soft);
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 0.8rem 0.95rem;
	transition:
		border-color 0.15s ease,
		background 0.15s ease,
		box-shadow 0.15s ease;
}

.field textarea {
	min-height: 140px;
	resize: vertical;
}

.field input:focus,
.field textarea:focus {
	outline: none;
	background: #fff;
	border-color: var(--brand);
	box-shadow: 0 0 0 4px rgba(31, 79, 255, 0.12);
}

.field input:user-invalid,
.field textarea:user-invalid {
	border-color: #e5484d;
}

.hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form-foot {
	margin-top: 22px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.form-status {
	font-size: 0.95rem;
	min-height: 1.4em;
	margin: 0;
}

.form-status.is-ok {
	color: #18794e;
}

.form-status.is-err {
	color: #cd2b31;
}

.form-done {
	text-align: center;
	padding: 30px 10px;
}

.form-done .icon {
	margin: 0 auto 18px;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: #e9f9ef;
	border-color: #c6eed5;
	color: #18794e;
}

/* Modal */
.modal {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.modal.is-open {
	display: flex;
}

.modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(7, 12, 26, 0.6);
	backdrop-filter: blur(6px);
	animation: fade 0.2s ease;
}

.modal__panel {
	position: relative;
	width: 100%;
	max-width: 760px;
	max-height: calc(100vh - 40px);
	overflow: auto;
	background: #fff;
	border-radius: 24px;
	box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.5);
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	animation: pop 0.25s ease;
}

.modal__aside {
	position: relative;
	padding: 40px 32px;
	background: var(--navy);
	color: #fff;
	overflow: hidden;
	isolation: isolate;
}

.modal__aside::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(80% 60% at 0% 0%, rgba(31, 79, 255, 0.6), transparent 60%),
		radial-gradient(70% 60% at 100% 100%, rgba(25, 194, 230, 0.35), transparent 60%);
}

.modal__aside h2 {
	color: #fff;
	font-size: 1.85rem;
	margin-bottom: 14px;
}

.modal__aside p {
	color: rgba(255, 255, 255, 0.75);
	font-size: 0.98rem;
}

.modal__aside .checks li {
	color: rgba(255, 255, 255, 0.9);
	font-size: 0.95rem;
}

.modal__aside .checks li::before {
	background-color: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.2);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238fd9a8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E");
}

.modal__body {
	padding: 40px 36px;
}

.modal__close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid var(--line);
	background: #fff;
	display: grid;
	place-items: center;
	cursor: pointer;
	color: var(--ink);
	z-index: 2;
}

.modal__close svg {
	width: 18px;
	height: 18px;
}

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

	.modal__aside {
		padding: 32px 24px 26px;
	}

	.modal__aside .checks {
		display: none;
	}

	.modal__body {
		padding: 28px 22px;
	}
}

@keyframes fade {
	from {
		opacity: 0;
	}
}

@keyframes pop {
	from {
		opacity: 0;
		transform: translateY(12px) scale(0.98);
	}
}

body.modal-open {
	overflow: hidden;
}

/* Footer */
.site-footer {
	background: var(--soft);
	border-top: 1px solid var(--line);
	padding: 80px 0 36px;
	font-size: 0.97rem;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1.2fr;
	gap: 48px;
}

@media (max-width: 860px) {
	.footer-grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}
}

.footer-brand img {
	height: 52px;
	width: auto;
	margin-bottom: 18px;
}

.footer-brand p {
	color: var(--muted);
	max-width: 360px;
}

.site-footer h4 {
	font-size: 0.82rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink);
	margin-bottom: 18px;
}

.footer-links {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 10px;
}

.footer-links a {
	color: var(--ink-2);
}

.footer-links a:hover {
	color: var(--brand);
}

.site-footer address {
	font-style: normal;
	color: var(--muted);
	line-height: 1.7;
}

.footer-bottom {
	margin-top: 56px;
	padding-top: 26px;
	border-top: 1px solid var(--line);
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	color: var(--muted);
	font-size: 0.9rem;
}

/* Page: features */
.pillars {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

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

.pillar {
	position: relative;
	padding: 36px 32px;
	border-radius: 20px;
	background: #fff;
	border: 1px solid var(--line);
	overflow: hidden;
	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease;
}

.pillar:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow);
}

.pillar__num {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 3.2rem;
	line-height: 1;
	letter-spacing: -0.04em;
	background: linear-gradient(135deg, var(--brand), var(--cyan));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	margin-bottom: 20px;
	display: block;
}

.pillar h3 {
	font-size: 1.4rem;
}

.pillar > p {
	color: var(--muted);
}

.pillar .checks {
	margin: 22px 0 0;
	padding-top: 22px;
	border-top: 1px solid var(--line);
}

.video-wrap {
	position: relative;
	max-width: 1040px;
	margin: 0 auto;
}

.video-wrap video {
	width: 100%;
	height: auto;
	background: #000;
}

.video-cta {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	margin-top: 36px;
	text-align: center;
}

.video-cta p {
	color: var(--muted);
	max-width: 620px;
	margin: 0;
	font-size: 1.08rem;
}

/* Page: about */
.story {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: start;
}

@media (max-width: 960px) {
	.story {
		grid-template-columns: 1fr;
		gap: 48px;
	}
}

.story__text p {
	color: var(--muted);
	font-size: 1.08rem;
}

.story__text p:first-of-type {
	color: var(--ink-2);
	font-size: 1.22rem;
	line-height: 1.6;
}

.story__media {
	position: sticky;
	top: 110px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.story__media img {
	border-radius: 20px;
	width: 100%;
	height: 100%;
	object-fit: cover;
	box-shadow: var(--shadow);
}

.story__media img:first-child {
	grid-column: 1 / -1;
	aspect-ratio: 16 / 10;
}

.story__media img:nth-child(2) {
	aspect-ratio: 1;
}

.fact {
	border-radius: 20px;
	padding: 26px;
	background: linear-gradient(135deg, var(--brand), #0b8fe0 60%, var(--cyan));
	color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	aspect-ratio: 1;
	box-shadow: var(--shadow);
}

.fact strong {
	font-family: var(--font-display);
	font-size: 3rem;
	line-height: 1;
	letter-spacing: -0.04em;
}

.fact span {
	color: rgba(255, 255, 255, 0.85);
	font-size: 0.95rem;
	margin-top: 8px;
}

.mv {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

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

.mv__card {
	position: relative;
	border-radius: 24px;
	padding: 44px 40px;
	background: #fff;
	border: 1px solid var(--line);
	overflow: hidden;
}

.mv__card--dark {
	background: var(--navy);
	border-color: transparent;
	color: rgba(255, 255, 255, 0.78);
	isolation: isolate;
}

.mv__card--dark::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: radial-gradient(70% 70% at 100% 0%, rgba(31, 79, 255, 0.55), transparent 60%);
}

.mv__card--dark h2 {
	color: #fff;
}

.mv__card h2 {
	font-size: 2rem;
	margin-bottom: 18px;
}

.mv__card p {
	font-size: 1.05rem;
}

.mv__card:not(.mv__card--dark) p {
	color: var(--muted);
}

.mv__card .lead-line {
	font-family: var(--font-display);
	font-size: 1.3rem;
	line-height: 1.45;
	font-weight: 500;
	color: var(--ink);
	letter-spacing: -0.01em;
}

.mv__card--dark .lead-line {
	color: #fff;
}

/* Article */
.article-hero {
	padding: 72px 0 40px;
	background: linear-gradient(180deg, var(--soft) 0%, #fff 100%);
}

.article-hero .container {
	max-width: 860px;
}

.back-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	font-size: 0.95rem;
	margin-bottom: 28px;
}

.back-link svg {
	width: 16px;
	height: 16px;
}

.article-hero h1 {
	font-size: clamp(2.1rem, 4.2vw, 3.3rem);
}

.article-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--muted);
	font-size: 0.95rem;
	margin-top: 22px;
}

.article-meta .avatar {
	width: 38px;
	height: 38px;
	font-size: 0.85rem;
}

.article-meta strong {
	color: var(--ink);
	font-weight: 600;
}

.article-cover {
	max-width: 1040px;
	margin: 0 auto;
	padding: 0 24px;
}

.article-cover img {
	border-radius: 24px;
	width: 100%;
	aspect-ratio: 16 / 8.5;
	object-fit: cover;
	box-shadow: var(--shadow-lg);
}

.prose {
	max-width: 760px;
	margin: 0 auto;
	padding: 64px 24px 24px;
	font-size: 1.12rem;
	line-height: 1.8;
	color: var(--ink-2);
}

.prose h2 {
	font-size: 1.75rem;
	margin: 2em 0 0.6em;
}

.prose h3 {
	font-size: 1.28rem;
	margin: 1.8em 0 0.5em;
}

.prose > p:first-child {
	font-size: 1.28rem;
	line-height: 1.7;
	color: var(--ink);
}

.prose ul {
	padding: 0;
	list-style: none;
	display: grid;
	gap: 12px;
	margin: 1.2em 0 1.6em;
}

.prose ul li {
	position: relative;
	padding: 16px 18px 16px 54px;
	background: var(--soft);
	border: 1px solid var(--line);
	border-radius: 14px;
	font-weight: 500;
	line-height: 1.5;
}

.prose ul li::before {
	content: "";
	position: absolute;
	left: 18px;
	top: 16px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #fff
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f4fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E")
		center / 13px no-repeat;
	border: 1px solid #d6e0ff;
}

.prose .callout {
	margin: 2em 0;
	padding: 28px 30px;
	border-radius: 18px;
	background: var(--brand-50);
	border: 1px solid #d6e0ff;
}

.prose .callout h2,
.prose .callout h3 {
	margin-top: 0;
}

.prose .callout p:last-child {
	margin-bottom: 0;
}

/* Insights list */
.insights-featured {
	display: grid;
	grid-template-columns: 1.25fr 1fr;
	gap: 0;
	border-radius: 24px;
	overflow: hidden;
	border: 1px solid var(--line);
	background: #fff;
	color: inherit;
	margin-bottom: 40px;
	transition: box-shadow 0.25s ease;
}

.insights-featured:hover {
	box-shadow: var(--shadow);
	color: inherit;
}

.insights-featured img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	min-height: 320px;
}

.insights-featured__body {
	padding: 48px 44px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.insights-featured h2 {
	font-size: 2rem;
}

.insights-featured p {
	color: var(--muted);
}

@media (max-width: 900px) {
	.insights-featured {
		grid-template-columns: 1fr;
	}

	.insights-featured__body {
		padding: 30px 26px;
	}

	.insights-featured img {
		min-height: 0;
		aspect-ratio: 16 / 9;
	}
}

/* 404 */
.notfound {
	min-height: 60vh;
	display: grid;
	place-items: center;
	text-align: center;
	padding: 100px 24px;
}

.notfound .code {
	font-family: var(--font-display);
	font-size: clamp(5rem, 14vw, 9rem);
	font-weight: 600;
	letter-spacing: -0.06em;
	line-height: 1;
	background: linear-gradient(135deg, var(--brand), var(--cyan));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* Reveal */
.reveal {
	opacity: 0;
	transform: translateY(18px);
	transition:
		opacity 0.7s ease,
		transform 0.7s ease;
}

.reveal.is-in {
	opacity: 1;
	transform: none;
}

.no-js .reveal {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}

	.reveal {
		opacity: 1;
		transform: none;
	}
}

@media (max-width: 600px) {
	body {
		font-size: 16px;
	}

	.section {
		padding: 80px 0;
	}

	.hero__inner {
		padding: 100px 0 96px;
	}

	.hero--page .hero__inner {
		padding: 88px 0 80px;
	}

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