/* ==========================================================================
   ProLogics theme
   Brand: #000000 · #6d28d9 · #c4b5fd
   ========================================================================== */

/* Urbanist (SIL OFL 1.1, bundled in assets/fonts) — a close web match for the
   brand's Gilroy. To use licensed Gilroy instead, add its @font-face here and
   put "Gilroy" first in --font. */
@font-face {
	font-family: "Urbanist";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/urbanist-latin-wght-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Urbanist";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/urbanist-latin-ext-wght-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Urbanist";
	font-style: italic;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/urbanist-latin-wght-italic.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--black: #000;
	--ink: #0b0a10;
	--ink-2: #15131d;
	--ink-3: #1e1b29;
	--purple: #6d28d9;
	--purple-dark: #5b21b6;
	--lavender: #c4b5fd;
	--lavender-soft: #ede9fe;
	--tint: #f6f4fe;
	--paper: #fff;
	--text: #0b0a10;
	--muted: #57526b;
	--muted-dark: #b9b4cc;
	--line: #e6e2f2;
	--line-dark: rgba(255, 255, 255, 0.1);

	--font: "Urbanist", "Gilroy", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--radius: 20px;
	--radius-sm: 12px;
	--header-h: 76px;
	--container: 1280px;
	--gutter: clamp(16px, 4vw, 40px);
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Base --------------------------------------------------------------------- */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + 12px);
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--text);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img,
svg {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--purple);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

a:hover {
	color: var(--purple-dark);
}

h1,
h2,
h3,
h4 {
	margin: 0;
	line-height: 1.08;
	letter-spacing: -0.02em;
	font-weight: 800;
}

p {
	margin: 0;
}

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

.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	left: 16px;
	top: -60px;
	z-index: 1000;
	padding: 10px 16px;
	border-radius: 8px;
	background: var(--paper);
	color: var(--text);
	font-weight: 700;
}

.skip-link:focus {
	top: 12px;
}

/* Buttons ------------------------------------------------------------------ */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	padding: 0 22px;
	border-radius: 999px;
	border: 1.5px solid transparent;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}

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

.btn .icon-arrow {
	transition: transform 0.25s var(--ease);
}

.btn:hover .icon-arrow {
	transform: translate(2px, -2px);
}

.btn--lg {
	min-height: 54px;
	padding: 0 28px;
	font-size: 17px;
}

.btn--primary {
	background: var(--purple);
	color: #fff;
}

.btn--primary:hover {
	background: var(--purple-dark);
	color: #fff;
}

.btn--ghost {
	border-color: rgba(255, 255, 255, 0.28);
	color: #fff;
}

.btn--ghost:hover {
	border-color: var(--lavender);
	color: var(--lavender);
}

.btn--light {
	background: #fff;
	color: var(--ink);
}

.btn--light:hover {
	background: var(--lavender-soft);
	color: var(--ink);
}

.btn--outline {
	border-color: var(--ink);
	color: var(--ink);
}

.btn--outline:hover {
	background: var(--ink);
	color: #fff;
}

/* Header ------------------------------------------------------------------- */

.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 100;
	height: var(--header-h);
	background: rgba(11, 10, 16, 0.72);
	-webkit-backdrop-filter: saturate(140%) blur(14px);
	backdrop-filter: saturate(140%) blur(14px);
	border-bottom: 1px solid var(--line-dark);
	transition: background-color 0.3s;
}

.site-header.is-scrolled {
	background: rgba(11, 10, 16, 0.9);
}

.admin-bar .site-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	height: 100%;
}

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

.brand__img {
	display: block;
	width: auto;
	height: 26px;
}

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

.nav__list {
	display: flex;
	gap: 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nav__list a {
	color: rgba(255, 255, 255, 0.82);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: color 0.2s;
}

.nav__list a:hover,
.nav__list .current-menu-item > a {
	color: #fff;
}

.nav__cta {
	min-height: 42px;
	padding: 0 18px;
	font-size: 15px;
}

.nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--line-dark);
	border-radius: 12px;
	background: transparent;
	color: #fff;
	cursor: pointer;
}

.nav-toggle__bars {
	display: grid;
	gap: 5px;
	width: 20px;
	margin: 0 auto;
}

