/* ==========================================================================
   PlanWise — design system
   Violet #5B4BE0 · Ink #111318 · Violet tint #F2F0FE · Grey #8A8F98 · Poppins
   ========================================================================== */

:root {
	/* Brand */
	--pw-violet: #5b4be0;
	--pw-violet-600: #4f3fd4;
	--pw-violet-700: #4133b4;
	--pw-violet-300: #a79ef0;
	--pw-violet-tint: #f2f0fe;
	--pw-violet-tint-2: #e7e3fd;
	--pw-ink: #111318;
	--pw-ink-800: #1c1f27;
	--pw-ink-700: #2b2f3a;
	--pw-grey: #8a8f98;
	--pw-grey-400: #aeb3bb;
	--pw-line: #e6e8ec;
	--pw-white: #ffffff;
	--pw-off: #fafafb;

	/* Semantic */
	--pw-text: var(--pw-ink);
	--pw-text-muted: #5d636e;
	--pw-text-subtle: var(--pw-grey);
	--pw-bg: var(--pw-white);
	--pw-surface: var(--pw-violet-tint);

	/* Type scale */
	--pw-font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--pw-h1: clamp(2.25rem, 1.35rem + 3.9vw, 4rem);
	--pw-h2: clamp(1.75rem, 1.25rem + 2.1vw, 2.75rem);
	--pw-h3: clamp(1.25rem, 1.06rem + 0.8vw, 1.6rem);
	--pw-lead: clamp(1.02rem, 0.96rem + 0.28vw, 1.18rem);

	/* Layout */
	--pw-container: 1200px;
	--pw-container-narrow: 860px;
	--pw-gutter: clamp(1.25rem, 0.9rem + 1.6vw, 2.5rem);
	--pw-section-y: clamp(4rem, 2.6rem + 5.6vw, 7.5rem);

	/* Radii + shadow */
	--pw-radius-sm: 10px;
	--pw-radius: 16px;
	--pw-radius-lg: 24px;
	--pw-radius-xl: 32px;
	--pw-shadow-sm: 0 1px 2px rgba(17, 19, 24, 0.06), 0 2px 8px rgba(17, 19, 24, 0.04);
	--pw-shadow: 0 4px 12px rgba(17, 19, 24, 0.06), 0 12px 32px rgba(17, 19, 24, 0.07);
	--pw-shadow-lg: 0 8px 24px rgba(17, 19, 24, 0.08), 0 28px 64px rgba(17, 19, 24, 0.12);
	--pw-shadow-violet: 0 10px 24px rgba(91, 75, 224, 0.22), 0 2px 6px rgba(91, 75, 224, 0.14);

	--pw-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   Reset / base
   -------------------------------------------------------------------------- */

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

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

body {
	margin: 0;
	font-family: var(--pw-font);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.65;
	color: var(--pw-text);
	background: var(--pw-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 0.6em;
	font-weight: 600;
	line-height: 1.18;
	letter-spacing: -0.02em;
	color: var(--pw-ink);
}

h1 { font-size: var(--pw-h1); letter-spacing: -0.035em; }
h2 { font-size: var(--pw-h2); letter-spacing: -0.03em; }
h3 { font-size: var(--pw-h3); }
h4 { font-size: 1.125rem; }

p { margin: 0 0 1.15rem; }
p:last-child { margin-bottom: 0; }

a {
	color: var(--pw-violet);
	text-decoration: none;
	transition: color 0.2s var(--pw-ease), opacity 0.2s var(--pw-ease);
}

a:hover { color: var(--pw-violet-700); }

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

ul, ol { margin: 0 0 1.15rem; padding-left: 1.25rem; }
li { margin-bottom: 0.4rem; }

strong, b { font-weight: 600; }

hr {
	border: 0;
	border-top: 1px solid var(--pw-line);
	margin: 2.5rem 0;
}

:focus-visible {
	outline: 3px solid var(--pw-violet);
	outline-offset: 3px;
	border-radius: 4px;
}

::selection {
	background: var(--pw-violet);
	color: #fff;
}

/* --------------------------------------------------------------------------
   Layout helpers
   -------------------------------------------------------------------------- */

.pw-container {
	width: 100%;
	max-width: var(--pw-container);
	margin-inline: auto;
	padding-inline: var(--pw-gutter);
}

.pw-container--narrow { max-width: var(--pw-container-narrow); }

.pw-section { padding-block: var(--pw-section-y); }
.pw-section--tight { padding-block: clamp(3rem, 2rem + 4vw, 5rem); }
.pw-section--tint { background: var(--pw-violet-tint); }
.pw-section--off { background: var(--pw-off); }

.pw-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;
}

.pw-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 999;
	padding: 0.85rem 1.4rem;
	background: var(--pw-ink);
	color: #fff;
	border-radius: 0 0 var(--pw-radius-sm) 0;
	font-weight: 500;
}