.nav-toggle__bars span {
	display: block;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: transform 0.3s var(--ease), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) {
	opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

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

	.nav {
		position: fixed;
		inset: var(--header-h) 0 auto;
		flex-direction: column;
		align-items: stretch;
		gap: 20px;
		padding: 24px var(--gutter) 32px;
		background: var(--ink);
		border-bottom: 1px solid var(--line-dark);
		transform: translateY(-8px);
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0s 0.25s;
	}

	.admin-bar .nav {
		top: calc(var(--header-h) + 46px);
	}

	.nav.is-open {
		transform: none;
		opacity: 1;
		visibility: visible;
		transition: opacity 0.25s, transform 0.25s var(--ease);
	}

	.nav__list {
		flex-direction: column;
		gap: 4px;
	}

	.nav__list a {
		display: block;
		padding: 12px 0;
		font-size: 20px;
	}

	.nav__cta {
		min-height: 52px;
	}
}

/* Shared section pieces ------------------------------------------------------ */

.section {
	padding: clamp(80px, 11vw, 140px) 0;
}

.section--tight {
	padding: clamp(48px, 7vw, 88px) 0;
}

.section__head {
	max-width: 760px;
	margin-bottom: clamp(40px, 6vw, 64px);
}

.section__head--split {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px 64px;
	max-width: none;
}

.section__head--split > div {
	flex: 1 1 480px;
}

.section__head--split .section__lead {
	flex: 0 1 380px;
	margin: 0;
}

.section__title {
	font-size: clamp(36px, 5vw, 60px);
}

.section__title em {
	display: block;
	font-style: italic;
	font-weight: 500;
	color: var(--purple);
	letter-spacing: -0.01em;
}

.section__lead {
	margin-top: 20px;
	max-width: 600px;
	color: var(--muted);
	font-size: clamp(17px, 1.6vw, 20px);
	line-height: 1.55;
}

.eyebrow {
	margin-bottom: 18px;
	color: var(--muted);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.eyebrow__num {
	color: var(--purple);
}

.eyebrow--light {
	color: var(--muted-dark);
}

.eyebrow--light .eyebrow__num {
	color: var(--lavender);
}

/* Reveal on scroll (only when JS runs and motion is fine). */
@media (prefers-reduced-motion: no-preference) {
	.js .reveal {
		opacity: 0;
		transform: translateY(18px);
		transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
		transition-delay: var(--reveal-delay, 0s);
	}

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

/* Hero --------------------------------------------------------------------- */

.hero {
	position: relative;
	height: 280vh;
	background: var(--ink);
	color: #fff;
}

.hero__sticky {
	position: sticky;
	top: 0;
	height: 100vh;
	height: 100svh;
	min-height: 640px;
	overflow: hidden;
	display: flex;
	align-items: center;
	padding-top: var(--header-h);
}

.hero__bg {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(60% 55% at 72% 45%, rgba(109, 40, 217, 0.32), transparent 70%),
		radial-gradient(40% 40% at 10% 90%, rgba(196, 181, 253, 0.1), transparent 70%),
		linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 40px 40px,
		linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px) 0 0 / 40px 40px;
	-webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent);
	mask-image: linear-gradient(to bottom, #000 70%, transparent);
	pointer-events: none;
}

.hero__inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
	align-items: center;
	gap: clamp(32px, 3.5vw, 56px);
}

.hero__title {
	font-size: clamp(38px, 4.1vw, 62px);
	letter-spacing: -0.03em;
}

.hero__text {
	margin-top: 22px;
	max-width: 480px;
	color: var(--muted-dark);
	font-size: clamp(17px, 1.5vw, 20px);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
}

.hero .eyebrow {
	font-style: italic;
	font-weight: 500;
	text-transform: none;
	letter-spacing: 0.04em;
	font-size: 18px;
	color: var(--lavender);
}

.hero__steps {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 40px 0 0;
	padding: 0;
	list-style: none;
}

.hero__steps li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border: 1px solid var(--line-dark);
	border-radius: 999px;
	color: var(--muted-dark);
	font-size: 14px;
	font-weight: 700;
	transition: background-color 0.35s, color 0.35s, border-color 0.35s;
}

.hero__steps li span {
	color: rgba(255, 255, 255, 0.4);
	font-variant-numeric: tabular-nums;
	transition: color 0.35s;
}

.hero__steps li.is-active {
	background: var(--lavender);
	border-color: var(--lavender);
	color: var(--ink);
}

.hero__steps li.is-active span {
	color: var(--purple);
}