.pw-skip-link:focus {
	left: 0;
	color: #fff;
}

/* --------------------------------------------------------------------------
   Section headings
   -------------------------------------------------------------------------- */

.pw-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1rem;
	padding: 0.4rem 0.9rem;
	border-radius: 999px;
	background: var(--pw-violet-tint);
	color: var(--pw-violet-700);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.pw-eyebrow::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--pw-violet);
}

.pw-section-head {
	max-width: 720px;
	margin-bottom: clamp(2.5rem, 1.8rem + 2.6vw, 4rem);
}

.pw-section-head--center {
	margin-inline: auto;
	text-align: center;
}

.pw-section-head p {
	font-size: var(--pw-lead);
	color: var(--pw-text-muted);
	margin-bottom: 0;
}

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

.pw-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	padding: 0.9rem 1.6rem;
	border: 1px solid transparent;
	border-radius: 999px;
	font-family: inherit;
	font-size: 0.97rem;
	font-weight: 500;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
	transition: transform 0.2s var(--pw-ease), box-shadow 0.2s var(--pw-ease),
		background-color 0.2s var(--pw-ease), color 0.2s var(--pw-ease), border-color 0.2s var(--pw-ease);
}

.pw-btn svg { flex: none; }

.pw-btn:hover { transform: translateY(-2px); }
.pw-btn:active { transform: translateY(0); }

.pw-btn--primary {
	background: var(--pw-violet);
	color: #fff;
	box-shadow: var(--pw-shadow-violet);
}

.pw-btn--primary:hover {
	background: var(--pw-violet-600);
	color: #fff;
	box-shadow: 0 14px 30px rgba(91, 75, 224, 0.3), 0 3px 8px rgba(91, 75, 224, 0.18);
}

.pw-btn--ghost {
	background: #fff;
	color: var(--pw-ink);
	border-color: var(--pw-line);
	box-shadow: var(--pw-shadow-sm);
}

.pw-btn--ghost:hover {
	color: var(--pw-violet-700);
	border-color: var(--pw-violet-300);
	background: #fff;
}

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

.pw-btn--onDark:hover { background: #fff; color: var(--pw-violet-700); }

.pw-btn--outlineLight {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.35);
}

.pw-btn--outlineLight:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.6);
}

.pw-btn--sm { padding: 0.65rem 1.2rem; font-size: 0.9rem; }
.pw-btn--lg { padding: 1.05rem 2rem; font-size: 1.02rem; }

.pw-btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
}

/* Text link with arrow */
.pw-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-weight: 500;
	font-size: 0.95rem;
	color: var(--pw-violet);
}

.pw-link-arrow svg {
	transition: transform 0.2s var(--pw-ease);
}

.pw-link-arrow:hover svg { transform: translateX(4px); }

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

.pw-header {
	position: sticky;
	top: 0;
	z-index: 100;
	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.25s var(--pw-ease), box-shadow 0.25s var(--pw-ease),
		background-color 0.25s var(--pw-ease);
}

.pw-header.is-stuck {
	border-bottom-color: var(--pw-line);
	box-shadow: 0 1px 20px rgba(17, 19, 24, 0.06);
}

.pw-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: 78px;
}

.pw-brand {
	display: inline-flex;
	align-items: center;
	flex: none;
}

.pw-brand img,
.pw-brand svg { height: 38px; width: auto; }

.pw-brand__fallback {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font-size: 1.35rem;
	font-weight: 600;
	letter-spacing: -0.03em;
	color: var(--pw-ink);
}

.pw-nav { margin-left: auto; }

.pw-nav__list {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pw-nav__list li { margin: 0; position: relative; }

.pw-nav__list a {
	display: block;
	padding: 0.6rem 0.95rem;
	border-radius: var(--pw-radius-sm);
	color: var(--pw-ink);
	font-size: 0.95rem;
	font-weight: 500;
}

.pw-nav__list a:hover,
.pw-nav__list .current-menu-item > a,
.pw-nav__list .current_page_item > a,
.pw-nav__list .current-menu-ancestor > a {
	color: var(--pw-violet-700);
	background: var(--pw-violet-tint);
}

/* Dropdowns */
.pw-nav__list .menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	width: 7px;
	height: 7px;
	margin-left: 0.45rem;
	border-right: 1.8px solid currentColor;
	border-bottom: 1.8px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
	opacity: 0.6;
}

.pw-nav__list ul.sub-menu {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	min-width: 268px;
	margin: 0;
	padding: 0.5rem;
	list-style: none;
	background: #fff;
	border: 1px solid var(--pw-line);
	border-radius: var(--pw-radius);
	box-shadow: var(--pw-shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.2s var(--pw-ease), transform 0.2s var(--pw-ease), visibility 0.2s;
}

.pw-nav__list li:hover > ul.sub-menu,
.pw-nav__list li:focus-within > ul.sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.pw-nav__list ul.sub-menu a {
	padding: 0.6rem 0.8rem;
	font-size: 0.92rem;
	font-weight: 400;
	color: var(--pw-text-muted);
}

.pw-nav__list ul.sub-menu a:hover {
	color: var(--pw-violet-700);
	background: var(--pw-violet-tint);
}

.pw-header__cta { flex: none; }

/* Burger */
.pw-burger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 0;
	background: transparent;
	border: 1px solid var(--pw-line);
	border-radius: var(--pw-radius-sm);
	cursor: pointer;
}

.pw-burger span {
	display: block;
	width: 20px;
	height: 2px;
	margin-inline: auto;
	background: var(--pw-ink);
	border-radius: 2px;
	transition: transform 0.25s var(--pw-ease), opacity 0.2s var(--pw-ease);
}

.pw-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.pw-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.pw-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 991px) {
	.pw-burger { display: flex; }
	.pw-header__cta { display: none; }

	.pw-nav {
		position: fixed;
		inset: 78px 0 auto 0;
		max-height: calc(100dvh - 78px);
		overflow-y: auto;
		margin: 0;
		padding: 1rem var(--pw-gutter) 2rem;
		background: #fff;
		border-bottom: 1px solid var(--pw-line);
		box-shadow: var(--pw-shadow-lg);
		transform: translateY(-12px);
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.25s var(--pw-ease), transform 0.25s var(--pw-ease), visibility 0.25s;
	}

	.pw-nav.is-open {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
	}

	.pw-nav__list {
		flex-direction: column;
		align-items: stretch;
		gap: 0.15rem;
	}

	.pw-nav__list a {
		padding: 0.85rem 0.9rem;
		font-size: 1.02rem;
	}

	.pw-nav__list ul.sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: 0;
		border-left: 2px solid var(--pw-violet-tint-2);
		border-radius: 0;
		margin-left: 0.9rem;
		padding: 0.15rem 0 0.15rem 0.5rem;
		min-width: 0;
	}

	.pw-nav__mobile-cta {
		display: block;
		margin-top: 1rem;
	}

	.pw-nav__mobile-cta .pw-btn { width: 100%; }
}

@media (min-width: 992px) {
	.pw-nav__mobile-cta { display: none; }
}

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

.pw-hero {
	position: relative;
	padding-block: clamp(3.5rem, 2rem + 6vw, 6.5rem) clamp(3.5rem, 2rem + 5vw, 6rem);
	background:
		radial-gradient(760px 460px at 88% -8%, rgba(91, 75, 224, 0.13), transparent 62%),
		radial-gradient(620px 420px at -6% 8%, rgba(91, 75, 224, 0.08), transparent 60%),
		var(--pw-white);
	overflow: hidden;
}

.pw-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(91, 75, 224, 0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(91, 75, 224, 0.045) 1px, transparent 1px);
	background-size: 56px 56px;
	-webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 72%);
	mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 72%);
	pointer-events: none;
	z-index: 0;
}

.pw-hero > * { position: relative; z-index: 1; }

.pw-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	align-items: center;
	gap: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
}

.pw-hero h1 { margin-bottom: 1.25rem; }