.hero__steps li.is-done {
	border-color: rgba(196, 181, 253, 0.45);
	color: #fff;
}

.hero__visual {
	position: relative;
}

.hero__hint {
	position: absolute;
	left: 50%;
	bottom: 24px;
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--muted-dark);
	font-size: 14px;
	font-weight: 600;
	transform: translateX(-50%);
	transition: opacity 0.3s;
}

.hero__hint svg {
	animation: hint-bob 1.8s ease-in-out infinite;
}

@keyframes hint-bob {
	50% {
		transform: translateY(4px);
	}
}

/* Workflow diagram --------------------------------------------------------- */
/* Every size inside the diagram is in layout units × --u (set by JS). */

.flow {
	--u: 0.68;
	position: relative;
	width: 100%;
	aspect-ratio: 1000 / 640;
}

.no-js .flow,
html:not(.js) .flow {
	display: none;
}

.flow__wires {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.wire {
	fill: none;
	stroke: rgba(196, 181, 253, 0.5);
	stroke-width: 3;
	stroke-linecap: round;
}

.wire--flow {
	stroke: var(--lavender);
	stroke-width: 3.5;
	stroke-dasharray: 0.03 0.09;
	opacity: 0;
	transition: opacity 0.6s;
}

.flow.is-live .wire--flow {
	opacity: 1;
	animation: wire-flow 2.4s linear infinite;
}

@keyframes wire-flow {
	to {
		stroke-dashoffset: -0.24;
	}
}

.packet {
	fill: #fff;
	filter: drop-shadow(0 0 4px rgba(196, 181, 253, 0.9));
}

.flow [data-node],
.flow-lead {
	position: absolute;
	left: 0;
	top: 0;
	will-change: transform, opacity;
}

/* Hidden until the script positions them. */
.flow [data-node]:not([data-node="browser"]) {
	opacity: 0;
}

/* Browser mockup */
.flow-browser {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: calc(var(--u) * 14px);
	background: #fff;
	color: var(--ink);
	box-shadow: 0 calc(var(--u) * 30px) calc(var(--u) * 70px) rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08);
	transform-origin: 50% 50%;
}

.flow-browser__bar {
	display: flex;
	align-items: center;
	gap: calc(var(--u) * 6px);
	height: calc(var(--u) * 30px);
	padding: 0 calc(var(--u) * 12px);
	background: #efedf5;
	border-bottom: 1px solid #e2def0;
}

.flow-browser__bar > span {
	width: calc(var(--u) * 8px);
	height: calc(var(--u) * 8px);
	border-radius: 50%;
	background: #d3cfe0;
}

.flow-browser__url {
	flex: 1;
	margin-left: calc(var(--u) * 8px);
	padding: calc(var(--u) * 3px) calc(var(--u) * 10px);
	border-radius: 999px;
	background: #fff;
	color: #6b6680;
	font-size: calc(var(--u) * 11px);
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
}