.pw-hero h1 .pw-accent {
	background: linear-gradient(100deg, var(--pw-violet) 10%, #8b7bf0 90%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.pw-hero__lead {
	font-size: clamp(1.05rem, 0.98rem + 0.36vw, 1.25rem);
	color: var(--pw-text-muted);
	max-width: 56ch;
	margin-bottom: 2rem;
}

.pw-hero__art { position: relative; }

.pw-hero__art img,
.pw-hero__art svg {
	width: 100%;
	height: auto;
	filter: drop-shadow(0 30px 60px rgba(17, 19, 24, 0.13));
}

/* Trust strip under hero */
.pw-hero__trust {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.6rem 1.75rem;
	margin-top: 2.5rem;
	padding-top: 1.75rem;
	border-top: 1px solid var(--pw-line);
}

.pw-hero__trust span {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--pw-text-muted);
}

.pw-hero__trust svg { color: var(--pw-violet); flex: none; }

@media (max-width: 900px) {
	.pw-hero__grid { grid-template-columns: 1fr; }
	.pw-hero__art { order: -1; max-width: 520px; margin-inline: auto; }
}

/* --------------------------------------------------------------------------
   Page hero (inner pages)
   -------------------------------------------------------------------------- */

.pw-page-hero {
	position: relative;
	padding-block: clamp(3rem, 2rem + 4vw, 5rem);
	background:
		radial-gradient(620px 320px at 82% 0%, rgba(91, 75, 224, 0.12), transparent 62%),
		var(--pw-violet-tint);
	border-bottom: 1px solid var(--pw-violet-tint-2);
	text-align: center;
}

.pw-page-hero h1 { margin-bottom: 0.75rem; }

.pw-page-hero p {
	max-width: 62ch;
	margin-inline: auto;
	font-size: var(--pw-lead);
	color: var(--pw-text-muted);
}

.pw-breadcrumb {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1.1rem;
	font-size: 0.86rem;
	color: var(--pw-text-subtle);
}

.pw-breadcrumb a { color: var(--pw-text-muted); font-weight: 500; }
.pw-breadcrumb a:hover { color: var(--pw-violet); }
.pw-breadcrumb span[aria-hidden] { opacity: 0.5; }

/* --------------------------------------------------------------------------
   Cards / services
   -------------------------------------------------------------------------- */

.pw-grid {
	display: grid;
	gap: clamp(1.15rem, 0.9rem + 1vw, 1.75rem);
}

.pw-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pw-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pw-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 980px) {
	.pw-grid--3, .pw-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
	.pw-grid--2, .pw-grid--3, .pw-grid--4 { grid-template-columns: minmax(0, 1fr); }
}

.pw-card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: clamp(1.5rem, 1.2rem + 0.9vw, 2rem);
	background: #fff;
	border: 1px solid var(--pw-line);
	border-radius: var(--pw-radius-lg);
	box-shadow: var(--pw-shadow-sm);
	transition: transform 0.3s var(--pw-ease), box-shadow 0.3s var(--pw-ease),
		border-color 0.3s var(--pw-ease);
	overflow: hidden;
}

.pw-card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 3px;
	background: linear-gradient(90deg, var(--pw-violet), #8b7bf0);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.35s var(--pw-ease);
}

.pw-card:hover {
	transform: translateY(-6px);
	border-color: var(--pw-violet-tint-2);
	box-shadow: var(--pw-shadow-lg);
}

.pw-card:hover::before { transform: scaleX(1); }

.pw-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin-bottom: 1.25rem;
	border-radius: var(--pw-radius);
	background: var(--pw-violet-tint);
	color: var(--pw-violet);
	transition: background-color 0.3s var(--pw-ease), color 0.3s var(--pw-ease);
}

.pw-card:hover .pw-card__icon {
	background: var(--pw-violet);
	color: #fff;
}

.pw-card__icon svg { width: 28px; height: 28px; }

.pw-card h3 { margin-bottom: 0.6rem; }

.pw-card p {
	color: var(--pw-text-muted);
	font-size: 0.96rem;
	margin-bottom: 1.25rem;
}

.pw-card .pw-link-arrow { margin-top: auto; }

/* Whole-card link overlay */
.pw-card__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
}

/* Feature list inside cards */
.pw-card__list {
	margin: 0 0 1.25rem;
	padding: 0;
	list-style: none;
}

.pw-card__list li {
	position: relative;
	padding-left: 1.6rem;
	margin-bottom: 0.5rem;
	font-size: 0.93rem;
	color: var(--pw-text-muted);
}

.pw-card__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 9px;
	height: 5px;
	border-left: 2px solid var(--pw-violet);
	border-bottom: 2px solid var(--pw-violet);
	transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Process (Plan → Design → Build → Deploy)
   -------------------------------------------------------------------------- */