.flow-browser__page {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: calc(var(--u) * 14px);
	padding: calc(var(--u) * 14px) calc(var(--u) * 16px) calc(var(--u) * 16px);
	background: linear-gradient(180deg, #faf9ff, #fff);
}

.fb-nav {
	display: flex;
	align-items: center;
	gap: calc(var(--u) * 8px);
}

.fb-nav i {
	display: block;
	width: calc(var(--u) * 26px);
	height: calc(var(--u) * 6px);
	border-radius: 4px;
	background: #e3dff0;
}

.fb-nav .fb-logo {
	width: calc(var(--u) * 44px);
	height: calc(var(--u) * 10px);
	margin-right: auto;
	background: var(--ink);
}

.fb-hero {
	display: grid;
	gap: calc(var(--u) * 7px);
}

.fb-hero b {
	font-size: calc(var(--u) * 19px);
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.fb-hero i {
	display: block;
	height: calc(var(--u) * 6px);
	border-radius: 4px;
	background: #e9e6f3;
}

.fb-hero .fb-short {
	width: 62%;
}

.fb-tiles {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: calc(var(--u) * 8px);
}

.fb-tiles i {
	display: block;
	height: calc(var(--u) * 46px);
	border-radius: calc(var(--u) * 8px);
	background: linear-gradient(135deg, #ede9fe, #f6f4fe);
}

.flow--v .fb-tiles {
	display: none;
}

.fb-form {
	display: grid;
	gap: calc(var(--u) * 8px);
	margin-top: auto;
	padding: calc(var(--u) * 12px);
	border: 1px solid #e6e2f2;
	border-radius: calc(var(--u) * 12px);
	background: #fff;
	box-shadow: 0 calc(var(--u) * 8px) calc(var(--u) * 20px) rgba(60, 30, 140, 0.08);
}

.fb-form__title {
	font-size: calc(var(--u) * 13px);
	font-weight: 800;
}

.fb-field {
	display: flex;
	align-items: center;
	gap: calc(var(--u) * 8px);
	height: calc(var(--u) * 30px);
	padding: 0 calc(var(--u) * 10px);
	border: 1px solid #e3dff0;
	border-radius: calc(var(--u) * 8px);
	font-size: calc(var(--u) * 12px);
}

.fb-field__label {
	width: calc(var(--u) * 38px);
	color: #8a85a0;
	font-weight: 600;
}

.fb-field__value {
	color: var(--ink);
	font-weight: 600;
	white-space: nowrap;
}

.fb-field.is-typing {
	border-color: var(--purple);
	box-shadow: 0 0 0 calc(var(--u) * 3px) rgba(109, 40, 217, 0.15);
}

.fb-field.is-typing .fb-field__value::after {
	content: "";
	display: inline-block;
	width: 1px;
	height: 1.1em;
	margin-left: 1px;
	vertical-align: -0.15em;
	background: var(--purple);
	animation: caret 0.9s steps(1) infinite;
}

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

.fb-btn {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: calc(var(--u) * 32px);
	border-radius: calc(var(--u) * 8px);
	background: var(--purple);
	color: #fff;
	font-size: calc(var(--u) * 12px);
	font-weight: 800;
	transition: transform 0.15s, background-color 0.3s;
}

.fb-btn.is-pressed {
	transform: scale(0.96);
	background: var(--purple-dark);
}

.fb-btn.is-done {
	background: #16a34a;
}

.fb-btn__done {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: calc(var(--u) * 5px);
	opacity: 0;
	transition: opacity 0.25s;
}

.fb-btn__done svg {
	width: calc(var(--u) * 13px);
	height: calc(var(--u) * 13px);
}

.fb-btn.is-done .fb-btn__label {
	opacity: 0;
}

.fb-btn.is-done .fb-btn__done {
	opacity: 1;
}

/* Lead packet */
.flow-lead {
	display: inline-flex;
	align-items: center;
	gap: calc(var(--u) * 7px);
	padding: calc(var(--u) * 6px) calc(var(--u) * 12px) calc(var(--u) * 6px) calc(var(--u) * 8px);
	border-radius: 999px;
	background: #fff;
	color: var(--ink);
	font-size: calc(var(--u) * 12px);
	font-weight: 800;
	white-space: nowrap;
	box-shadow: 0 0 0 calc(var(--u) * 4px) rgba(196, 181, 253, 0.35), 0 calc(var(--u) * 10px) calc(var(--u) * 24px) rgba(0, 0, 0, 0.4);
	opacity: 0;
	z-index: 5;
}

.flow-lead__dot {
	width: calc(var(--u) * 9px);
	height: calc(var(--u) * 9px);
	border-radius: 50%;
	background: #22c55e;
	box-shadow: 0 0 0 calc(var(--u) * 3px) rgba(34, 197, 94, 0.25);
}

/* Hub */
.flow-hub {
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: calc(var(--u) * 26px);
	background: linear-gradient(160deg, #221d33, #14111d);
	box-shadow: 0 0 0 1px rgba(196, 181, 253, 0.35), 0 0 0 calc(var(--u) * 10px) rgba(109, 40, 217, 0.12), 0 calc(var(--u) * 20px) calc(var(--u) * 50px) rgba(0, 0, 0, 0.5);
	z-index: 2;
}

.flow-hub img {
	width: 56%;
	height: auto;
}

.flow-hub.is-pulse {
	box-shadow: 0 0 0 1px var(--lavender), 0 0 0 calc(var(--u) * 14px) rgba(109, 40, 217, 0.3), 0 0 calc(var(--u) * 60px) rgba(109, 40, 217, 0.7);
}

/* Workflow cards */
.flow-wf {
	display: flex;
	align-items: center;
	gap: calc(var(--u) * 12px);
	padding: 0 calc(var(--u) * 14px);
	border-radius: calc(var(--u) * 14px);
	background: rgba(30, 27, 41, 0.92);
	border: 1px solid rgba(196, 181, 253, 0.22);
	box-shadow: 0 calc(var(--u) * 14px) calc(var(--u) * 30px) rgba(0, 0, 0, 0.35);
	z-index: 2;
}

.flow-wf__icon {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: calc(var(--u) * 38px);
	height: calc(var(--u) * 38px);
	border-radius: calc(var(--u) * 10px);
}

.flow-wf__icon img,
.flow-wf__icon svg {
	width: 58%;
	height: 58%;
}

.flow-wf__text {
	display: grid;
	min-width: 0;
}

.flow-wf__title {
	color: #fff;
	font-size: max(12px, calc(var(--u) * 16px));
	font-weight: 800;
	line-height: 1.2;
}

.flow-wf__sub {
	margin-top: calc(var(--u) * 2px);
	color: var(--muted-dark);
	font-size: max(10.5px, calc(var(--u) * 13px));
	font-weight: 500;
	line-height: 1.2;
}

/* App nodes */
.flow-app {
	display: flex;
	align-items: center;
	gap: calc(var(--u) * 10px);
	z-index: 2;
}

.flow-app__tile {
	position: relative;
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: calc(var(--u) * var(--tile, 48) * 1px);
	height: calc(var(--u) * var(--tile, 48) * 1px);
	border-radius: calc(var(--u) * 13px);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 calc(var(--u) * 10px) calc(var(--u) * 22px) rgba(0, 0, 0, 0.4);
}

.flow-app__tile > img,
.flow-app__tile > svg {
	width: 52%;
	height: 52%;
}

.flow-app__check {
	position: absolute;
	right: calc(var(--u) * -6px);
	top: calc(var(--u) * -6px);
	display: flex;
	align-items: center;
	justify-content: center;
	width: calc(var(--u) * 18px);
	height: calc(var(--u) * 18px);
	border-radius: 50%;
	background: #22c55e;
	color: #fff;
	box-shadow: 0 0 0 calc(var(--u) * 2px) var(--ink);
	transform: scale(0);
	transition: transform 0.35s var(--ease);
}

.flow-app__check svg {
	width: 62%;
	height: 62%;
}

.flow-app.is-done .flow-app__check {
	transform: scale(1);
}

.flow-app__label {
	color: #fff;
	font-size: max(12px, calc(var(--u) * 15px));
	font-weight: 700;
	white-space: nowrap;
}

.flow--v .flow-app {
	flex-direction: column;
	gap: calc(var(--u) * 6px);
}

.flow--v .flow-app__label {
	font-size: max(11px, calc(var(--u) * 12px));
}

.flow--v .flow-wf {
	flex-direction: column;
	justify-content: center;
	gap: calc(var(--u) * 6px);
	padding: calc(var(--u) * 8px);
	text-align: center;
}

.flow--v .flow-wf__title {
	font-size: max(11px, calc(var(--u) * 12.5px));
}

.flow--v .flow-wf__sub {
	display: none;
}

.flow-caption {
	margin-top: 18px;
	color: var(--lavender);
	font-size: 16px;
	font-style: italic;
	font-weight: 500;
	text-align: center;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity 0.5s, transform 0.5s var(--ease);
}

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

/* Hero: small screens and reduced motion --------------------------------- */

@media (max-width: 960px) {
	.hero {
		height: auto;
	}

	.hero__sticky {
		position: relative;
		height: auto;
		min-height: 0;
		padding: calc(var(--header-h) + 48px) 0 64px;
		overflow: visible;
	}

	.hero__inner {
		grid-template-columns: 1fr;
		gap: 48px;
	}

	.hero__steps {
		margin-top: 32px;
	}

	.hero__visual {
		max-width: 460px;
		width: 100%;
		margin: 0 auto;
	}

	.flow {
		aspect-ratio: 400 / 820;
	}

	.hero__hint {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hero {
		height: auto;
	}

	.hero__sticky {
		position: relative;
		height: auto;
		padding-bottom: 72px;
		padding-top: calc(var(--header-h) + 48px);
	}

	.hero__hint {
		display: none;
	}

	.flow.is-live .wire--flow {
		animation: none;
	}
}

@media (min-width: 961px) and (max-height: 760px) {
	.hero__title {
		font-size: clamp(36px, 3.8vw, 52px);
	}

	.hero__steps {
		margin-top: 28px;
	}
}

/* Logo strips -------------------------------------------------------------- */

.strip {
	padding: 44px 0;
	overflow: hidden;
}

.strip--tint {
	background: var(--tint);
	border-bottom: 1px solid var(--line);
}

.strip--light {
	background: var(--paper);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.strip__heading {
	margin-bottom: 26px;
	color: var(--muted);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-align: center;
	text-transform: uppercase;
}

.marquee {
	display: flex;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee__track {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	gap: 56px;
	min-width: max-content;
	margin: 0;
	padding: 0 56px 0 0;
	list-style: none;
	animation: marquee var(--marquee-duration, 45s) linear infinite;
}

.strip--clients .marquee__track {
	animation-direction: reverse;
}

.marquee:hover .marquee__track {
	animation-play-state: paused;
}

@keyframes marquee {
	to {
		transform: translateX(-100%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.marquee {
		-webkit-mask-image: none;
		mask-image: none;
	}

	.marquee__track {
		flex-wrap: wrap;
		justify-content: center;
		min-width: 0;
		width: 100%;
		padding: 0 var(--gutter);
		row-gap: 24px;
		animation: none;
	}

	.marquee__track[aria-hidden="true"],
	.strip__item.is-repeat {
		display: none;
	}
}

.strip__item {
	display: flex;
	align-items: center;
}

.strip__item a {
	display: flex;
}

.strip__logo {
	display: block;
	width: auto;
	max-width: 160px;
	height: 40px;
	object-fit: contain;
}

.strip--clients .strip__logo {
	filter: grayscale(1);
	opacity: 0.7;
	transition: filter 0.3s, opacity 0.3s;
}

.strip--clients .strip__item:hover .strip__logo {
	filter: none;
	opacity: 1;
}

.strip__ph {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	white-space: nowrap;
	font-weight: 800;
}

.strip__ph--tool {
	padding: 10px 18px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: #fff;
	color: var(--ink);
	font-size: 17px;
}

.strip__ph--tool::before {
	content: "";
	width: 10px;
	height: 10px;
	border-radius: 3px;
	background: var(--purple);
}

.strip__ph--client {
	height: 52px;
	padding: 0 22px;
	border: 1.5px dashed #cfc8e6;
	border-radius: 12px;
	color: #8a84a3;
	font-size: 15px;
}

.strip__ph-mark {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #e7e2f6;
}

/* Services ----------------------------------------------------------------- */

.services__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.service {
	display: flex;
	flex-direction: column;
	padding: 30px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--paper);
	transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease);
}

.service:hover {
	border-color: var(--lavender);
	box-shadow: 0 24px 50px rgba(76, 29, 149, 0.1);
	transform: translateY(-3px);
}

.service__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 36px;
}

.service__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 16px;
	background: var(--lavender-soft);
	color: var(--purple);
}

.service__num {
	color: #a49cbf;
	font-size: 15px;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}

.service__title {
	font-size: 23px;
	letter-spacing: -0.015em;
}

.service__text {
	margin-top: 12px;
	color: var(--muted);
	font-size: 16.5px;
}

.service__tag {
	margin-top: auto;
	padding-top: 24px;
	color: var(--purple);
	font-size: 16px;
	font-style: italic;
	font-weight: 600;
}

.service--cta {
	justify-content: flex-end;
	gap: 0;
	border-color: transparent;
	background:
		radial-gradient(90% 80% at 100% 0%, rgba(196, 181, 253, 0.35), transparent 60%),
		var(--purple);
	color: #fff;
}

.service--cta:hover {
	border-color: transparent;
}

.service__kicker {
	margin-bottom: 14px;
	color: var(--lavender);
	font-size: 15px;
	font-style: italic;
	font-weight: 600;
}

.service--cta .service__title {
	font-size: 28px;
}

.service--cta .service__text {
	color: rgba(255, 255, 255, 0.85);
}

.service--cta .btn {
	align-self: flex-start;
	margin-top: 28px;
}

@media (max-width: 1020px) {
	.services__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

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

	.service {
		padding: 26px;
	}
}

/* Process ------------------------------------------------------------------ */

.process {
	position: relative;
	background: var(--ink);
	color: #fff;
	overflow: hidden;
}

.process::before {
	content: "";
	position: absolute;
	right: -10%;
	top: -30%;
	width: 60%;
	height: 120%;
	background: radial-gradient(closest-side, rgba(109, 40, 217, 0.28), transparent);
	pointer-events: none;
}

.process .container {
	position: relative;
}

.process .section__title em {
	color: var(--lavender);
}

.process .section__lead {
	color: var(--muted-dark);
}

.process__steps {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: step;
}

.process__steps::before {
	content: "";
	position: absolute;
	left: 30px;
	right: 30px;
	top: 31px;
	height: 2px;
	background: linear-gradient(90deg, var(--purple), var(--lavender), var(--purple));
	opacity: 0.6;
}

.step {
	position: relative;
	padding: 0 8px 0 0;
}

.step__num {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--ink);
	border: 2px solid var(--lavender);
	color: var(--lavender);
	font-size: 20px;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}

.step__title {
	margin-top: 28px;
	font-size: 28px;
}

.step__text {
	margin-top: 12px;
	max-width: 340px;
	color: var(--muted-dark);
}

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

	.process__steps::before {
		left: 31px;
		right: auto;
		top: 32px;
		bottom: 32px;
		width: 2px;
		height: auto;
		background: linear-gradient(180deg, var(--purple), var(--lavender));
	}

	.step {
		padding-left: 88px;
	}

	.step__num {
		position: absolute;
		left: 0;
		top: 0;
	}

	.step__title {
		margin-top: 14px;
	}
}

/* Pricing ------------------------------------------------------------------ */

.pricing {
	background: var(--paper);
}

.pricing__grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.plan {
	display: flex;
	flex-direction: column;
	flex: 0 1 calc((100% - 40px) / 3);
	padding: 30px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--paper);
	transition: border-color 0.3s, box-shadow 0.3s;
}

.plan:hover {
	border-color: var(--lavender);
	box-shadow: 0 24px 50px rgba(76, 29, 149, 0.1);
}

.plan__num {
	color: var(--purple);
	font-size: 15px;
	font-weight: 800;
}

.plan__title {
	margin-top: 12px;
	font-size: 23px;
	letter-spacing: -0.015em;
}

.plan__list {
	display: grid;
	gap: 10px;
	margin: 22px 0 28px;
	padding: 0;
	list-style: none;
	color: var(--muted);
	font-size: 16px;
}

.plan__list li {
	position: relative;
	padding-left: 28px;
}

.plan__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 4px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--lavender-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236d28d9' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.plan__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-top: auto;
	padding-top: 24px;
	border-top: 1px solid var(--line);
}

.plan__price {
	display: grid;
	line-height: 1.15;
}

.plan__from {
	color: var(--muted);
	font-size: 14px;
	font-weight: 600;
}

.plan__price strong {
	font-size: 36px;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.plan__unit {
	color: var(--muted);
	font-size: 14px;
	font-weight: 600;
}

.plan .btn {
	min-height: 44px;
}

@media (max-width: 1020px) {
	.plan {
		flex-basis: calc((100% - 20px) / 2);
	}
}

@media (max-width: 640px) {
	.plan {
		flex-basis: 100%;
		padding: 26px;
	}
}

/* Contact ------------------------------------------------------------------ */

.contact {
	background: var(--ink);
	color: #fff;
	position: relative;
	overflow: hidden;
}

.contact::before {
	content: "";
	position: absolute;
	left: -15%;
	bottom: -40%;
	width: 60%;
	height: 120%;
	background: radial-gradient(closest-side, rgba(109, 40, 217, 0.3), transparent);
	pointer-events: none;
}

.contact__inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	align-items: start;
	gap: clamp(40px, 6vw, 88px);
}

.contact .section__title em {
	color: var(--lavender);
}

.contact .section__lead {
	color: var(--muted-dark);
}

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

.contact__details span {
	display: block;
	color: var(--muted-dark);
	font-size: 14px;
	font-weight: 600;
}

.contact__details a {
	color: #fff;
	font-size: 22px;
	font-weight: 700;
	text-decoration: none;
	word-break: break-word;
}

.contact__details a:hover {
	color: var(--lavender);
}

.contact__form {
	padding: clamp(24px, 4vw, 40px);
	border-radius: 24px;
	background: var(--paper);
	color: var(--text);
}

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

/* Forms */
.form {
	display: grid;
	gap: 18px;
}

.form__row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

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

.form__field {
	display: grid;
	gap: 6px;
}

.form label {
	font-size: 14px;
	font-weight: 700;
}

.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form input[type="url"],
.form select,
.form textarea {
	width: 100%;
	min-height: 50px;
	padding: 12px 14px;
	border: 1.5px solid var(--line);
	border-radius: var(--radius-sm);
	background: #fbfaff;
	color: var(--text);
	font: inherit;
	font-size: 16px;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.form textarea {
	resize: vertical;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
	outline: none;
	border-color: var(--purple);
	box-shadow: 0 0 0 4px rgba(109, 40, 217, 0.15);
}

.form .btn {
	justify-self: start;
}

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

.form__note {
	padding: 14px 16px;
	border-radius: var(--radius-sm);
	font-weight: 600;
}

.form__note--ok {
	background: #e8f8ee;
	color: #14532d;
}

.form__note--err {
	background: #fdecec;
	color: #7f1d1d;
}

/* Footer ------------------------------------------------------------------- */

.site-footer {
	background: var(--black);
	color: var(--muted-dark);
	padding: 72px 0 32px;
}

.site-footer__top {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr));
	gap: 48px;
}

.site-footer__logo-link {
	display: inline-block;
}

.footer__logo {
	display: block;
	width: 240px;
	height: auto;
}

.site-footer__text {
	margin-top: 22px;
	max-width: 380px;
}

.site-footer__title {
	margin-bottom: 18px;
	color: #fff;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

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

.site-footer__links a {
	color: var(--muted-dark);
	text-decoration: none;
	word-break: break-word;
}

.site-footer__links a:hover {
	color: #fff;
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	margin-top: 56px;
	padding-top: 24px;
	border-top: 1px solid var(--line-dark);
	font-size: 14px;
}

.site-footer__tagline {
	color: var(--lavender);
	font-style: italic;
	letter-spacing: 0.06em;
}

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

	.site-footer__brand {
		grid-column: 1 / -1;
	}
}

/* Inner pages -------------------------------------------------------------- */

.page-hero {
	padding: calc(var(--header-h) + clamp(56px, 8vw, 96px)) 0 clamp(48px, 6vw, 72px);
	background:
		radial-gradient(50% 80% at 85% 0%, rgba(109, 40, 217, 0.35), transparent 70%),
		var(--ink);
	color: #fff;
}

.page-hero__title {
	max-width: 900px;
	font-size: clamp(36px, 5vw, 60px);
}

.page-hero__meta {
	margin-bottom: 14px;
	color: var(--lavender);
	font-weight: 600;
}