.pw-process {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(1.15rem, 0.8rem + 1.2vw, 1.75rem);
	counter-reset: pw-step;
}

.pw-process__step {
	position: relative;
	padding: clamp(1.5rem, 1.2rem + 0.8vw, 2rem);
	background: #fff;
	border: 1px solid var(--pw-line);
	border-radius: var(--pw-radius-lg);
	box-shadow: var(--pw-shadow-sm);
	counter-increment: pw-step;
	transition: transform 0.3s var(--pw-ease), box-shadow 0.3s var(--pw-ease);
}

.pw-process__step:hover {
	transform: translateY(-5px);
	box-shadow: var(--pw-shadow);
}

/* Connector line between steps */
.pw-process__step::after {
	content: "";
	position: absolute;
	top: calc(clamp(1.5rem, 1.2rem + 0.8vw, 2rem) + 22px);
	right: calc(clamp(1.15rem, 0.8rem + 1.2vw, 1.75rem) * -1);
	width: clamp(1.15rem, 0.8rem + 1.2vw, 1.75rem);
	height: 2px;
	background: repeating-linear-gradient(90deg, var(--pw-violet-300) 0 6px, transparent 6px 12px);
}

.pw-process__step:last-child::after { display: none; }

.pw-process__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-bottom: 1.1rem;
	border-radius: 14px;
	background: var(--pw-ink);
	color: #fff;
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: 0;
}

.pw-process__num::before {
	content: "0" counter(pw-step);
}

.pw-process__step h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }

.pw-process__step p {
	font-size: 0.93rem;
	color: var(--pw-text-muted);
	margin: 0;
}

@media (max-width: 980px) {
	.pw-process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pw-process__step:nth-child(2)::after { display: none; }
}

@media (max-width: 600px) {
	.pw-process { grid-template-columns: minmax(0, 1fr); }
	.pw-process__step::after { display: none; }
}

/* --------------------------------------------------------------------------
   Stats band
   -------------------------------------------------------------------------- */

.pw-stats {
	position: relative;
	padding-block: clamp(3rem, 2.2rem + 3vw, 4.5rem);
	background:
		radial-gradient(600px 300px at 12% 0%, rgba(91, 75, 224, 0.5), transparent 62%),
		radial-gradient(600px 340px at 88% 100%, rgba(91, 75, 224, 0.36), transparent 62%),
		var(--pw-ink);
	color: #fff;
	overflow: hidden;
}

.pw-stats::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
	background-size: 64px 64px;
	pointer-events: none;
}

.pw-stats > * { position: relative; }

.pw-stats__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(1.5rem, 1rem + 2vw, 2.5rem);
	text-align: center;
}

.pw-stat__value {
	display: block;
	font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.4rem);
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: -0.04em;
	color: #fff;
}

.pw-stat__label {
	display: block;
	margin-top: 0.5rem;
	font-size: 0.92rem;
	color: rgba(255, 255, 255, 0.66);
}

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

/* --------------------------------------------------------------------------
   Split / media sections
   -------------------------------------------------------------------------- */

.pw-split {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: center;
	gap: clamp(2rem, 1.4rem + 3.4vw, 4.5rem);
}

.pw-split--reverse .pw-split__media { order: 2; }

.pw-split__media img,
.pw-split__media svg {
	width: 100%;
	border-radius: var(--pw-radius-lg);
}

@media (max-width: 900px) {
	.pw-split { grid-template-columns: 1fr; }
	.pw-split--reverse .pw-split__media { order: 0; }
}

/* Why-us list */
.pw-why {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1.25rem, 1rem + 1.2vw, 2rem);
}

.pw-why__item { display: flex; gap: 1rem; }

.pw-why__icon {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: var(--pw-violet-tint);
	color: var(--pw-violet);
}

.pw-why__icon svg { width: 24px; height: 24px; }

.pw-why__item h3 { font-size: 1.08rem; margin-bottom: 0.35rem; }

.pw-why__item p {
	font-size: 0.93rem;
	color: var(--pw-text-muted);
	margin: 0;
}