.page-hero__text {
	margin: 18px 0 32px;
	color: var(--muted-dark);
	font-size: 19px;
}

.page-hero--404 {
	min-height: 70vh;
	display: flex;
	align-items: center;
}

.entry {
	max-width: 780px;
}

.entry > * + * {
	margin-top: 1.2em;
}

.entry h2 {
	margin-top: 1.8em;
	font-size: 32px;
}

.entry h3 {
	margin-top: 1.6em;
	font-size: 24px;
}

.entry img {
	border-radius: var(--radius-sm);
}

.entry blockquote {
	margin-left: 0;
	padding-left: 20px;
	border-left: 3px solid var(--purple);
	font-style: italic;
}

.entry__media {
	margin: 0 0 32px;
}

.entry .wp-block-button__link {
	border-radius: 999px;
	background: var(--purple);
	font-weight: 700;
}

.post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 24px;
}

.post-card {
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	transition: box-shadow 0.3s, transform 0.3s var(--ease);
}

.post-card:hover {
	box-shadow: 0 20px 40px rgba(76, 29, 149, 0.1);
	transform: translateY(-3px);
}

.post-card__media img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.post-card__body {
	padding: 24px;
}

.post-card__meta {
	color: var(--muted);
	font-size: 14px;
}

.post-card__title {
	margin-top: 8px;
	font-size: 22px;
}

.post-card__title a {
	color: var(--text);
	text-decoration: none;
}

.post-card__excerpt {
	margin-top: 10px;
	color: var(--muted);
	font-size: 16px;
}

.navigation.pagination {
	margin-top: 48px;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.nav-links .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--text);
	font-weight: 700;
	text-decoration: none;
}

.nav-links .page-numbers.current {
	background: var(--ink);
	border-color: var(--ink);
	color: #fff;
}

.post-navigation .nav-links {
	justify-content: space-between;
	margin-top: 48px;
	padding-top: 24px;
	border-top: 1px solid var(--line);
}

.post-navigation span {
	display: block;
	color: var(--muted);
	font-size: 14px;
}