@media (max-width: 700px) {
	.pw-why { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Tech marquee / logo strip
   -------------------------------------------------------------------------- */

.pw-tech {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.7rem;
}

.pw-tech__pill {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.6rem 1.15rem;
	background: #fff;
	border: 1px solid var(--pw-line);
	border-radius: 999px;
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--pw-text-muted);
	box-shadow: var(--pw-shadow-sm);
	transition: transform 0.2s var(--pw-ease), border-color 0.2s var(--pw-ease), color 0.2s var(--pw-ease);
}

.pw-tech__pill:hover {
	transform: translateY(-3px);
	border-color: var(--pw-violet-300);
	color: var(--pw-violet-700);
}

.pw-tech__pill span[aria-hidden] {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--pw-violet);
	opacity: 0.55;
}

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */

.pw-quote {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: clamp(1.75rem, 1.4rem + 1.2vw, 2.4rem);
	background: #fff;
	border: 1px solid var(--pw-line);
	border-radius: var(--pw-radius-lg);
	box-shadow: var(--pw-shadow-sm);
}

.pw-quote__stars {
	display: flex;
	gap: 3px;
	margin-bottom: 1rem;
	color: #f5a623;
}

.pw-quote__stars svg { width: 18px; height: 18px; }

.pw-quote blockquote {
	margin: 0 0 1.5rem;
	font-size: 1.02rem;
	line-height: 1.7;
	color: var(--pw-text);
}

.pw-quote__author {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	margin-top: auto;
}

.pw-quote__avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	flex: none;
	border-radius: 50%;
	background: var(--pw-violet-tint);
	color: var(--pw-violet-700);
	font-weight: 600;
	font-size: 0.95rem;
	letter-spacing: 0.02em;
}

.pw-quote__name { font-weight: 600; font-size: 0.95rem; }
.pw-quote__role { font-size: 0.86rem; color: var(--pw-text-subtle); }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.pw-cta {
	position: relative;
	padding-block: clamp(3.25rem, 2.4rem + 3.4vw, 5rem);
	background: linear-gradient(120deg, var(--pw-violet-700) 0%, var(--pw-violet) 55%, #7a6bea 100%);
	color: #fff;
	overflow: hidden;
}

.pw-cta::before {
	content: "";
	position: absolute;
	top: -40%;
	right: -10%;
	width: 620px;
	height: 620px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 62%);
	pointer-events: none;
}

.pw-cta > * { position: relative; }

.pw-cta__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 2rem;
}

.pw-cta h2 { color: #fff; margin-bottom: 0.6rem; max-width: 20ch; }

.pw-cta p {
	color: rgba(255, 255, 255, 0.82);
	font-size: var(--pw-lead);
	margin: 0;
	max-width: 52ch;
}

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

.pw-contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
	gap: clamp(2rem, 1.4rem + 3vw, 4rem);
	align-items: start;
}

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

.pw-contact-item {
	display: flex;
	gap: 1rem;
	padding: 1.25rem 0;
	border-bottom: 1px solid var(--pw-line);
}

.pw-contact-item:last-of-type { border-bottom: 0; }

.pw-contact-item__icon {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 14px;
	background: var(--pw-violet-tint);
	color: var(--pw-violet);
}

.pw-contact-item__icon svg { width: 22px; height: 22px; }

.pw-contact-item h3 {
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--pw-text-subtle);
	margin-bottom: 0.3rem;
}

.pw-contact-item a,
.pw-contact-item address {
	font-size: 1.02rem;
	font-style: normal;
	font-weight: 500;
	color: var(--pw-ink);
	line-height: 1.5;
}

.pw-contact-item a:hover { color: var(--pw-violet); }

/* Form */
.pw-form {
	padding: clamp(1.5rem, 1.2rem + 1.4vw, 2.5rem);
	background: #fff;
	border: 1px solid var(--pw-line);
	border-radius: var(--pw-radius-lg);
	box-shadow: var(--pw-shadow);
}

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

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

.pw-field { margin-bottom: 1.1rem; }

.pw-field label {
	display: block;
	margin-bottom: 0.45rem;
	font-size: 0.88rem;
	font-weight: 500;
	color: var(--pw-ink);
}

.pw-field .pw-req { color: var(--pw-violet); }

.pw-field input,
.pw-field select,
.pw-field textarea {
	width: 100%;
	padding: 0.85rem 1rem;
	font-family: inherit;
	font-size: 0.97rem;
	color: var(--pw-ink);
	background: var(--pw-off);
	border: 1px solid var(--pw-line);
	border-radius: var(--pw-radius-sm);
	transition: border-color 0.2s var(--pw-ease), box-shadow 0.2s var(--pw-ease), background-color 0.2s var(--pw-ease);
}

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

.pw-field input:focus,
.pw-field select:focus,
.pw-field textarea:focus {
	outline: none;
	background: #fff;
	border-color: var(--pw-violet);
	box-shadow: 0 0 0 4px rgba(91, 75, 224, 0.14);
}

.pw-field input::placeholder,
.pw-field textarea::placeholder { color: var(--pw-grey-400); }

.pw-form__consent {
	display: flex;
	align-items: flex-start;
	gap: 0.7rem;
	margin-bottom: 1.4rem;
	font-size: 0.86rem;
	color: var(--pw-text-muted);
}

.pw-form__consent input {
	width: auto;
	margin-top: 0.2rem;
	flex: none;
	accent-color: var(--pw-violet);
}

.pw-form .pw-btn { width: 100%; }

.pw-notice {
	padding: 0.95rem 1.15rem;
	margin-bottom: 1.25rem;
	border-radius: var(--pw-radius-sm);
	font-size: 0.93rem;
	border: 1px solid transparent;
}

.pw-notice--ok {
	background: #eaf7ef;
	border-color: #bfe5cd;
	color: #1c6b3a;
}

.pw-notice--error {
	background: #fdeced;
	border-color: #f6c3c7;
	color: #a32330;
}

/* Honeypot */
.pw-hp {
	position: absolute !important;
	left: -9999px;
	opacity: 0;
	height: 0;
	width: 0;
	overflow: hidden;
}

/* --------------------------------------------------------------------------
   FAQ / accordion
   -------------------------------------------------------------------------- */

.pw-faq { max-width: 820px; margin-inline: auto; }

.pw-faq__item {
	border: 1px solid var(--pw-line);
	border-radius: var(--pw-radius);
	background: #fff;
	margin-bottom: 0.85rem;
	overflow: hidden;
	transition: border-color 0.2s var(--pw-ease), box-shadow 0.2s var(--pw-ease);
}

.pw-faq__item[open] {
	border-color: var(--pw-violet-tint-2);
	box-shadow: var(--pw-shadow-sm);
}

.pw-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.15rem 1.35rem;
	font-weight: 500;
	font-size: 1rem;
	cursor: pointer;
	list-style: none;
	color: var(--pw-ink);
}

.pw-faq__item summary::-webkit-details-marker { display: none; }

.pw-faq__item summary::after {
	content: "";
	flex: none;
	width: 10px;
	height: 10px;
	border-right: 2px solid var(--pw-violet);
	border-bottom: 2px solid var(--pw-violet);
	transform: rotate(45deg) translateY(-2px);
	transition: transform 0.25s var(--pw-ease);
}

.pw-faq__item[open] summary::after { transform: rotate(-135deg) translateY(-2px); }

.pw-faq__body {
	padding: 0 1.35rem 1.35rem;
	color: var(--pw-text-muted);
	font-size: 0.96rem;
}

/* --------------------------------------------------------------------------
   Content / editor styles
   -------------------------------------------------------------------------- */

.pw-content > *:first-child { margin-top: 0; }
.pw-content h2 { margin-top: 2.5rem; }
.pw-content h3 { margin-top: 2rem; }
.pw-content p, .pw-content li { color: var(--pw-text-muted); }
.pw-content ul, .pw-content ol { padding-left: 1.35rem; }

.pw-content blockquote {
	margin: 2rem 0;
	padding: 1.25rem 1.5rem;
	border-left: 3px solid var(--pw-violet);
	background: var(--pw-violet-tint);
	border-radius: 0 var(--pw-radius) var(--pw-radius) 0;
}

.pw-content blockquote p:last-child { margin-bottom: 0; }

.pw-content table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 1.5rem;
}

.pw-content th, .pw-content td {
	padding: 0.75rem 1rem;
	border: 1px solid var(--pw-line);
	text-align: left;
}

.pw-content th { background: var(--pw-violet-tint); font-weight: 600; }

.pw-content img { border-radius: var(--pw-radius); }

.pw-content code {
	padding: 0.15em 0.4em;
	background: var(--pw-violet-tint);
	border-radius: 5px;
	font-size: 0.9em;
}

/* WP core alignment classes */
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { margin-inline: auto; }
.alignwide { max-width: 1100px; margin-inline: auto; }
.alignfull { max-width: none; }

.wp-caption { max-width: 100%; }
.wp-caption-text, figcaption {
	font-size: 0.86rem;
	color: var(--pw-text-subtle);
	text-align: center;
	margin-top: 0.5rem;
}

.sticky, .gallery-caption, .bypostauthor { display: block; }

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

.pw-footer {
	position: relative;
	padding-top: clamp(3.5rem, 2.6rem + 3.4vw, 5rem);
	background: var(--pw-ink);
	color: rgba(255, 255, 255, 0.68);
	font-size: 0.94rem;
}

.pw-footer__grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
	gap: clamp(2rem, 1.4rem + 2.4vw, 3.5rem);
	padding-bottom: 3rem;
}

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

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

.pw-footer__brand img { height: 40px; width: auto; margin-bottom: 1.25rem; }

.pw-footer__brand p { max-width: 38ch; margin-bottom: 1.5rem; }

.pw-footer h3 {
	margin-bottom: 1.1rem;
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #fff;
}

.pw-footer ul { list-style: none; margin: 0; padding: 0; }
.pw-footer li { margin-bottom: 0.7rem; }

.pw-footer a { color: rgba(255, 255, 255, 0.68); }
.pw-footer a:hover { color: #fff; }

.pw-footer__contact li {
	display: flex;
	gap: 0.7rem;
	align-items: flex-start;
}

.pw-footer__contact svg {
	flex: none;
	width: 18px;
	height: 18px;
	margin-top: 3px;
	color: var(--pw-violet-300);
}

.pw-footer__contact address { font-style: normal; }

.pw-social {
	display: flex;
	gap: 0.55rem;
}

.pw-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.07);
	color: #fff;
	transition: background-color 0.2s var(--pw-ease), transform 0.2s var(--pw-ease);
}

.pw-social a:hover {
	background: var(--pw-violet);
	transform: translateY(-2px);
}

.pw-social svg { width: 18px; height: 18px; }

.pw-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
	padding-block: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 0.87rem;
}

.pw-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 1.4rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.pw-footer__legal li { margin: 0; }

/* Back to top */
.pw-top {
	position: fixed;
	right: clamp(1rem, 0.6rem + 1.2vw, 2rem);
	bottom: clamp(1rem, 0.6rem + 1.2vw, 2rem);
	z-index: 90;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border: 0;
	border-radius: 50%;
	background: var(--pw-violet);
	color: #fff;
	cursor: pointer;
	box-shadow: var(--pw-shadow-violet);
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity 0.25s var(--pw-ease), transform 0.25s var(--pw-ease), visibility 0.25s,
		background-color 0.2s var(--pw-ease);
}

.pw-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.pw-top:hover { background: var(--pw-violet-700); }

/* --------------------------------------------------------------------------
   Pagination / posts
   -------------------------------------------------------------------------- */

.pw-pagination {
	display: flex;
	justify-content: center;
	gap: 0.4rem;
	margin-top: 3rem;
}

.pw-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding-inline: 0.7rem;
	border: 1px solid var(--pw-line);
	border-radius: var(--pw-radius-sm);
	color: var(--pw-text-muted);
	font-weight: 500;
	font-size: 0.93rem;
	background: #fff;
}

.pw-pagination .page-numbers:hover,
.pw-pagination .page-numbers.current {
	background: var(--pw-violet);
	border-color: var(--pw-violet);
	color: #fff;
}

.pw-post-card__thumb {
	margin: calc(clamp(1.5rem, 1.2rem + 0.9vw, 2rem) * -1) calc(clamp(1.5rem, 1.2rem + 0.9vw, 2rem) * -1) 1.35rem;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--pw-violet-tint);
}

.pw-post-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s var(--pw-ease);
}

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

.pw-meta {
	font-size: 0.84rem;
	color: var(--pw-text-subtle);
	margin-bottom: 0.6rem;
}

/* 404 */
.pw-404 { text-align: center; padding-block: clamp(4rem, 3rem + 5vw, 7rem); }
.pw-404__code {
	font-size: clamp(4.5rem, 3rem + 8vw, 9rem);
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.05em;
	background: linear-gradient(100deg, var(--pw-violet), #8b7bf0);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   Reveal-on-scroll
   -------------------------------------------------------------------------- */

.pw-reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.6s var(--pw-ease), transform 0.6s var(--pw-ease);
}

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

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

	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}

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

/* --------------------------------------------------------------------------
   Print
   -------------------------------------------------------------------------- */

@media print {
	.pw-header, .pw-footer, .pw-cta, .pw-top, .pw-burger { display: none !important; }
	body { color: #000; }
	.pw-section { padding-block: 1rem; }
}
