:root {
	--bg: #12041f;
	--ink: #f6f3ff;
	--muted: #c3b9d4;
	--line: rgba(255, 255, 255, 0.09);
	--card: rgba(255, 255, 255, 0.035);
	--accent: #7b66f2;
	--accent-strong: #6c4ef5; /* Filled buttons: white text passes 4.5:1 */
	--accent-2: #8f7cff;
	--purple: #561083;
	--lime: #a3b200;
	--radius: 24px;
	--wrap: 1280px;
	--header: 76px;
	--font: "Inter", "Segoe UI", system-ui, sans-serif;
	--display: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.6;
	overflow-x: hidden;
	position: relative;
}
main, .site-footer { position: relative; z-index: 1; }

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

a { color: inherit; }

button,
input,
textarea { font: inherit; }

h1, h2, h3, h4, p { margin: 0; }

h1, h2, h3, h4 {
	font-family: var(--display);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.15;
}

body { -webkit-font-smoothing: antialiased; font-feature-settings: "cv11", "ss01"; }

.wrap {
	width: min(var(--wrap), calc(100% - 40px));
	margin-inline: auto;
}

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

.skip:focus {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 100;
	width: auto;
	height: auto;
	margin: 0;
	padding: 8px 12px;
	clip: auto;
	background: #fff;
	color: #111;
}

.icon { width: 1.15em; height: 1.15em; display: block; }

.kicker {
	margin: 0 0 14px;
	color: var(--accent-2);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.lede {
	color: var(--ink);
	font-size: 20px;
	max-width: 52rem;
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 45px;
	padding: 0 22px;
	border-radius: 12px;
	border: 1px solid transparent;
	text-decoration: none;
	font-family: var(--display);
	font-weight: 600;
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
	transition: filter 0.15s, background 0.15s;
}
.btn:disabled, .btn[aria-disabled="true"] { cursor: not-allowed; }
.btn .icon { width: 1em; height: 1em; }
.btn--lg { min-height: 52px; padding: 0 30px; border-radius: 999px; font-size: 18px; }

.btn--solid { background: var(--accent-strong, var(--accent)); color: #fff; }
.btn--solid:hover { filter: brightness(1.1); }

.btn--ghost {
	background: rgba(255, 255, 255, 0.04);
	border-color: var(--line);
	color: var(--ink);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.09); }

.btn--white { background: #fff; color: #17082a; border-radius: 999px; min-height: 50px; }
.btn--grey { background: rgba(255, 255, 255, 0.5); color: #2b1442; border-radius: 999px; min-height: 50px; }
.btn--white:hover,
.btn--grey:hover { filter: brightness(0.95); }

.card {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

/* Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	background: linear-gradient(180deg, #000 70%, rgba(0, 0, 0, 0));
}

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

.announce-wrap {
	display: grid;
	grid-template-rows: 1fr;
	transition: grid-template-rows 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}
.announce-wrap__in { min-height: 0; overflow: hidden; }
.announce-wrap.is-closing { grid-template-rows: 0fr; }
.announce-wrap.is-closing .announce { transform: translateY(-120%); }
.announce-closed .announce-wrap { display: none; }

/* Scroll-away: the bar lifts out of the top as you leave the very top of the page,
   and it only comes back once you are at the real top again (never on the way up). */
.announce-wrap.is-away {
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.45s cubic-bezier(0.65, 0, 0.35, 1);
}
.announce-wrap.is-away .announce { transform: translateY(-120%); }
.announce-wrap.is-away .announce__close { pointer-events: none; }

.announce {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	padding: 10px 52px;
	background: var(--lime);
	color: #10120a;
	font-size: 15px;
	font-weight: 500;
	text-align: center;
	transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.announce__close {
	position: absolute;
	right: 10px;
	top: 50%;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	margin-top: -15px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: inherit;
	cursor: pointer;
	transition: background 0.15s;
}
.announce__close:hover { background: rgba(0, 0, 0, 0.12); }
.announce__close .icon { width: 16px; height: 16px; }

.pill {
	display: inline-flex;
	align-items: center;
	height: 20px;
	padding: 0 8px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.78);
	color: #e9f27a;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.bar { position: relative; background: transparent; }

.bar__inner {
	width: min(var(--wrap), calc(100% - 40px));
	margin-inline: auto;
	min-height: var(--header);
	display: flex;
	align-items: center;
	gap: 28px;
}
.header-full .bar__inner {
	width: 100%;
	max-width: none;
	padding-left: min(var(--header-pad-l, 40px), 8vw);
	padding-right: min(var(--header-pad-r, 40px), 8vw);
}

.brand { display: flex; align-items: center; text-decoration: none; }
.brand img,
.brand .custom-logo { height: var(--logo-h, 38px); width: auto; display: block; }

.nav { margin-left: auto; margin-right: auto; }
.nav__list,
.nav .menu {
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.nav__link,
.nav .menu a {
	position: relative;
	display: block;
	padding: 10px 14px;
	border-radius: 999px;
	color: #fff;
	text-decoration: none;
	font-family: var(--display);
	font-size: 16px;
	font-weight: 500;
	transition: color 0.25s ease, background 0.25s ease;
}
.nav__link::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 4px;
	width: 0;
	height: 2px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--accent), #d9b9ff);
	transform: translateX(-50%);
	transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav__item:hover > .nav__link,
.nav__item.is-open > .nav__link,
.nav__link:focus-visible,
.nav .menu a:hover { color: #cdbfff; background: rgba(123, 102, 242, 0.14); }
.nav__item:hover > .nav__link::after,
.nav__item.is-open > .nav__link::after,
.nav__link:focus-visible::after { width: calc(100% - 28px); }
.nav__item.is-current > .nav__link { color: var(--accent-2); }
.nav__item.is-current > .nav__link::after { width: calc(100% - 28px); }

.bar__actions { display: flex; align-items: center; gap: 8px; }

.nav-toggle {
	display: none;
	width: 44px;
	height: 44px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: transparent;
	color: var(--ink);
	cursor: pointer;
}
.nav-toggle__close { display: none; }
body.nav-open .nav-toggle__open { display: none; }
body.nav-open .nav-toggle__close { display: block; }

/* Hero */
.hero {
	position: relative;
	margin-top: -76px;
	padding: 150px 0 0;
	overflow: hidden;
	text-align: center;
	background: linear-gradient(180deg, #000 0, #000 45%, transparent 100%);
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 860px;
	pointer-events: none;
	background: url("../img/hero-bg.jpg") center top / cover no-repeat;
	-webkit-mask: linear-gradient(180deg, #000 55%, transparent);
	mask: linear-gradient(180deg, #000 55%, transparent);
	/* scroll parallax (--py is set from main.js) */
	transform: translate3d(0, calc(var(--py, 0) * 0.4px), 0);
	/* slow ambient drift on top, via the separate scale/translate/rotate properties */
	scale: 1.08;
	animation: hero-drift 26s ease-in-out infinite alternate;
	will-change: transform;
}
.hero > * { position: relative; }
@keyframes hero-drift {
	0% { scale: 1.08; translate: -1.5% 0; rotate: 0deg; }
	100% { scale: 1.2; translate: 2% -2.5%; rotate: 1.2deg; }
}

.hero__copy { position: relative; }
.hero__sub {
	margin-bottom: 8px;
	font-family: var(--display);
	font-size: clamp(18px, 2vw, 24px);
	font-weight: 500;
}
.hero h1 {
	max-width: 22ch;
	margin: 0 auto;
	font-size: clamp(40px, 6.4vw, 86px);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.08;
	background: linear-gradient(90deg, #4c3f8f 0%, #8d78d9 28%, #d9b9ff 55%, #f1e7ff 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	text-wrap: balance;
}
.hero__swash {
	display: block;
	width: min(480px, 70%);
	height: auto;
	margin: 6px auto 30px;
}
.hero .lede { margin-inline: auto; }
.badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 26px;
	padding: 6px 22px 6px 6px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 999px;
	color: #a98cff;
	font-size: 17px;
	background: rgba(0, 0, 0, 0.35);
}
.badge__tag {
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--accent);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.hero__actions {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 26px;
}

.hero__shot {
	position: relative;
	margin-top: 56px;
	text-align: left;
}

/* Dashboard mock-up */
.dash {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 150px 1fr 190px;
	max-width: 1000px;
	margin-inline: auto;
	background: #4b0f7c;
	border-radius: 18px 18px 0 0;
	box-shadow: 0 -10px 80px rgba(120, 50, 220, 0.35);
	overflow: hidden;
	font-size: 11px;
	line-height: 1.4;
	height: 480px;
}
.dash h4 { margin: 0 0 8px; font-family: var(--font); font-size: 11px; font-weight: 700; }
.dash ul { margin: 0; padding: 0; list-style: none; }
.dash__side { padding: 18px 10px; background: #18052b; }
.dash__side img { height: 28px; width: auto; display: block; margin: 0 auto 16px; }
.dash__side small { display: block; margin: 0 8px 6px; color: rgba(255, 255, 255, 0.45); }
.dash__side li { padding: 7px 10px; border-radius: 8px; color: rgba(255, 255, 255, 0.82); }
.dash__side .is-on { background: rgba(255, 255, 255, 0.12); color: #fff; }
.dash__side li:has(a) { padding: 0; }
.dash__side a { display: block; padding: 7px 10px; border-radius: 8px; color: inherit; text-decoration: none; }
.dash__side li:not(.is-on) a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.dash__main { padding: 16px 16px 0; min-width: 0; }
.dash__top { display: flex; justify-content: space-between; margin-bottom: 14px; color: rgba(255, 255, 255, 0.55); }
.dash__top b { color: #fff; font-weight: 500; }
.dash__top i { width: 110px; height: 14px; border-radius: 6px; background: rgba(255, 255, 255, 0.1); }
.dash__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 10px; }
.dash__stats p { margin: 0; padding: 10px; border-radius: var(--radius); background: #12041f; }
.dash__stats .is-glow { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3), 0 0 22px rgba(190, 160, 255, 0.45); }
.dash__stats span { display: block; color: rgba(255, 255, 255, 0.8); }
.dash__stats strong { font-family: var(--display); font-size: 17px; color: #8f7cff; margin-right: 6px; }
.dash__stats em { font-style: normal; color: #a99bff; font-size: 9px; }
.dash__row { display: grid; grid-template-columns: 1.5fr 1fr; gap: 8px; margin-bottom: 8px; }
.dash__box { padding: 10px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.07); min-width: 0; }
.dash__box svg { display: block; width: 100%; height: 90px; }
.dash__live li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 2px 0; color: rgba(255, 255, 255, 0.7); }
.dash__live i { flex: 0 0 46%; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.14); position: relative; }
.dash__live i::after { content: ""; position: absolute; inset: 0; width: var(--w); border-radius: 4px; background: #d9cfff; }
.dash__bars { display: flex; align-items: flex-end; gap: 14px; height: 84px; padding: 0 8px; }
.dash__bars i { flex: 1; height: var(--h); border-radius: 3px; background: linear-gradient(180deg, #9ad6ff, #b9a7ff); }
.dash__bars i:nth-child(even) { background: linear-gradient(180deg, #a6f0c6, #8ab8ff); }
.dash__donut { display: flex; align-items: center; gap: 12px; }
.dash__donut > i { flex: 0 0 62px; height: 62px; border-radius: 50%; background: conic-gradient(#a7b5ff 0 38%, #a6f0c6 0 61%, #c7b6ff 0 92%, #8ab8ff 0); -webkit-mask: radial-gradient(circle, transparent 46%, #000 48%); mask: radial-gradient(circle, transparent 46%, #000 48%); }
.dash__donut li { display: flex; justify-content: space-between; gap: 10px; color: rgba(255, 255, 255, 0.75); }
.dash__feed { padding: 16px 14px; border-left: 1px solid rgba(255, 255, 255, 0.1); background: linear-gradient(180deg, transparent, rgba(150, 140, 255, 0.35)); }
.dash__wallet { display: block; margin-bottom: 16px; padding: 6px 10px; border-radius: 6px; background: #8f7cff; color: #fff; font-weight: 700; text-align: center; }
.dash__feed li { display: flex; gap: 8px; padding: 6px 0; }
.dash__feed b { flex: 0 0 14px; height: 14px; margin-top: 2px; border-radius: 4px; background: rgba(255, 255, 255, 0.8); }
.dash__feed small { display: block; color: rgba(255, 255, 255, 0.5); }

/* Sections */
.section { padding: 88px 0; position: relative; }
.section--tight { padding: 44px 0; }
.section__head { max-width: 640px; margin: 0 auto 36px; text-align: center; }
.section__head h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; }
.section__head p { margin-top: 10px; color: var(--muted); font-size: 18px; }

.feature-grid,
.gems,
.steps {
	display: grid;
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.feature-grid { grid-template-columns: repeat(4, 1fr); }
.feature-grid > .card { display: flex; flex-direction: column; padding: 28px 26px 30px; }
.feature-grid h3 { font-size: 22px; font-weight: 600; margin: 34px 0 12px; }
.feature-grid p { color: var(--muted); flex: 1; }
.feature-grid__icon {
	display: grid;
	place-items: center;
	width: 74px;
	height: 74px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.07);
	color: #fff;
}
.feature-grid__icon .icon { width: 32px; height: 32px; }
.more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 34px;
	color: var(--accent-2);
	text-decoration: none;
	font-family: var(--display);
	font-weight: 500;
}
.more:hover { color: #fff; }

/* Logos */
.logo-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 14px;
	max-width: 1000px;
	margin: 0 auto;
	padding: 0;
	list-style: none;
}
.logo-grid > .logo {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 92px;
	padding: 0 18px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: rgba(0, 0, 0, 0.35);
}
.logo-grid img { height: 30px; width: auto; max-width: 100%; object-fit: contain; }

/* Purple banner */
.band { padding: 48px 0 20px; }
.band__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: center;
	padding: 52px 40px;
	border-radius: 28px;
	background: var(--purple);
}
.band h2 { font-size: clamp(28px, 3.4vw, 36px); margin-bottom: 14px; }
.band__copy p { color: #fff; max-width: 28rem; font-size: 18px; }
.band__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 18px;
	color: #fff;
	font-family: var(--display);
	text-decoration: none;
}
.band__link:hover { color: #d7cbff; }
.band__side h3 { margin-bottom: 14px; font-size: 24px; font-weight: 700; }
.band__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.band .btn--white,
.band .btn-white .wp-block-button__link {
	background: #fff;
	color: #1a1028;
}
.band .btn--grey,
.band .btn-grey .wp-block-button__link {
	background: #f6f3ff;
	color: #1a1028;
	border-color: transparent;
}
.band .btn--white:hover,
.band .btn-white .wp-block-button__link:hover,
.band .btn--grey:hover,
.band .btn-grey .wp-block-button__link:hover {
	filter: none;
	background: #fff;
	color: #1a1028;
}

/* Gems */
.gems { grid-template-columns: repeat(3, 1fr); }
.card--gem { display: flex; flex-direction: column; padding: 34px 26px 28px; overflow: hidden; background: radial-gradient(70% 55% at 50% 38%, rgba(95, 60, 190, 0.38), transparent 75%), var(--card); }
.card--gem:nth-child(2) { background: radial-gradient(70% 60% at 50% 40%, rgba(110, 85, 220, 0.6), transparent 80%), var(--card); }
.gem { display: block; width: 190px; height: 190px; margin: 6px auto 56px; filter: drop-shadow(0 20px 40px rgba(20, 60, 255, 0.35)); }
.card--gem h3 { font-size: 26px; font-weight: 600; margin-bottom: 10px; }
.card--gem p { color: var(--muted); font-size: 18px; }

/* CTA strip */
.cta-strip {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	margin-top: 52px;
	padding: 34px 54px;
	border: 1px solid var(--line);
	border-radius: 22px;
	background: rgba(255, 255, 255, 0.02);
}
.cta-strip h3 { font-size: 24px; font-weight: 600; margin-bottom: 8px; }
.cta-strip p { max-width: 36rem; color: var(--muted); font-size: 18px; }

/* Bento */
.bento__title {
	max-width: 840px;
	margin: 0 auto 36px;
	text-align: center;
	font-size: clamp(24px, 3vw, 34px);
	font-weight: 600;
	line-height: 1.3;
}
.bento {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 14px;
	max-width: 1180px;
	margin: 0 auto;
}
.tile {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 330px;
	padding: 28px 36px;
	border: 1px solid var(--line);
	border-radius: 18px;
	background: #0d0316;
	overflow: hidden;
}
.tile h3 { font-family: var(--font); font-size: 17px; font-weight: 500; margin-bottom: 8px; position: relative; }
.tile p { color: var(--muted); max-width: 20rem; position: relative; }
.tile--dash,
.tile--traffic { background: linear-gradient(180deg, #050109 0, #050109 45%, #2d0f5a 100%); }
.tile--traffic { grid-column: 1 / 2; }
.bento .tile--traffic { grid-column: auto; }
.bento { grid-template-areas: "ring dash" "traffic cone"; grid-template-columns: 1fr 2.1fr; }
.tile--ring { grid-area: ring; }
.tile--dash { grid-area: dash; }
.tile--traffic { grid-area: traffic; }
.tile--cone { grid-area: cone; }
.bento:has(.tile--traffic) { grid-template-columns: 1fr 2.1fr; }
.art { position: absolute; inset: 24px 24px auto; height: 190px; }
.art--ring {
	inset: 34px 0 auto;
	margin: 0 auto;
	width: 150px;
	height: 150px;
	border-radius: 50%;
	border: 26px solid transparent;
	background: conic-gradient(from 20deg, #1b1b1f, #cfd6e6, #3b3c47, #f4ecff, #8f8ba8, #1b1b1f) border-box;
	-webkit-mask: linear-gradient(#000 0 0) padding-box exclude, linear-gradient(#000 0 0);
	mask: linear-gradient(#000 0 0) padding-box exclude, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	transform: rotate(-24deg) scaleY(0.8);
}
.art--cone {
	inset: 30px 0 auto;
	margin: 0 auto;
	width: 150px;
	height: 170px;
	background: linear-gradient(135deg, #000 40%, #6a4cf0 62%, #e8dcff 70%, #101010 82%);
	clip-path: polygon(8% 0, 100% 62%, 78% 92%, 40% 100%, 5% 78%);
}
.art--ui {
	inset: 26px 0 auto 36px;
	height: 220px;
	border: 1px solid var(--line);
	border-right: 0;
	border-radius: 14px 0 0 14px;
	background: #0b0214;
	padding: 18px 20px;
	font-size: 12px;
	color: var(--muted);
}
.art--ui span { display: inline-block; width: 9px; height: 9px; margin-right: 5px; border-radius: 50%; background: #e0524d; }
.art--ui span:nth-child(2) { background: #e0b24d; }
.art--ui span:nth-child(3) { background: #4de07a; }
.art--ui b { display: block; width: 36%; margin-top: 26px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; color: #fff; font-weight: 500; }
.art--ui strong { position: absolute; right: 32px; top: 70px; font-family: var(--display); font-size: 40px; color: #fff; }
.art--ui em,
.art--chart em { margin-left: 8px; font-size: 13px; font-style: normal; color: #5ee69a; font-weight: 400; }
.art--chart {
	inset: 26px 28px auto;
	height: 200px;
	padding: 14px 18px;
	border: 1px solid var(--line);
	border-radius: 12px;
	color: var(--muted);
}
.art--chart strong { display: block; font-family: var(--display); font-size: 30px; color: #fff; }
.art--chart svg { position: absolute; left: 0; right: 0; bottom: 20px; width: 100%; height: 90px; }

/* Get started */
.start { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }
.start__copy h2 { font-size: clamp(30px, 3.6vw, 40px); margin-bottom: 26px; }
.start__copy p { color: var(--muted); font-size: 18px; margin-bottom: 22px; }
.start__copy .btn { margin-top: 8px; }
.steps { grid-template-columns: 1fr; gap: 20px; counter-reset: s; }
.steps > .card { display: flex; align-items: center; gap: 22px; padding: 18px 28px 18px 18px; }
.steps__icon {
	flex: 0 0 74px;
	display: grid;
	place-items: center;
	width: 74px;
	height: 74px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.07);
}
.steps__icon .icon { width: 32px; height: 32px; }
.steps h3 { font-size: 20px; font-weight: 600; margin-bottom: 6px; }
.steps p { color: var(--muted); }

/* Journal */
.journal__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}
.card-post {
	display: flex;
	flex-direction: column;
	min-width: 0;
	border: 1px solid var(--line);
	border-radius: 20px;
	background: var(--card);
	overflow: hidden;
}
.card-post__media {
	display: block;
	aspect-ratio: 4 / 2.4;
	overflow: hidden;
	background: #1a1228;
}
.card-post__media img,
.card-post__fallback { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.card-post:hover .card-post__media img { transform: scale(1.05); }
.card-post__fallback {
	background:
		radial-gradient(120px 80px at 30% 40%, rgba(124, 92, 255, 0.7), transparent 70%),
		radial-gradient(140px 90px at 70% 60%, rgba(244, 114, 182, 0.45), transparent 70%),
		#161022;
}
.card-post__body { padding: 20px 22px 24px; }
.card-post h3 { font-size: 17px; font-weight: 600; margin: 14px 0 10px; line-height: 1.35; }
.card-post p { color: var(--muted); font-size: 15px; }
.card-post h3 a { text-decoration: none; }
.card-post h3 a:hover { color: #d9ceff; }
.tag {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.1);
	color: #ddd;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}
.journal__grid .card-post--featured {
	position: relative;
	grid-column: span 2;
	grid-row: span 2;
	min-height: 420px;
	border: 0;
}
.card-post--featured .card-post__media { position: absolute; inset: 0; aspect-ratio: auto; }
.card-post--featured .card-post__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(60, 20, 120, 0.1) 30%, rgba(20, 5, 40, 0.92));
}
.card-post--featured .card-post__body { position: relative; margin-top: auto; padding: 30px; }
.card-post--featured h3 { font-size: clamp(24px, 3vw, 32px); margin: 0 0 18px; }
.journal__all { margin-top: 28px; color: var(--accent-2); text-decoration: underline; }
.journal .section__head { margin-bottom: 40px; }

main.page { padding-bottom: 80px; }
.page-hero { padding: 72px 0 10px; }
.page-hero h1 { font-size: clamp(40px, 5vw, 64px); max-width: 16ch; }
.page-body { padding-top: 28px; }
.entry { max-width: none; }
.entry > :where(p, ul, ol, h2, h3, h4, blockquote, figure, pre) { max-width: 720px; }
.entry p,
.entry li { color: var(--muted); }
.entry a { color: #ddd4ff; }
.entry h2,
.entry h3 { margin: 1.4em 0 0.4em; }
.entry > * + * { margin-top: 1em; }

.paging { margin-top: 28px; }
.paging .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.paging a,
.paging span {
	display: inline-flex;
	min-width: 36px;
	height: 36px;
	align-items: center;
	justify-content: center;
	border-radius: var(--radius);
	border: 1px solid var(--line);
	text-decoration: none;
	color: var(--muted);
}
.paging .current { color: var(--ink); border-color: var(--accent); }

.site-footer {
	margin-top: 20px;
	padding: 56px 0 28px;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 0.7fr 0.7fr 0.8fr;
	gap: 32px;
}
.footer__brand p,
.footer__col a,
.footer__base { color: var(--muted); }
.footer__brand p { margin-top: 14px; max-width: 32rem; }
.footer__col h2 {
	margin: 0 0 12px;
	font-family: var(--font);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink);
}
.footer__col ul { margin: 0; padding: 0; list-style: none; }
.footer__col li + li { margin-top: 8px; }
.footer__col a { text-decoration: none; }
.footer__col a.btn { color: #fff; }
.footer__col a:hover { color: var(--ink); }
.footer__base {
	display: flex;
	justify-content: space-between;
	margin-top: 36px;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	font-size: 13px;
}

.search:not(body) { display: flex; gap: 8px; margin-top: 18px; }
.search input {
	flex: 1;
	min-height: 45px;
	padding: 0 14px;
	border-radius: 12px;
	border: 1px solid var(--line);
	background: rgba(255, 255, 255, 0.04);
	color: var(--ink);
}

.comments-wrap { max-width: 720px; margin: 20px auto 60px; }
.comment-list { color: var(--muted); }

.woocommerce ul.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; }
.woocommerce ul.products li.product a { color: var(--ink); text-decoration: none; }
.woocommerce span.price,
.woocommerce div.product p.price { color: #fff; }
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
	background: linear-gradient(180deg, #8d72ff, #6846f0) !important;
	color: #fff !important;
	border-radius: 999px !important;
	border: 0 !important;
}
.woocommerce table.shop_table { color: var(--ink); border-color: var(--line); }
.woocommerce table.shop_table th,
.woocommerce table.shop_table td { border-color: var(--line); }
.woocommerce .woocommerce-ordering select,
.woocommerce input.input-text,
.woocommerce textarea {
	background: rgba(255, 255, 255, 0.04);
	color: var(--ink);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

/* Footer (matches the preview: dark, 4 columns, links in muted grey) */
.site-footer { margin-top: 40px; padding: 64px 0 32px; border-top: 1px solid rgba(255, 255, 255, 0.06); background: #0e0317; }
.footer__col h2 { font-family: var(--display); font-size: 18px; font-weight: 700; letter-spacing: 0; text-transform: none; margin-bottom: 18px; }
.footer__col li + li { margin-top: 12px; }

@media (max-width: 1000px) {
	.feature-grid { grid-template-columns: repeat(2, 1fr); }
	.journal__grid { grid-template-columns: repeat(2, 1fr); }
	.start { grid-template-columns: 1fr; gap: 40px; }
	.dash { grid-template-columns: 130px 1fr; }
	.dash__feed { display: none; }
}

@media (max-width: 900px) {
	.gems,
	.footer__grid,
	.woocommerce ul.products { grid-template-columns: 1fr 1fr; }
	.band__inner { grid-template-columns: 1fr; padding: 36px 26px; }
	.cta-strip { flex-direction: column; align-items: flex-start; padding: 28px; }
	.bento { grid-template-areas: none; grid-template-columns: 1fr !important; }
	.bento .tile { grid-area: auto; }
	.logo-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
	.nav-toggle { display: grid; place-items: center; margin-left: auto; }
	.nav {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		margin: 0;
		padding: 10px 16px 16px;
		background: #000;
		border-bottom: 1px solid var(--line);
	}
	body.nav-open .nav { display: block; }
	.nav__list,
	.nav .menu { flex-direction: column; }
	.bar { position: relative; }
	.bar__actions .btn { display: none; }
	.announce { font-size: 13px; }
	.hero { padding-top: 120px; }
	.hero .lede { font-size: 17px; }
	.badge { font-size: 14px; }
	.feature-grid,
	.gems,
	.footer__grid,
	.journal__grid,
	.woocommerce ul.products { grid-template-columns: 1fr; }
	.journal__grid .card-post--featured { grid-column: auto; grid-row: auto; min-height: 340px; }
	.dash { grid-template-columns: 1fr; height: 330px; }
	.dash__side { display: none; }
	.dash__stats { grid-template-columns: repeat(2, 1fr); }
	.steps > .card { flex-direction: column; align-items: flex-start; }
	.section { padding: 56px 0; }
}

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

@media (prefers-reduced-motion: reduce) {
	.announce-wrap,
	.announce { transition-duration: 0.01s; }
	html { scroll-behavior: auto; }
}

/* Block editor / Elementor friendliness */
.wp-block-image { margin: 0; }
.wp-block-group.alignfull { max-width: none; }
.wp-block-buttons.hero__actions { justify-content: center; }
.wp-block-button__link { text-decoration: none; }
.btn-solid .wp-block-button__link,
.btn-ghost .wp-block-button__link,
.btn-white .wp-block-button__link,
.btn-grey .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 45px;
	padding: 0 22px;
	border: 1px solid transparent;
	font-family: var(--display);
	font-weight: 600;
	font-size: 16px;
	line-height: 1;
}
.btn-solid .wp-block-button__link { background: var(--accent); color: #fff; border-radius: 12px; }
.btn-ghost .wp-block-button__link { background: rgba(255, 255, 255, 0.04); border-color: var(--line); color: var(--ink); border-radius: 12px; }
.btn-white .wp-block-button__link { background: #fff; color: #17082a; border-radius: 999px; min-height: 50px; }
.btn-grey .wp-block-button__link { background: rgba(255, 255, 255, 0.5); color: #2b1442; border-radius: 999px; min-height: 50px; }
.btn-lg .wp-block-button__link { min-height: 52px; padding: 0 30px; border-radius: 999px; font-size: 18px; }
.btn-solid .wp-block-button__link:hover,
.btn-white .wp-block-button__link:hover { filter: brightness(1.1); }
.band__link a,
.more a { color: inherit; text-decoration: none; }
.band__link,
.more { margin-top: 18px; }
.more { color: var(--accent-2); font-family: var(--display); font-weight: 500; margin-top: 34px; }
.journal__all a { text-decoration: underline; }
.hero__copy .wp-block-buttons { margin-top: 26px; }
.band__actions.wp-block-buttons { gap: 14px; }
.cta-strip .wp-block-buttons { flex: 0 0 auto; }
.wp-block-group.card { color: inherit; }

/* Brand: icon, logo, or icon + site name */
.brand { gap: 10px; }
.brand__name {
	font-family: var(--display);
	font-size: 24px;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: #fff;
}
.footer__brand .brand__name { font-size: 22px; }

/* Soft colour blurs. Pure CSS, so nothing is clipped; colours come from Theme Options. */
.blobs {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	pointer-events: none;
}
.blobs i {
	position: absolute;
	width: clamp(420px, 62vw, 900px);
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(closest-side, var(--c) 0, transparent 100%);
	opacity: 0.5;
	transform: translate(-50%, -50%);
}
.blobs i:nth-child(1) { --c: var(--blob-1); left: 50%; top: 11%; opacity: 0.55; }
.blobs i:nth-child(2) { --c: var(--blob-2); left: 0; top: 26%; }
.blobs i:nth-child(3) { --c: var(--blob-3); left: 100%; top: 34%; width: clamp(320px, 44vw, 640px); opacity: 0.4; }
.blobs i:nth-child(4) { --c: var(--blob-4); left: 100%; top: 19%; }
.blobs i:nth-child(5) { --c: var(--blob-5); left: 0; top: 56%; opacity: 0.35; }
.blobs i:nth-child(6) { --c: var(--blob-1); left: 100%; top: 72%; opacity: 0.4; }

/* Hero line: stays centred whether it is a plain img or an image block */
.hero__swash { margin: 6px auto 30px; }
figure.hero__swash { display: block; width: min(480px, 70%); }
figure.hero__swash img { display: block; width: 100%; height: auto; margin-inline: auto; }

/* Items with a panel */
.nav__item { display: flex; align-items: center; }
.has-mega > .nav__link { padding-right: 4px; }
.nav__more {
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	margin-left: -2px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #fff;
	cursor: pointer;
	transition: color 0.25s, background 0.25s, transform 0.3s;
}
.nav__more .icon { width: 16px; height: 16px; }
.has-mega:hover > .nav__more,
.has-mega.is-open > .nav__more { color: #cdbfff; }
.has-mega.is-open > .nav__more { transform: rotate(180deg); }

/* The panel: a floating glass sheet under the bar */
.mega {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	z-index: 30;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(-10px) scale(0.985);
	transform-origin: 50% 0;
	transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.3s;
}
.has-mega.is-open > .mega {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: none;
	transition-delay: 0s;
}
.mega__in {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	width: 100%;
	min-height: 340px;
	padding-inline: max(20px, calc((100% - var(--wrap)) / 2));
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	background: linear-gradient(180deg, rgba(24, 7, 44, 0.985), rgba(12, 3, 24, 0.985));
	box-shadow: 0 50px 90px rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(22px);
}
.mega__in.has-rail { grid-template-columns: 280px minmax(0, 1fr) 320px; }
.mega__rail {
	display: grid;
	align-content: start;
	gap: 6px;
	padding: 24px 18px 24px 0;
	border-right: 1px solid var(--line);
}
.mega__tab {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 12px 14px;
	border: 0;
	border-radius: 14px;
	background: transparent;
	color: #ddd4f3;
	font-family: var(--display);
	font-size: 16px;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
}
.mega__tab > .icon:last-child { margin-left: auto; opacity: 0; transform: translateX(-6px); transition: opacity 0.2s, transform 0.25s; }
.mega__tab-icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 34px;
	height: 34px;
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.07);
	color: #cdbfff;
}
.mega__tab:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.mega__tab.is-on { background: rgba(123, 102, 242, 0.22); color: #fff; }
.mega__tab.is-on .mega__tab-icon { background: var(--accent); color: #fff; }
.mega__tab.is-on > .icon:last-child { opacity: 1; transform: none; }
.mega__panes { display: grid; min-width: 0; padding: 24px 34px; }
.mega__pane { grid-area: 1 / 1; animation: mega-in 0.35s cubic-bezier(0.22, 1, 0.36, 1); }
.mega__pane[hidden] { display: none; }
@keyframes mega-in { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.mega__lead { margin: 2px 8px 14px; color: var(--muted); font-size: 15px; }
.mega__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 4px 10px;
	margin: 0;
	padding: 0;
	list-style: none;
	align-content: start;
}
.mega-link {
	display: flex;
	gap: 14px;
	padding: 14px;
	border-radius: 16px;
	text-decoration: none;
	transition: background 0.2s, transform 0.25s;
}
.mega-link:hover { background: rgba(123, 102, 242, 0.16); transform: translateX(3px); }
.mega-link__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.07);
	color: #cdbfff;
	transition: background 0.2s, color 0.2s;
}
.mega-link:hover .mega-link__icon { background: var(--accent); color: #fff; }
.mega-link__body { display: grid; gap: 3px; min-width: 0; }
.mega-link__title { color: #fff; font-family: var(--display); font-size: 16px; font-weight: 600; }
.mega-link__text { color: var(--muted); font-size: 14px; line-height: 1.45; }
.mega__promo {
	margin: 24px 0;
	border-radius: 22px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	padding: 28px 26px;
	background:
		radial-gradient(120% 80% at 100% 0, rgba(255, 122, 47, 0.35), transparent 60%),
		linear-gradient(160deg, #6b2fb0, #2b0b52);
}
.mega__promo-kicker {
	padding: 3px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.18);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.mega__promo h3 { font-size: 22px; line-height: 1.25; }
.mega__promo p { color: rgba(255, 255, 255, 0.82); font-size: 15px; flex: 1; }
.mega__promo .btn { min-height: 44px; }

@media (max-width: 1000px) {
	.mega__in.has-rail { grid-template-columns: 220px minmax(0, 1fr); }
	.mega__in { grid-template-columns: minmax(0, 1fr); padding-inline: 20px; }
	.mega__promo { display: none; }
	.mega__grid { grid-template-columns: 1fr; }
}

@media (max-width: 1100px) {
	.nav__item { flex-wrap: wrap; }
	.nav__link { flex: 1; }
	.nav__more { width: 40px; height: 40px; }
	.mega { position: static; display: none; width: 100%; padding: 0 0 8px; opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
	.has-mega.is-open > .mega { display: block; }
	.mega__in,
	.mega__in.has-rail { grid-template-columns: 1fr; min-height: 0; border: 0; box-shadow: none; width: 100%; padding-inline: 0; background: transparent; backdrop-filter: none; }
	.mega__rail { display: flex; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 10px; }
	.mega__tab { width: auto; flex: none; padding: 8px 12px; }
	.mega__tab > .icon:last-child { display: none; }
	.mega__panes { padding: 12px; }
}

@media (prefers-reduced-motion: reduce) {
	.mega, .nav__link::after, .mega__pane { transition-duration: 0.01s; animation: none; }
}

/* Company logo slider: seamless marquee, fades at the edges */
.logo-slider-section { padding: 36px 0 12px; }
.logo-slider__label {
	margin-bottom: 22px;
	color: var(--muted);
	font-size: 13px;
	letter-spacing: 0.12em;
	text-align: center;
	text-transform: uppercase;
}
.logo-slider {
	position: relative;
	width: 100%;
	overflow: hidden;
	padding: 6px 0;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
}
.logo-track {
	display: flex;
	align-items: center;
	gap: 80px;
	width: max-content;
	will-change: transform;
}
.logo-item {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	opacity: 0.7;
	transition: opacity 0.3s ease, transform 0.3s ease;
}
.logo-item img { display: block; width: auto; height: 52px; max-width: none; object-fit: contain; }
.logo-item:hover { opacity: 1; transform: translateY(-2px); }
/* Without JS (or reduced motion) the logos wrap and stay still. */
.no-js .logo-track,
.logo-slider.is-still .logo-track { flex-wrap: wrap; justify-content: center; width: auto; }
@media (prefers-reduced-motion: reduce) {
	.logo-track { flex-wrap: wrap; justify-content: center; width: auto; }
}

/* Scroll motion ---------------------------------------------------------- */
.hero__copy,
.dash,
.band__inner,
.cta-strip,
.bento { will-change: transform; }
.dash { transform-origin: 50% 100%; }
.band__inner,
.cta-strip,
.bento { transform-origin: 50% 0; }

/* Cards and headings rise in, one after another (only when JS is on) */
.js .rv {
	opacity: 0;
	transform: translateY(28px) scale(0.965);
	transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
	transition-delay: var(--d, 0s);
}
.js .rv.is-in { opacity: 1; transform: none; }

/* Soft colour blurs drift slowly */
.blobs i { animation: blob-float 22s ease-in-out infinite alternate; }
.blobs i:nth-child(2) { animation-duration: 28s; animation-delay: -6s; }
.blobs i:nth-child(3) { animation-duration: 25s; animation-delay: -11s; }
.blobs i:nth-child(4) { animation-duration: 31s; animation-delay: -3s; }
.blobs i:nth-child(5) { animation-duration: 27s; animation-delay: -15s; }
.blobs i:nth-child(6) { animation-duration: 33s; animation-delay: -9s; }
@keyframes blob-float {
	from { translate: 0 0; scale: 1; }
	to { translate: 4% 5%; scale: 1.14; }
}

@media (prefers-reduced-motion: reduce) {
	.hero::before,
	.blobs i { animation: none; }
	.js .rv { opacity: 1; transform: none; transition: none; }
}

/* Header cart (ported from the News theme): the icon fills up with the items in the cart */
a.cart {
	position: relative;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	color: #fff;
	text-decoration: none;
	transition: background 0.25s, color 0.25s;
}
a.cart[hidden] { display: none; }
a.cart:hover { background: rgba(123, 102, 242, 0.18); color: #cdbfff; }
a.cart svg { width: 21px; height: 21px; overflow: visible; }
.cart__state { display: none; }
a.cart[data-cart-count="0"] [data-cart-state="0"],
a.cart[data-cart-count="1"] [data-cart-state="1"],
a.cart[data-cart-count="2"] [data-cart-state="2"],
a.cart[data-cart-count="3"] [data-cart-state="3"] { display: inline; }
.cart__count {
	position: absolute;
	top: 1px;
	right: -2px;
	min-width: 19px;
	height: 19px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--accent);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 19px;
	text-align: center;
	box-shadow: 0 0 0 2px #000;
}
.cart__count:not([hidden]) { animation: cart-pop 0.4s cubic-bezier(0.22, 1.6, 0.36, 1); }
@keyframes cart-pop { from { transform: scale(0.4); } to { transform: none; } }

/* Shop */
.shop-page .page-hero { padding-bottom: 6px; }
.shop { padding-bottom: 80px; }
.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product {
	position: relative;
	display: flex;
	flex-direction: column;
	width: auto !important;
	margin: 0 !important;
	padding: 0 0 22px;
	float: none !important;
	border: 1px solid var(--line);
	border-radius: 22px;
	background: var(--card);
	overflow: hidden;
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s, box-shadow 0.35s;
}
.woocommerce ul.products li.product:hover { transform: translateY(-5px); border-color: rgba(123, 102, 242, 0.55); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 50px rgba(123, 102, 242, 0.16); }
.woocommerce ul.products li.product a { color: var(--ink); text-decoration: none; }
.woocommerce ul.products li.product img { display: block; width: 100%; height: auto; margin: 0 0 18px; aspect-ratio: 1; object-fit: cover; transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.woocommerce ul.products li.product:hover img { transform: scale(1.05); }
.woocommerce ul.products li.product .woocommerce-LoopProduct-link { overflow: hidden; }
.woocommerce-loop-product__title { padding: 0 22px; font-family: var(--display); font-size: 19px !important; font-weight: 700; }
.woocommerce ul.products li.product .price { display: block; padding: 6px 22px 0; color: #fff; font-family: var(--display); font-size: 18px; font-weight: 700; }
.woocommerce ul.products li.product .price del { color: var(--muted); font-weight: 400; opacity: 0.8; }
.woocommerce ul.products li.product .price ins { text-decoration: none; }
.woocommerce ul.products li.product .button {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	align-self: stretch;
	width: auto !important;
	margin: 18px 16px 0 !important;
	min-height: 44px;
	padding: 0 16px !important;
	border-radius: 14px !important;
	border: 1px solid rgba(167, 148, 255, 0.45) !important;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)) ,
		rgba(123, 102, 242, 0.16) !important;
	color: #fff !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 8px 20px rgba(80, 40, 180, 0.12);
	font-size: 14px;
	letter-spacing: 0.01em;
}
.woocommerce ul.products li.product .button::before {
	content: "";
	width: 16px;
	height: 16px;
	flex: none;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 18a2 2 0 1 0 .001 4.001A2 2 0 0 0 7 18zm10 0a2 2 0 1 0 .001 4.001A2 2 0 0 0 17 18zM6.1 6l.7 2h12.4l-1.4 6.5H8.2L6.1 6zM5.2 4H2v2h1.7l2.4 10.2a1 1 0 0 0 1 .8h11.6a1 1 0 0 0 1-.75L21.8 6.2A1 1 0 0 0 20.8 5H6.4L5.2 4z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 18a2 2 0 1 0 .001 4.001A2 2 0 0 0 7 18zm10 0a2 2 0 1 0 .001 4.001A2 2 0 0 0 17 18zM6.1 6l.7 2h12.4l-1.4 6.5H8.2L6.1 6zM5.2 4H2v2h1.7l2.4 10.2a1 1 0 0 0 1 .8h11.6a1 1 0 0 0 1-.75L21.8 6.2A1 1 0 0 0 20.8 5H6.4L5.2 4z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.woocommerce ul.products li.product .button:hover {
	filter: none;
	transform: none;
	border-color: transparent !important;
	background: linear-gradient(180deg, #9a82ff, #6a49f2) !important;
	box-shadow: 0 10px 24px rgba(106, 73, 242, 0.38);
}
.woocommerce ul.products li.product .button.is-busy { opacity: 0.65; }
.woocommerce ul.products li.product .button.is-added {
	border-color: rgba(214, 255, 74, 0.7) !important;
	background: rgba(214, 255, 74, 0.16) !important;
	color: #f4ffd0 !important;
}
.woocommerce ul.products li.product .added_to_cart { display: none; }

.shop-layout {
	display: grid;
	grid-template-columns: 248px minmax(0, 1fr);
	gap: 32px;
	align-items: start;
}
.shop-side {
	position: sticky;
	top: 96px;
	display: grid;
	gap: 22px;
	padding: 18px 16px 16px;
	border: 1px solid var(--line);
	border-radius: 22px;
	background: var(--card);
}
body.admin-bar .shop-side { top: 128px; }
.shop-side__block h2 {
	margin: 0 0 10px;
	font-family: var(--font);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
}
.shop-side__cats { display: grid; gap: 4px; }
.shop-side__cats a,
.shop-side__check {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	min-height: 38px;
	padding: 0 10px;
	border-radius: 12px;
	color: var(--ink);
	text-decoration: none;
	font-size: 14.5px;
	font-weight: 600;
}
.shop-side__cats a span,
.shop-side__check b { color: var(--muted); font-size: 12px; font-weight: 600; }
.shop-side__cats a:hover,
.shop-side__check:hover,
.shop-side__cats a.is-on,
.shop-side__check.is-on { background: rgba(123, 102, 242, 0.16); }
.shop-side__cats a.is-on,
.shop-side__check.is-on { color: #fff; }
.shop-price { display: flex; align-items: center; gap: 6px; }
.shop-price input {
	width: 100%;
	min-height: 40px;
	padding: 0 10px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.04);
	color: var(--ink);
	font: inherit;
	font-size: 14px;
}
.shop-price button {
	flex: none;
	min-height: 40px;
	padding: 0 14px;
	border: 0;
	border-radius: 12px;
	background: var(--accent);
	color: #fff;
	font-family: var(--display);
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
}
.shop-side .woocommerce-ordering { float: none; margin: 0; width: 100%; }
.shop-side .woocommerce-ordering select { width: 100%; min-height: 40px; }
.shop-side__clear { color: var(--muted); font-size: 13px; font-weight: 600; text-decoration: none; }
.shop-side__clear:hover { color: var(--ink); }
.shop-main .woocommerce-result-count { margin: 2px 0 14px; }
.shop-main ul.products { margin-top: 0; grid-template-columns: repeat(3, 1fr); }

html.cart-open { overflow: hidden; }
.cart-drawer { position: fixed; inset: 0; z-index: 80; }
.cart-drawer[hidden] { display: none; }
.cart-drawer__scrim { position: absolute; inset: 0; background: rgba(4, 2, 10, 0.62); backdrop-filter: blur(4px); opacity: 0; transition: opacity 0.28s; }
.cart-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	flex-direction: column;
	width: min(420px, 100%);
	height: 100%;
	background: #100818;
	color: var(--ink);
	border-left: 1px solid var(--line);
	box-shadow: -24px 0 80px rgba(0, 0, 0, 0.45);
	transform: translateX(104%);
	transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
.cart-drawer.is-open .cart-drawer__scrim { opacity: 1; }
.cart-drawer.is-open .cart-drawer__panel { transform: none; }
body.admin-bar .cart-drawer__panel { top: 32px; height: calc(100% - 32px); }
.cart-drawer__head,
.cart-drawer__foot { background: #100818; }
.cart-drawer__head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; gap: 10px; padding: 18px 18px 16px 22px; border-bottom: 1px solid var(--line); }
.cart-drawer__head h2 { margin: 0; font-size: 22px; }
.cart-drawer__count { color: var(--muted); font-size: 14px; }
.cart-drawer__close { margin-left: auto; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 12px; background: transparent; color: var(--ink); cursor: pointer; }
.cart-drawer__notice { margin: 12px 22px 0; padding: 10px 12px; border-radius: 12px; background: rgba(230, 108, 108, 0.14); color: #ffb4b4; }
.cart-drawer__body { flex: 1; overflow: auto; padding: 8px 22px 16px; }
.cart-drawer__empty { display: grid; gap: 14px; justify-items: start; padding: 28px 0; color: var(--muted); }
.cart-lines { list-style: none; margin: 0; padding: 0; }
.cart-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-line__thumb,
.cart-extra__thumb { display: grid; place-items: center; width: 64px; height: 64px; overflow: hidden; border-radius: 14px; background: rgba(255, 255, 255, 0.04); }
.cart-extra__thumb { width: 48px; height: 48px; flex: none; }
.cart-line__thumb img,
.cart-extra__thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-line__body a { font-weight: 600; text-decoration: none; }
.cart-line__side { display: grid; justify-items: end; gap: 6px; }
.cart-line__price { font-family: var(--display); font-weight: 700; }
.cart-line__remove { border: 0; background: transparent; color: var(--muted); font-size: 20px; line-height: 1; cursor: pointer; }
.cart-drawer__extras { padding: 14px 22px 8px; border-top: 1px solid var(--line); background: rgba(123, 102, 242, 0.08); }
.cart-drawer__extras h3 { margin: 0 0 10px; font-family: var(--font); font-size: 15px; font-weight: 700; }
.cart-extra { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.cart-extra__body { flex: 1; min-width: 0; }
.cart-extra__body strong,
.cart-extra__body small { display: block; }
.cart-extra__body small { color: var(--muted); font-size: 12px; }
.cart-extra .btn { flex: none; min-height: 36px; padding: 0 12px; font-size: 13px; }
.cart-drawer__foot { position: sticky; bottom: 0; display: grid; gap: 8px; padding: 16px 22px 22px; border-top: 1px solid var(--line); }
.cart-drawer__total { display: flex; justify-content: space-between; align-items: baseline; margin: 0; }
.cart-drawer__total strong { font-family: var(--display); font-size: 26px; }
.cart-drawer__fine { margin: 0; color: var(--muted); font-size: 13px; }
.cart-drawer__checkout { width: 100%; }
.cart-drawer__checkout.is-disabled { opacity: 0.45; pointer-events: none; }
.cart-drawer__view { text-align: center; color: var(--muted); font-size: 14px; }
@media (max-width: 782px) { body.admin-bar .cart-drawer__panel { top: 46px; height: calc(100% - 46px); } }
@media (prefers-reduced-motion: reduce) { .cart-drawer__panel, .cart-drawer__scrim { transition: none; } }
[data-theme="light"] .cart-drawer__scrim { background: rgba(27, 12, 51, 0.28); }
[data-theme="light"] .cart-drawer__panel,
[data-theme="light"] .cart-drawer__head,
[data-theme="light"] .cart-drawer__foot {
	background: #f6f3fc;
	color: var(--ink);
}
[data-theme="light"] .cart-drawer__panel { box-shadow: -24px 0 80px rgba(40, 15, 80, 0.16); }
[data-theme="light"] .cart-line__thumb,
[data-theme="light"] .cart-extra__thumb { background: rgba(60, 30, 130, 0.07); }
[data-theme="light"] .cart-drawer__extras { background: rgba(91, 67, 214, 0.07); }
[data-theme="light"] .cart-drawer__notice { background: rgba(180, 40, 40, 0.1); color: #8d2424; }
.woocommerce ul.products li.product span.onsale {
	position: absolute !important;
	top: 14px !important;
	left: 14px !important;
	right: auto !important;
	bottom: auto !important;
	z-index: 4;
	width: auto !important;
	height: auto !important;
	min-width: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 6px 11px !important;
	border-radius: 999px !important;
	background: #d6ff4a !important;
	color: #1a1028 !important;
	font-size: 11px !important;
	font-weight: 800 !important;
	line-height: 1 !important;
	letter-spacing: 0.08em !important;
	text-transform: uppercase !important;
}
.woocommerce-result-count { color: var(--muted); }
.woocommerce .woocommerce-ordering select {
	padding: 10px 14px;
	background-color: #1b1028;
	color: #f6f3ff;
	color-scheme: dark;
	border: 1px solid var(--line);
	border-radius: 12px;
}
.woocommerce .woocommerce-ordering select option {
	background-color: #1b1028;
	color: #f6f3ff;
}
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 20px;
	border-radius: 12px !important;
	font-family: var(--display);
	font-weight: 600;
	font-size: 15px;
	transition: filter 0.2s, transform 0.2s;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover { filter: brightness(1.12); transform: translateY(-1px); }
.woocommerce a.button.alt,
.woocommerce button.button.alt { background: var(--accent) !important; }

/* Single product */
.page-hero--product { padding-bottom: 36px; }
.page-hero--product .kicker a { color: inherit; text-decoration: none; }
.page-hero--product .kicker a:hover { color: #fff; }
.page-hero--product h1 { max-width: 16ch; }
.jx-product { margin-top: 8px; }
.jx-product__layout {
	display: grid;
	grid-template-columns: minmax(0, 640px) 340px;
	justify-content: space-between;
	gap: 36px;
	align-items: start;
}
.jx-product__side { position: sticky; top: 96px; }
body.admin-bar .jx-product__side { top: 128px; }
.jx-product__stage {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 28px;
	background: var(--card);
}
.jx-product__stage .woocommerce-product-gallery { float: none !important; width: 100% !important; margin: 0; }
.jx-product__stage .woocommerce-product-gallery__trigger { display: none; }
.jx-product__stage .woocommerce-product-gallery__image img,
.jx-product__stage .flex-viewport img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	margin: 0;
	object-fit: cover;
	object-position: center;
	border-radius: 0;
}
.jx-product__stage .flex-control-nav {
	display: flex;
	gap: 10px;
	position: static !important;
	width: auto !important;
	margin: 0;
	padding: 12px;
	list-style: none;
	float: none;
}
.jx-product__stage .flex-control-nav li { flex: 1; width: auto !important; margin: 0; float: none; }
.jx-product__stage .flex-control-nav img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 12px;
	opacity: 0.55;
	cursor: pointer;
}
.jx-product__stage .flex-control-nav img.flex-active { opacity: 1; box-shadow: 0 0 0 2px #d6ff4a; }
.jx-product__stage span.onsale {
	position: absolute !important;
	top: 18px !important;
	left: 18px !important;
	right: auto !important;
	z-index: 3;
	min-width: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 6px 12px !important;
	border-radius: 999px !important;
	background: #d6ff4a !important;
	color: #1a1028 !important;
	font-size: 12px !important;
	font-weight: 800 !important;
	line-height: 1 !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.jx-product__overview { margin-top: 28px; }
.jx-product__overview h2 { margin: 0 0 12px; font-size: 28px; }
.jx-product__prose { color: var(--muted); font-size: 17px; line-height: 1.65; }
.jx-product__prose p { margin: 0 0 14px; }
.jx-product__prose ul { list-style: none; display: grid; gap: 8px; margin: 6px 0 0; padding: 0; }
.jx-product__prose li { position: relative; padding-left: 18px; }
.jx-product__prose li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 7px; height: 7px; border-radius: 50%; background: #d6ff4a; }
.jx-buybox {
	display: grid;
	gap: 14px;
	padding: 26px;
	border: 1px solid var(--line);
	border-radius: 24px;
	background: linear-gradient(180deg, rgba(123, 102, 242, 0.14), rgba(255, 255, 255, 0.03));
}
.jx-buybox__label { margin: 0; color: var(--muted); font-size: 14px; }
.jx-buybox__price { margin-top: -6px; }
.jx-buybox__price .price,
.jx-buybox__price .amount { color: #fff; font-family: var(--display); font-size: 44px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.jx-buybox__price del { display: block; margin-bottom: 4px; color: var(--muted); font-size: 18px; font-weight: 500; }
.jx-buybox__price del .amount { color: var(--muted); font-size: 18px; font-weight: 500; }
.jx-buybox__price ins { text-decoration: none; }
.woocommerce div.product .jx-buybox form.cart {
	display: grid !important;
	grid-template-columns: 88px minmax(0, 1fr);
	gap: 10px;
	width: 100%;
	margin: 0;
}
.woocommerce div.product .jx-buybox form.cart::before,
.woocommerce div.product .jx-buybox form.cart::after { display: none; }
.woocommerce div.product .jx-buybox form.cart .quantity,
.woocommerce div.product .jx-buybox form.cart .button { float: none !important; width: 100% !important; margin: 0; }
.jx-buybox .qty { width: 100%; }
.woocommerce div.product .jx-buybox form.cart .button {
	min-height: 50px;
	border: 0 !important;
	border-radius: 14px !important;
	background: linear-gradient(180deg, #9a82ff, #6a49f2) !important;
	color: #fff !important;
	font-size: 16px;
	white-space: nowrap;
}
.jx-buybox form.cart .button:hover { filter: brightness(1.08); transform: none; }
.jx-buybox__perks { list-style: none; display: grid; gap: 10px; margin: 4px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); }
.jx-buybox__perks li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 14.5px; }
.jx-buybox__perks li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: #d6ff4a; }
.jx-product .related { margin-top: 64px; }
.jx-product .related > h2 { margin: 0 0 8px; font-size: 28px; }
[data-theme="light"] .jx-buybox { background: #fff; }
[data-theme="light"] .jx-buybox__price .amount { color: var(--ink); }
[data-theme="light"] .jx-buybox__price del,
[data-theme="light"] .jx-buybox__price del .amount { color: var(--muted); }
@media (max-width: 900px) {
	.jx-product__layout { grid-template-columns: 1fr; }
	.jx-product__side { position: static; order: -1; }
}
.woocommerce div.product div.images,
.woocommerce div.product div.summary { float: none !important; width: 100% !important; margin: 0; }
.woocommerce div.product p.price,
.woocommerce div.product span.price { color: #fff; font-family: var(--display); font-weight: 700; }
.woocommerce .quantity .qty { width: 76px; min-height: 45px; padding: 0 10px; background: rgba(255, 255, 255, 0.05); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; text-align: center; }
.woocommerce div.product .woocommerce-tabs ul.tabs { display: flex; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; border: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 999px; background: transparent; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { display: block; padding: 8px 18px; color: var(--muted); text-decoration: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--accent); border-color: var(--accent); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: #fff; }
.woocommerce div.product .related > h2 { margin-bottom: 4px; }
.woocommerce-message,
.woocommerce-info,
.woocommerce-error { margin: 0 0 22px; padding: 16px 20px; border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 14px; background: var(--card); color: var(--ink); list-style: none; }
.woocommerce-message::before,
.woocommerce-info::before { display: none; }
.woocommerce-message a.button { margin-left: 12px; }

/* Cart + checkout */
.woocommerce table.shop_table { border: 1px solid var(--line); border-radius: 18px; border-collapse: separate; border-spacing: 0; overflow: hidden; background: var(--card); }
.woocommerce table.shop_table th { color: var(--muted); font-weight: 600; background: rgba(255, 255, 255, 0.03); }
.woocommerce table.shop_table td img { width: 64px; border-radius: 12px; }
.woocommerce table.cart td.actions .coupon .input-text { min-height: 44px; padding: 0 14px; }
.woocommerce .cart-collaterals .cart_totals { float: none; width: 100%; max-width: 440px; margin-left: auto; }
.woocommerce-checkout #payment { border-radius: 18px; background: var(--card); }
.woocommerce-checkout #payment div.payment_box { background: rgba(255, 255, 255, 0.05); color: var(--ink); }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select { min-height: 45px; padding: 8px 14px; background: rgba(255, 255, 255, 0.05); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; }
.woocommerce-checkout h3 { margin: 24px 0 14px; }
.woocommerce a.remove { color: var(--muted) !important; }
.woocommerce a.remove:hover { background: var(--accent) !important; color: #fff !important; }

@media (max-width: 1000px) {
	.woocommerce ul.products { grid-template-columns: repeat(3, 1fr); }
	.woocommerce div.product { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 720px) {
	.woocommerce ul.products { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	.woocommerce-loop-product__title { padding: 0 14px; font-size: 16px !important; }
	.woocommerce ul.products li.product .price { margin: 0; padding-inline: 14px; }
	.woocommerce ul.products li.product .button { margin-inline: 12px !important; }
}
@media (prefers-reduced-motion: reduce) {
	.cart__count:not([hidden]) { animation: none; }
}

/* Dark / light ----------------------------------------------------------- */
:root { color-scheme: dark; --soft: rgba(255, 255, 255, 0.07); }
:root[data-theme="light"] {
	color-scheme: light;
	--bg: #f6f3fc;
	--ink: #1b0c33;
	--muted: #5f5478;
	--line: rgba(40, 15, 80, 0.12);
	--card: #ffffff;
	--soft: rgba(60, 30, 130, 0.07);
	--accent-2: #5b43d6;
}
body { transition: background-color 0.35s ease, color 0.35s ease; }

/* Surfaces that stay dark in both modes keep the dark palette. */
.site-header,
.hero,
.mega,
.tile,
.dash,
.band,
.site-footer,
.card-post--featured,
.logo-slider-section {
	--ink: #f6f3ff;
	--muted: #c3b9d4;
	--line: rgba(255, 255, 255, 0.09);
	--card: rgba(255, 255, 255, 0.035);
	--soft: rgba(255, 255, 255, 0.07);
	--accent-2: #8f7cff;
	color: var(--ink);
}
.logo-slider-section { color: inherit; }

[data-theme="light"] .feature-grid__icon,
[data-theme="light"] .steps__icon { background: var(--soft); color: var(--accent-2); }
[data-theme="light"] .card,
[data-theme="light"] .card-post { box-shadow: 0 14px 40px rgba(60, 30, 130, 0.08); }
[data-theme="light"] .card--gem,
[data-theme="light"] .card--gem:nth-child(2) { background: radial-gradient(70% 55% at 50% 38%, rgba(110, 85, 220, 0.18), transparent 75%), #fff; }
[data-theme="light"] .blobs i { opacity: 0.22; }
[data-theme="light"] .tag { background: var(--soft); color: var(--ink); }
[data-theme="light"] .card-post--featured .tag { background: rgba(255, 255, 255, 0.16); color: #fff; }
[data-theme="light"] .entry a { color: var(--accent-2); }
[data-theme="light"] .cta-strip { background: #fff; }
[data-theme="light"] .logo-slider__label { color: var(--muted); }
[data-theme="light"] .woocommerce ul.products li.product .price,
[data-theme="light"] .woocommerce div.product p.price,
[data-theme="light"] .woocommerce div.product span.price { color: var(--ink); }
[data-theme="light"] .woocommerce .quantity .qty,
[data-theme="light"] .woocommerce form .form-row input.input-text,
[data-theme="light"] .woocommerce form .form-row textarea,
[data-theme="light"] .woocommerce form .form-row select,
[data-theme="light"] .woocommerce .woocommerce-ordering select {
	background-color: #fff;
	color: #1b0c33;
	color-scheme: light;
}
[data-theme="light"] .woocommerce .woocommerce-ordering select option {
	background-color: #fff;
	color: #1b0c33;
}
[data-theme="light"] .btn--ghost { background: var(--soft); cursor: pointer; }
[data-theme="light"] .btn--ghost:hover { opacity: 0.85; }
[data-theme="light"] .more { color: var(--accent-2); }
[data-theme="light"] .more:hover { opacity: 0.85; }
[data-theme="light"] .journal__all a { color: var(--accent-2); }
[data-theme="light"] .journal__all a:hover { opacity: 0.85; }

/* Sun / moon button */
.theme-toggle {
	position: relative;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 12px;
	background: transparent;
	color: #fff;
	cursor: pointer;
	transition: background 0.25s, color 0.25s;
}
.theme-toggle:hover { background: rgba(123, 102, 242, 0.18); color: #cdbfff; }
.theme-toggle .icon { width: 20px; height: 20px; }
.theme-toggle__moon { display: none; }
[data-theme="light"] .theme-toggle__sun { display: none; }
[data-theme="light"] .theme-toggle__moon { display: block; }

/* Header layout: logo in the middle */
.header-center .bar__inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; }
.header-center .brand { order: 2; justify-self: center; }
.header-center .nav { order: 1; margin: 0; justify-self: start; }
.header-center .bar__actions { order: 3; justify-self: end; }
@media (max-width: 1000px) {
	.header-center .bar__inner { display: flex; }
	.header-center .brand { order: 0; }
	.header-center .nav { order: 0; margin-left: auto; margin-right: auto; }
	.header-center .bar__actions { order: 0; }
}
@media (max-width: 720px) {
	.header-center .nav { margin: 0; }
}

/* Light mode hero + header ------------------------------------------------ */
[data-theme="light"] .hero,
[data-theme="light"] .site-header {
	--ink: #1b0c33;
	--muted: #5f5478;
	--line: rgba(40, 15, 80, 0.12);
	--card: #ffffff;
	--soft: rgba(60, 30, 130, 0.07);
	--accent-2: #5b43d6;
}
[data-theme="light"] .hero { background: linear-gradient(180deg, #ebe4fa 0, transparent 100%); }
/* The same artwork, inverted so the glow sits on a light page */
[data-theme="light"] .hero::before {
	filter: invert(1) hue-rotate(180deg) saturate(1.25);
	opacity: 0.7;
}
[data-theme="light"] .hero h1 { background-image: linear-gradient(90deg, #3b2a8f 0%, #6a50e8 45%, #d4567a 100%); }
[data-theme="light"] .badge { background: #fff; border-color: var(--line); color: var(--accent-2); box-shadow: 0 8px 24px rgba(60, 30, 130, 0.08); }
[data-theme="light"] .hero .btn--ghost { background: #fff; border-color: var(--line); color: var(--ink); }
[data-theme="light"] .hero .lede,
[data-theme="light"] .hero__sub { color: var(--ink); }

[data-theme="light"] .site-header { background: linear-gradient(180deg, rgba(246, 243, 252, 0.96) 68%, rgba(246, 243, 252, 0)); }
[data-theme="light"] .nav__link,
[data-theme="light"] .nav__more,
[data-theme="light"] a.cart,
[data-theme="light"] .theme-toggle,
[data-theme="light"] .brand__name { color: var(--ink); }
[data-theme="light"] .nav__item:hover > .nav__link,
[data-theme="light"] .nav__item.is-open > .nav__link,
[data-theme="light"] .nav__link:focus-visible { color: #4a33c8; background: rgba(91, 67, 214, 0.1); }
[data-theme="light"] .has-mega:hover > .nav__more,
[data-theme="light"] .has-mega.is-open > .nav__more { color: #4a33c8; }
[data-theme="light"] .nav__item.is-current > .nav__link { color: #4a33c8; }
[data-theme="light"] a.cart:hover,
[data-theme="light"] .theme-toggle:hover { background: rgba(91, 67, 214, 0.1); color: #4a33c8; }
[data-theme="light"] .cart__count { box-shadow: 0 0 0 2px #f6f3fc; }
@media (max-width: 1100px) {
	[data-theme="light"] .nav { background: var(--bg); }
}

/* Light mode: everything light, except real product screenshots and the purple brand banner */
[data-theme="light"] .logo-item img,
[data-theme="light"] .logo-grid img { filter: brightness(0); }
[data-theme="light"] .logo-item { opacity: 0.55; }
[data-theme="light"] .logo-item:hover { opacity: 1; }
[data-theme="light"] .logo-grid > .logo { background: #fff; }

[data-theme="light"] .mega,
[data-theme="light"] .tile,
[data-theme="light"] .site-footer {
	--ink: #1b0c33;
	--muted: #5f5478;
	--line: rgba(40, 15, 80, 0.12);
	--card: #ffffff;
	--soft: rgba(60, 30, 130, 0.07);
	--accent-2: #5b43d6;
}
[data-theme="light"] .site-footer { background: #ece6f8; border-top-color: var(--line); }
[data-theme="light"] .footer__col a,
[data-theme="light"] .footer__brand p,
[data-theme="light"] .footer__base { color: var(--muted); }
[data-theme="light"] .footer__col a:hover { color: var(--accent-2); }
[data-theme="light"] .footer__col h2 { color: var(--ink); }

[data-theme="light"] .mega__in {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(246, 243, 252, 0.99));
	border-color: var(--line);
	box-shadow: 0 40px 80px rgba(60, 30, 130, 0.18);
}
[data-theme="light"] .mega__tab { color: var(--ink); }
[data-theme="light"] .mega__tab:hover { background: var(--soft); color: var(--ink); }
[data-theme="light"] .mega__tab.is-on { background: rgba(91, 67, 214, 0.12); color: var(--ink); }
[data-theme="light"] .mega__tab-icon,
[data-theme="light"] .mega-link__icon { background: var(--soft); color: var(--accent-2); }
[data-theme="light"] .mega__tab.is-on .mega__tab-icon,
[data-theme="light"] .mega-link:hover .mega-link__icon { background: var(--accent); color: #fff; }
[data-theme="light"] .mega-link__title { color: var(--ink); }
[data-theme="light"] .mega-link:hover { background: rgba(91, 67, 214, 0.08); }
[data-theme="light"] .mega__promo,
[data-theme="light"] .mega__promo h3 { color: #fff; }
[data-theme="light"] .mega__rail { border-right-color: var(--line); }

[data-theme="light"] .tile { background: #fff; }
[data-theme="light"] .tile--dash,
[data-theme="light"] .tile--traffic { background: linear-gradient(180deg, #fff 0, #fff 40%, #e6dcfb 100%); }
[data-theme="light"] .art--ui { background: #f6f2fd; }
[data-theme="light"] .art--ui b,
[data-theme="light"] .art--ui strong,
[data-theme="light"] .art--chart strong { color: var(--ink); }
[data-theme="light"] .card--gem h3 { color: var(--ink); }
[data-theme="light"] .btn--white { background: #fff; }

/* Inner pages ------------------------------------------------------------ */
.page-hero--rich {
	position: relative;
	margin-top: -76px;
	padding: 170px 0 74px;
	overflow: hidden;
	text-align: center;
	background: linear-gradient(180deg, #000 0, #000 40%, transparent 100%);
	--ink: #f6f3ff;
	--muted: #c3b9d4;
	--line: rgba(255, 255, 255, 0.09);
	--soft: rgba(255, 255, 255, 0.07);
	color: var(--ink);
}
.page-hero--rich::before {
	content: "";
	position: absolute;
	inset: calc(var(--jx-hero-blur, 0) * -0.7px);
	background: var(--jx-hero-image, url("../img/hero-bg.jpg")) center top / cover no-repeat;
	-webkit-mask: linear-gradient(180deg, #000 30%, transparent 96%);
	mask: linear-gradient(180deg, #000 30%, transparent 96%);
	scale: 1.1;
	filter: blur(calc(var(--jx-hero-blur, 0) * 0.55px));
	animation: hero-drift 28s ease-in-out infinite alternate;
	opacity: 0.8;
}
.page-hero--rich.is-hero-plain::before { content: none; }
.page-hero--rich.has-hero-shade::after {
	content: "";
	position: absolute;
	z-index: 0;
	left: 50%;
	top: 8%;
	width: min(920px, 86vw);
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(closest-side, var(--jx-hero-shade) 0, transparent 100%);
	opacity: 0.62;
	transform: translate(-50%, -10%);
	pointer-events: none;
}
.page-hero--rich > * { position: relative; z-index: 1; }
.page-hero--rich .kicker { color: #b9a7ff; }
.page-hero--rich h1 {
	max-width: 18ch;
	margin: 0 auto 18px;
	font-size: clamp(38px, 5.4vw, 68px);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.2;
	padding-bottom: 0.08em;
	background: linear-gradient(90deg, #6a58c8 0%, #b9a2ff 40%, #f1e7ff 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	text-wrap: balance;
}
.page-hero--rich .lede { margin-inline: auto; color: #fff; max-width: 40rem; }
.page-hero--rich .wp-block-buttons { margin-top: 28px; justify-content: center; }
[data-theme="light"] .page-hero--rich {
	background: linear-gradient(180deg, #ebe4fa 0, transparent 100%);
	--ink: #1b0c33;
	--muted: #5f5478;
	--line: rgba(40, 15, 80, 0.12);
	--soft: rgba(60, 30, 130, 0.07);
}
[data-theme="light"] .page-hero--rich::before { filter: invert(1) hue-rotate(180deg) saturate(1.25) blur(calc(var(--jx-hero-blur, 0) * 0.55px)); opacity: 0.55; }
[data-theme="light"] .page-hero--rich.has-hero-image::before { filter: blur(calc(var(--jx-hero-blur, 0) * 0.55px)); opacity: 0.8; }
[data-theme="light"] .page-hero--rich h1 { background-image: linear-gradient(90deg, #3b2a8f 0%, #6a50e8 45%, #d4567a 100%); }
[data-theme="light"] .page-hero--rich .kicker { color: var(--accent-2); }
[data-theme="light"] .page-hero--rich .lede { color: var(--ink); }
.page-hero--rich + .page-body { padding-top: 10px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { padding: 30px 24px; text-align: center; border: 1px solid var(--line); border-radius: 22px; background: var(--card); }
.stat__num { font-family: var(--display); font-size: clamp(34px, 4vw, 48px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; background: linear-gradient(90deg, #8f7cff, #ff8a5c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { margin-top: 6px; color: var(--muted); }

.feature-grid--plain { grid-template-columns: repeat(3, 1fr); }
.feature-grid--plain > .card { padding-bottom: 32px; }
.feature-grid--plain h3 { margin-bottom: 10px; }

.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.split--reverse .split__copy { order: 2; }
.split__copy h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 16px; }
.split__text { color: var(--muted); font-size: 18px; margin-bottom: 22px; }
.point { display: flex; align-items: flex-start; gap: 12px; margin-top: 12px; }
.tick { display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%; background: rgba(123, 102, 242, 0.2); color: var(--accent-2); }
.tick .icon { width: 14px; height: 14px; }
.split__visual .dash { height: 420px; }
.art-img { display: block; width: 100%; height: auto; border-radius: 26px; border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(30, 10, 70, 0.25); }

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote { display: flex; flex-direction: column; gap: 18px; padding: 30px 28px; }
.stars { color: #ffb23f; letter-spacing: 3px; font-size: 16px; }
.quote__text { flex: 1; font-size: 18px; line-height: 1.6; }
.quote__who { display: flex; align-items: center; gap: 14px; }
.quote__name { font-family: var(--display); font-weight: 700; }
.quote__role { color: var(--muted); font-size: 14px; }
.avatar {
	display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%;
	background: linear-gradient(135deg, hsl(var(--h, 260) 80% 66%), hsl(calc(var(--h, 260) + 50) 80% 46%));
	color: #fff; font-family: var(--display); font-weight: 800; font-size: 16px;
}
.avatar--xl { width: 96px; height: 96px; margin: 0 auto 18px; font-size: 30px; box-shadow: 0 16px 40px hsl(var(--h, 260) 80% 50% / 0.35); }

.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case { overflow: hidden; padding: 0; transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1); }
.case:hover { transform: translateY(-5px); }
.case__img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.case__body { padding: 22px 24px 26px; }
.case__body h3 { margin: 14px 0 10px; font-size: 20px; line-height: 1.3; }
.case__metric { color: var(--accent-2); font-family: var(--display); font-weight: 700; }

.timeline { position: relative; display: grid; gap: 20px; max-width: 820px; margin: 0 auto; padding-left: 40px; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--accent), transparent); }
.timeline__item { position: relative; }
.timeline__item::before { content: ""; position: absolute; left: -36px; top: 26px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(123, 102, 242, 0.25); }
.timeline__year { margin-bottom: 8px; color: var(--accent-2); font-family: var(--display); font-weight: 800; letter-spacing: 0.08em; }
.timeline__item .card { padding: 22px 26px; }
.timeline__item h3 { font-size: 20px; margin-bottom: 8px; }
.timeline__item p { color: var(--muted); }

.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.person { padding: 32px 20px 28px; text-align: center; }
.person h3 { font-size: 19px; }
.person p { color: var(--muted); }

.band__inner--cta { grid-template-columns: 1fr auto; }
.band__inner--cta .band__copy p { max-width: 34rem; }

.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq .wp-block-details { border: 1px solid var(--line); border-radius: 18px; background: var(--card); padding: 0; overflow: hidden; transition: border-color 0.25s; }
.faq .wp-block-details[open] { border-color: rgba(123, 102, 242, 0.5); }
.faq summary { position: relative; padding: 20px 56px 20px 24px; font-family: var(--display); font-weight: 600; font-size: 18px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--soft); font-size: 20px; transition: rotate 0.3s, background 0.2s; }
.faq .wp-block-details[open] summary::after { rotate: 45deg; background: var(--accent); color: #fff; }
.faq .wp-block-details p { padding: 0 24px 22px; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 28px; align-items: start; }
.contact__info { display: grid; gap: 16px; }
.contact__card { display: flex; gap: 18px; padding: 22px 24px; align-items: flex-start; }
.contact__card h3 { font-size: 18px; margin-bottom: 4px; }
.contact__value { font-weight: 600; word-break: break-word; }
.contact__value a { text-decoration: none; }
.contact__value a:hover { color: var(--accent-2); }
.contact__note { color: var(--muted); font-size: 14px; }
.contact__form { padding: 36px 34px 34px; }
.contact__form h2 { font-size: 28px; margin-bottom: 8px; }
.contact__form > p { color: var(--muted); margin-bottom: 24px; }

.jx-form p { margin: 0 0 16px; }
.jx-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.jx-form label,
.wpcf7 label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 600; }
.jx-form input[type="text"],
.jx-form input[type="email"],
.jx-form select,
.jx-form textarea,
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
	width: 100%;
	min-height: 50px;
	padding: 12px 16px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: var(--soft);
	color: var(--ink);
	font: inherit;
	transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.jx-form textarea,
.wpcf7 textarea { min-height: 150px; resize: vertical; }
.jx-form input:focus,
.jx-form select:focus,
.jx-form textarea:focus,
.wpcf7 input:focus,
.wpcf7 textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(123, 102, 242, 0.22); }
.jx-form__consent label,
.wpcf7-acceptance label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--muted); }
.jx-form__trap { position: absolute; left: -9999px; }
.jx-form__notice { padding: 14px 18px; border-radius: 14px; font-weight: 500; }
.jx-form__notice--ok { background: rgba(69, 207, 140, 0.16); border: 1px solid rgba(69, 207, 140, 0.5); }
.jx-form__notice--err { background: rgba(230, 108, 108, 0.16); border: 1px solid rgba(230, 108, 108, 0.5); }
.wpcf7 input[type="submit"] {
	min-height: 52px; padding: 0 30px; border: 0; border-radius: 999px; background: var(--accent); color: #fff;
	font-family: var(--display); font-weight: 600; font-size: 17px; cursor: pointer; transition: filter 0.2s;
}
.wpcf7 input[type="submit"]:hover { filter: brightness(1.12); }
.wpcf7 p { margin: 0 0 16px; }
.wpcf7-not-valid-tip { margin-top: 6px; color: #e66c6c; font-size: 13px; }
.wpcf7 form .wpcf7-response-output { margin: 18px 0 0; padding: 14px 18px; border-radius: 14px; border-color: var(--accent); }

@media (max-width: 1000px) {
	.stats { grid-template-columns: repeat(2, 1fr); }
	.feature-grid--plain,
	.quotes,
	.cases { grid-template-columns: 1fr 1fr; }
	.team { grid-template-columns: repeat(2, 1fr); }
	.split { grid-template-columns: 1fr; gap: 36px; }
	.split--reverse .split__copy { order: 0; }
	.contact-grid { grid-template-columns: 1fr; }
	.band__inner--cta { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
	.feature-grid--plain,
	.quotes,
	.cases,
	.team,
	.jx-form__row { grid-template-columns: 1fr; }
	.stats { gap: 12px; }
	.page-hero--rich { padding: 130px 0 50px; }
	.contact__form { padding: 26px 20px; }
	.split__visual .dash { height: 330px; }
}
@media (prefers-reduced-motion: reduce) {
	.page-hero--rich::before { animation: none; }
}

/* Lottie-style motion: small, smooth, looping vector animation ------------ */
@keyframes icon-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes icon-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }
@keyframes icon-ring { 0% { scale: 0.85; opacity: 0.55; } 100% { scale: 1.55; opacity: 0; } }
@keyframes gem-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes gem-pulse { 0%, 100% { scale: 1; opacity: 0.55; } 50% { scale: 1.18; opacity: 0.8; } }
@keyframes gem-shimmer { 0%, 100% { opacity: 0; } 50% { opacity: 0.2; } }
@keyframes gem-flow { to { stroke-dashoffset: -60; } }
@keyframes bar-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes dot-pulse { 0%, 100% { r: 4; } 50% { r: 7; } }

/* Icons draw themselves once when their card appears, then float gently. */
.feature-grid__icon,
.steps__icon { position: relative; animation: icon-float 5.5s ease-in-out infinite; }
.feature-grid__icon::after,
.steps__icon::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 1.5px solid var(--accent);
	opacity: 0;
	animation: icon-ring 3.6s ease-out infinite;
}
.feature-grid > .card:nth-child(2) .feature-grid__icon { animation-delay: -1.2s; }
.feature-grid > .card:nth-child(3) .feature-grid__icon { animation-delay: -2.4s; }
.feature-grid > .card:nth-child(4) .feature-grid__icon { animation-delay: -3.6s; }
.feature-grid > .card:nth-child(2) .feature-grid__icon::after { animation-delay: 0.9s; }
.feature-grid > .card:nth-child(3) .feature-grid__icon::after { animation-delay: 1.8s; }
.feature-grid > .card:nth-child(4) .feature-grid__icon::after { animation-delay: 2.7s; }
.feature-grid__icon .icon *,
.steps__icon .icon *,
.contact__card .icon * { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .rv:not(.is-in) .feature-grid__icon .icon *,
.js .rv:not(.is-in) .steps__icon .icon * { stroke-dashoffset: 1; }
.rv.is-in .feature-grid__icon .icon *,
.rv.is-in .steps__icon .icon * { animation: icon-draw 1.1s 0.25s cubic-bezier(0.65, 0, 0.35, 1) backwards; }
.card:hover .feature-grid__icon .icon * { animation: icon-draw 0.9s cubic-bezier(0.65, 0, 0.35, 1) backwards; }
.card:hover .feature-grid__icon { background: var(--accent); color: #fff; }
.feature-grid__icon,
.steps__icon { transition: background 0.3s, color 0.3s; }

/* Gems float, pulse and shimmer */
.gem { animation: gem-float 7s ease-in-out infinite; }
.card--gem:nth-child(2) .gem { animation-delay: -2.3s; }
.card--gem:nth-child(3) .gem { animation-delay: -4.6s; }
.gem .g-pulse,
.gem .g-ring { transform-box: fill-box; transform-origin: center; }
.gem .g-pulse { animation: gem-pulse 3.4s ease-in-out infinite; }
.gem .g-ring { animation: gem-pulse 3.4s ease-in-out -1.7s infinite; }
.gem .g-shimmer { animation: gem-shimmer 4.5s ease-in-out infinite; }
.gem .g-flow { stroke-dasharray: 24 36; animation: gem-flow 3.2s linear infinite; }

/* Dashboard: the line draws, bars grow, the point pulses */
.dash-line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: icon-draw 2.4s 0.4s cubic-bezier(0.65, 0, 0.35, 1) forwards; }
.dash-dot { animation: dot-pulse 2.4s ease-in-out infinite; }
.dash__bars i { transform-origin: 50% 100%; animation: bar-grow 1.1s cubic-bezier(0.22, 1, 0.36, 1) backwards; }
.dash__bars i:nth-child(2) { animation-delay: 0.1s; }
.dash__bars i:nth-child(3) { animation-delay: 0.2s; }
.dash__bars i:nth-child(4) { animation-delay: 0.3s; }
.dash__bars i:nth-child(5) { animation-delay: 0.4s; }
.dash__bars i:nth-child(6) { animation-delay: 0.5s; }
.dash__live i::after { animation: bar-grow 1.2s 0.3s cubic-bezier(0.22, 1, 0.36, 1) backwards; transform-origin: 0 50%; animation-name: live-grow; }
@keyframes live-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.dash__donut > i { animation: spin-in 1.6s cubic-bezier(0.22, 1, 0.36, 1) backwards; }
@keyframes spin-in { from { rotate: -120deg; opacity: 0; } to { rotate: 0deg; opacity: 1; } }
.art-img,
.case__img,
.card-post__art { transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }

@media (prefers-reduced-motion: reduce) {
	.feature-grid__icon,
	.steps__icon,
	.feature-grid__icon::after,
	.steps__icon::after,
	.gem,
	.gem *,
	.dash-line,
	.dash-dot,
	.dash__bars i,
	.dash__live i::after,
	.dash__donut > i { animation: none !important; }
	.dash-line { stroke-dashoffset: 0; }
}

/* Layout with a sidebar ---------------------------------------------------- */
.layout { display: grid; gap: 44px; align-items: start; padding-bottom: 90px; }
.layout--right { grid-template-columns: minmax(0, 1fr) 340px; }
.layout--left { grid-template-columns: 340px minmax(0, 1fr); }
.layout--left .layout__side { order: -1; }
.layout--none { grid-template-columns: minmax(0, 1fr); }
.layout--sticky .layout__side { position: sticky; top: 110px; }
body.admin-bar .layout--sticky .layout__side { top: 142px; }
.layout .entry { max-width: none; }
.layout .entry > :where(p, ul, ol, h2, h3, h4, blockquote, figure, pre) { max-width: 760px; }
.layout .card-grid { grid-template-columns: repeat(2, 1fr); }
.layout--none .card-grid { grid-template-columns: repeat(3, 1fr); }

.layout__side { display: grid; gap: 22px; }
.widget { padding: 24px 24px 26px; }
.widget__title { margin-bottom: 14px; font-size: 18px; }
.widget--search .search { margin-top: 0; }
.widget--about p { color: var(--muted); margin-bottom: 12px; }
.widget__list,
.widget ul { margin: 0; padding: 0; list-style: none; }
.widget__list li,
.widget ul li { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.widget__list li:last-child,
.widget ul li:last-child { border-bottom: 0; }
.widget a { text-decoration: none; }
.widget a:hover { color: var(--accent-2); }
.widget__list span { color: var(--muted); font-size: 14px; }
.recent { display: grid; gap: 14px; }
.recent li { display: flex !important; gap: 14px; align-items: center; padding: 0 !important; border: 0 !important; }
.recent__thumb { flex: none; width: 72px; height: 72px; border-radius: 14px; overflow: hidden; }
.recent__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.recent span { display: grid; gap: 4px; font-weight: 600; line-height: 1.35; }
.recent time { color: var(--muted); font-size: 13px; font-weight: 400; }
.widget--promo {
	display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 28px 26px; border-radius: var(--radius); color: #fff;
	background: radial-gradient(120% 80% at 100% 0, rgba(255, 122, 47, 0.35), transparent 60%), linear-gradient(160deg, #6b2fb0, #2b0b52);
}
.widget--promo h3 { font-size: 22px; line-height: 1.25; }
.widget--promo p { color: rgba(255, 255, 255, 0.85); }
.search:not(body) { display: flex; gap: 8px; }
.search input[type="search"] { flex: 1; min-width: 0; }

/* Post list: list layout */
.blog-list .layout .card-grid,
.blog-list .layout--none .card-grid { grid-template-columns: 1fr; gap: 20px; }
.blog-list .layout .card-post { flex-direction: row; }
.blog-list .layout .card-post__media { flex: 0 0 280px; aspect-ratio: auto; }
.blog-list .layout .card-post__body { align-self: center; }
.blog-list .layout .card-post--featured { min-height: 0; }

/* Single post */
.page-hero--post h1 { max-width: 22ch; }
.post-meta { display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; color: var(--muted); }
.post-meta .avatar { width: 32px; height: 32px; font-size: 13px; }
.post__image { margin: 0 0 32px; }
.post__image img { display: block; width: 100%; height: auto; border-radius: 24px; border: 1px solid var(--line); }
.post__tags { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.post__tags a { padding: 4px 12px; border-radius: 999px; background: var(--soft); text-decoration: none; font-size: 14px; }
.author { display: flex; gap: 22px; align-items: center; margin-top: 40px; padding: 26px 28px; }
.author .avatar--xl { margin: 0; flex: none; width: 76px; height: 76px; font-size: 26px; }
.author__label { color: var(--accent-2); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.author h3 { margin: 2px 0 6px; font-size: 20px; }
.author p { color: var(--muted); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.post-nav a { display: grid; gap: 6px; padding: 20px 22px; text-decoration: none; transition: transform 0.3s, border-color 0.2s; }
.post-nav a:hover { transform: translateY(-3px); border-color: rgba(123, 102, 242, 0.55); }
.post-nav small { color: var(--accent-2); font-weight: 700; }
.post-nav span { font-family: var(--display); font-weight: 600; line-height: 1.35; }
.post-nav__next { text-align: right; grid-column: 2; }
.comments-wrap { max-width: none; margin: 40px 0 0; padding: 0; }

@media (max-width: 1000px) {
	.layout--right,
	.layout--left { grid-template-columns: minmax(0, 1fr); }
	.layout--left .layout__side { order: 0; }
	.layout--sticky .layout__side { position: static; }
	.layout .card-grid,
	.layout--none .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
	.layout .card-grid,
	.layout--none .card-grid { grid-template-columns: 1fr; }
	.blog-list .layout .card-post { flex-direction: column; }
	.blog-list .layout .card-post__media { flex: none; aspect-ratio: 16 / 10; }
	.post-nav { grid-template-columns: 1fr; }
	.post-nav__next { grid-column: auto; }
	.author { flex-direction: column; text-align: center; }
}

/* Keep sidebar widgets inside their column */
.layout__side,
.layout__main { min-width: 0; }
.layout__side .widget { min-width: 0; overflow: hidden; }
.search input { min-width: 0; width: 100%; }
.search .btn { flex: none; padding: 0 16px; }

/* Compact sidebar */
.layout { gap: 36px; }
.layout--right { grid-template-columns: minmax(0, 1fr) 300px; }
.layout--left { grid-template-columns: 300px minmax(0, 1fr); }
.layout__side { gap: 14px; }
.widget { padding: 16px 18px 18px; border-radius: 18px; }
.widget__title { margin-bottom: 8px; font-size: 15px; letter-spacing: 0; }
.widget--about p { margin-bottom: 8px; font-size: 14.5px; line-height: 1.5; }
.widget__list li,
.widget ul li { padding: 7px 0; font-size: 15px; }
.widget--search .search input { min-height: 40px; padding: 0 12px; border-radius: var(--radius); }
.widget--search .search .btn { min-height: 40px; padding: 0 14px; border-radius: var(--radius); font-size: 14px; }
.more { margin-top: 0; }
.widget .more { font-size: 14.5px; }
.recent { gap: 10px; }
.recent__thumb { width: 56px; height: 56px; border-radius: var(--radius); }
.recent span { font-size: 14px; }
.recent time { font-size: 12px; }
.widget--promo { gap: 8px; padding: 20px 20px 22px; border-radius: 18px; }
.widget--promo h3 { font-size: 18px; }
.widget--promo p { font-size: 14px; line-height: 1.5; }
.widget--promo .btn { min-height: 40px; padding: 0 16px; font-size: 14px; }

/* Journal: compact image on the left, text on the right */
.blog-list .layout .card-grid { gap: 18px; }
.blog-list .layout .card-post { flex-direction: row; align-items: stretch; border-radius: 20px; }
.blog-list .layout .card-post__media { flex: 0 0 230px; aspect-ratio: auto; min-height: 168px; }
.blog-list .layout .card-post__media img { height: 100%; }
.blog-list .layout .card-post__body { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 20px 24px; }
.blog-list .layout .card-post h3 { margin: 10px 0 8px; font-size: 20px; }
.blog-list .layout .card-post p { font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-post__date { display: block; margin-top: 10px; color: var(--muted); font-size: 13px; }
.blog-list .layout .card-post .tag { align-self: flex-start; }
@media (max-width: 720px) {
	.blog-list .layout .card-post { flex-direction: row; }
	.blog-list .layout .card-post__media { flex: 0 0 110px; min-height: 0; }
	.blog-list .layout .card-post__body { padding: 14px 16px; }
	.blog-list .layout .card-post h3 { font-size: 16px; }
	.blog-list .layout .card-post p { display: none; }
}

/* Footer ------------------------------------------------------------------ */
.site-footer {
	position: relative;
	margin-top: 60px;
	padding: 72px 0 0;
	overflow: hidden;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	background:
		radial-gradient(60% 80% at 15% 0, rgba(123, 102, 242, 0.18), transparent 70%),
		radial-gradient(50% 70% at 95% 10%, rgba(255, 122, 47, 0.1), transparent 70%),
		#0b0314;
}
[data-theme="light"] .site-footer {
	background:
		radial-gradient(60% 80% at 15% 0, rgba(123, 102, 242, 0.12), transparent 70%),
		radial-gradient(50% 70% at 95% 10%, rgba(255, 122, 47, 0.08), transparent 70%),
		#ece6f8;
}
.footer__grid { display: grid; grid-template-columns: 1.3fr 0.7fr 0.7fr; gap: 48px; padding-bottom: 56px; }
.footer__grid--nl { grid-template-columns: 1.1fr 0.6fr 0.6fr 1.2fr; }
.footer__brand p { margin: 16px 0 22px; max-width: 30rem; color: var(--muted); }
.footer__brand .brand { margin-bottom: 4px; }
.footer__col h2 { margin: 0 0 18px; font-family: var(--display); font-size: 17px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--ink); }
.footer__menu,
.footer__legal { margin: 0; padding: 0; list-style: none; }
.footer__menu li + li { margin-top: 12px; }
.footer__menu a,
.footer__legal a { position: relative; color: var(--muted); text-decoration: none; transition: color 0.2s, padding 0.25s; }
.footer__menu a:hover { color: var(--ink); padding-left: 6px; }
.footer__menu--inline { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; }
.footer__menu--inline li + li { margin: 0; }
.footer__menu--inline a:hover { padding-left: 0; }

.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.social {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: var(--soft);
	color: var(--ink);
	transition: background 0.25s, color 0.25s, transform 0.3s cubic-bezier(0.22, 1.4, 0.36, 1), border-color 0.25s;
}
.social .icon { width: 17px; height: 17px; }
.social:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-4px); }

.newsletter h2 { margin: 0 0 8px; font-family: var(--display); font-size: 19px; }
.newsletter p { color: var(--muted); font-size: 15px; }
.newsletter form { display: flex; gap: 8px; margin-top: 16px; padding: 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--soft); }
.newsletter form:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(123, 102, 242, 0.2); }
.newsletter input[type="email"] { flex: 1; min-width: 0; padding: 0 16px; border: 0; background: transparent; color: var(--ink); font: inherit; outline: 0; }
.newsletter .btn { min-height: 42px; padding: 0 20px; border-radius: 999px; }
.newsletter__msg { margin-top: 12px; font-size: 14px; font-weight: 500; }
.newsletter__msg--ok { color: #45cf8c; }
.newsletter__msg--err { color: #e66c6c; }
.newsletter--center { max-width: 520px; margin: 34px auto 0; text-align: center; }

.footer__mark { margin-top: -10px; line-height: 0.78; text-align: center; user-select: none; pointer-events: none; }
.footer__mark span {
	display: block;
	font-family: var(--display);
	font-size: clamp(110px, 21vw, 300px);
	font-weight: 800;
	letter-spacing: -0.05em;
	color: transparent;
	-webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.34);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 75%);
	-webkit-background-clip: text;
	background-clip: text;
	transform: translateY(16%);
}
[data-theme="light"] .footer__mark span { -webkit-text-stroke-color: rgba(40, 15, 80, 0.28); background-image: linear-gradient(180deg, rgba(60, 30, 130, 0.2), transparent 75%); }

.footer__base {
	position: relative;
	z-index: 1;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	padding: 22px 0 26px;
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: 14px;
}
.footer__base--center { justify-content: center; border-top: 0; }
.footer__legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__legal a:hover { color: var(--ink); }

/* centered template */
.footer__center { display: grid; justify-items: center; gap: 22px; padding-bottom: 56px; text-align: center; }
.footer__about { max-width: 36rem; color: var(--muted); }
.footer__center .socials { justify-content: center; }
/* cta template */
.footer__cta {
	display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 64px; padding: 44px 48px; border-radius: 30px; color: #fff;
	background: radial-gradient(90% 120% at 100% 0, rgba(255, 122, 47, 0.4), transparent 60%), linear-gradient(135deg, #6b2fb0, #34106b);
	box-shadow: 0 40px 80px rgba(40, 10, 100, 0.35);
}
.footer__cta h2 { margin-bottom: 8px; font-size: clamp(26px, 3vw, 36px); color: #fff; }
.footer__cta p { max-width: 34rem; color: rgba(255, 255, 255, 0.85); font-size: 18px; }
/* minimal template */
.footer__minimal { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; padding-bottom: 36px; }
.site-footer--minimal { padding-top: 48px; }

@media (max-width: 1000px) {
	.footer__grid,
	.footer__grid--nl { grid-template-columns: 1fr 1fr; gap: 36px; }
	.footer__brand { grid-column: 1 / -1; }
	.footer__nl { grid-column: 1 / -1; }
	.footer__cta { flex-direction: column; align-items: flex-start; padding: 32px 28px; }
}
@media (max-width: 720px) {
	.footer__grid,
	.footer__grid--nl { grid-template-columns: 1fr 1fr; }
	.footer__base { flex-direction: column; align-items: flex-start; }
	.footer__minimal { flex-direction: column; align-items: flex-start; }
	.newsletter form { flex-direction: column; border-radius: 22px; }
	.newsletter .btn { width: 100%; }
}

/* Zoliax blocks ------------------------------------------------------------ */
.feature-grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.feature-grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.feature-grid--cols-4 { grid-template-columns: repeat(4, 1fr); }
.feature-grid > .card { display: flex; flex-direction: column; }
.feature-grid > .card p:not(.more) { flex: 1; }
.stats--2 { grid-template-columns: repeat(2, 1fr); }
.stats--3 { grid-template-columns: repeat(3, 1fr); }
.page-hero--rich .hero__actions { margin-top: 28px; }
@media (max-width: 1000px) {
	.feature-grid--cols-3,
	.feature-grid--cols-4,
	.stats--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
	.feature-grid--cols-2,
	.feature-grid--cols-3,
	.feature-grid--cols-4,
	.stats--2,
	.stats--3 { grid-template-columns: 1fr; }
}

/* Posts ------------------------------------------------------------------- */
.read-progress { position: fixed; z-index: 60; left: 0; right: 0; top: 0; height: 3px; pointer-events: none; }
body.admin-bar .read-progress { top: 32px; }
.read-progress i { display: block; width: 100%; height: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--accent), #ff8a5c); }

.crumb-bar {
	position: relative;
	z-index: 5;
	background: rgba(18, 4, 31, 0.96);
	border-bottom: 1px solid rgba(246, 243, 255, 0.14);
}
.crumb-bar__in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 52px;
}
.crumb-bar .crumbs { min-width: 0; }
.crumb-bar .crumbs ol { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 6px 4px; margin: 0; padding: 10px 0; list-style: none; font-size: 14px; }
.crumb-bar .crumbs li + li::before { content: "/"; margin-right: 4px; color: var(--muted); opacity: 0.7; }
.crumb-bar .crumbs a { color: var(--muted); text-decoration: none; }
.crumb-bar .crumbs a:hover { color: var(--ink); }
.crumb-bar .crumbs [aria-current="page"] { color: var(--ink); }
.crumb-bar .socials { flex: none; margin-left: auto; }
.crumb-bar .social { width: 34px; height: 34px; }
.crumb-bar .social:hover { transform: none; }
.crumb-bar + main .page-hero--rich { margin-top: 0; padding-top: 56px; }
[data-theme="light"] .crumb-bar {
	background: #f6f3fc;
	border-bottom-color: rgba(40, 15, 80, 0.1);
}
@media (max-width: 720px) {
	.crumb-bar__in { flex-wrap: wrap; gap: 4px 16px; padding: 8px 0; }
	.crumb-bar .crumbs ol { padding: 0; }
	.crumb-bar .socials { width: 100%; justify-content: flex-end; }
	.crumb-bar + main .page-hero--rich { padding-top: 40px; }
}

.toc { margin: 0 0 32px; padding: 20px 24px; }
.toc__title { margin: 0 0 10px; font-family: var(--display); font-weight: 700; }
.toc ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.toc li.is-sub { margin-left: 18px; list-style: circle; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--accent-2); }
.entry h2[id],
.entry h3[id] { scroll-margin-top: 110px; }

.share { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.share__label { margin-right: 6px; color: var(--muted); font-weight: 600; }
.share .social { cursor: pointer; }
.share__done { color: #45cf8c; font-size: 14px; }

.related { margin-top: 70px; }
.related h2 { margin-bottom: 22px; font-size: 28px; }
.related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.layout .related__grid { grid-template-columns: repeat(2, 1fr); }
.related .card-post { flex-direction: column !important; }
.related .card-post__media { flex: none !important; aspect-ratio: 16 / 10 !important; min-height: 0 !important; }
.related .card-post p { display: none; }

.tag--premium { display: inline-flex; align-items: center; gap: 5px; background: linear-gradient(90deg, #ff8a5c, #e0527a); color: #fff !important; }
.tag--premium .icon { width: 12px; height: 12px; }

.wall-preview { position: relative; max-height: 220px; overflow: hidden; }
.wall-preview::after { content: ""; position: absolute; inset: auto 0 0; height: 140px; background: linear-gradient(180deg, transparent, var(--bg)); }
.wall { display: grid; justify-items: center; gap: 12px; margin: 10px 0 0; padding: 40px 30px; text-align: center; }
.wall__lock { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, #ff8a5c, #e0527a); color: #fff; }
.wall__lock .icon { width: 26px; height: 26px; }
.wall h2 { font-size: 26px; }
.wall p { max-width: 34rem; color: var(--muted); }
.wall__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }

/* Sliders (Slider Revolution and friends) */
.jx-slider,
.entry .rs-module-wrap,
.entry .rs-fullwidth-wrap { max-width: none; }
.jx-slider { position: relative; margin-bottom: 0; }
.slider-note { padding: 18px; border: 1px dashed var(--line); border-radius: 14px; color: var(--muted); text-align: center; }
.slider-edit { padding: 16px 18px; border: 1px dashed rgba(123, 102, 242, 0.6); border-radius: 14px; }
.has-slider .site-header { position: fixed; left: 0; right: 0; top: 0; }
body.admin-bar.has-slider .site-header { top: 32px; }
.has-slider main > .jx-slider:first-child,
.has-slider main > .rs-module-wrap:first-child,
.has-slider main > rs-module-wrap:first-child { margin-top: 0; }

@media (max-width: 1000px) {
	.related__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
	.related__grid,
	.layout .related__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .read-progress i { transition: none; } }

.footer__legal { margin: 0; padding: 0; list-style: none; }
.footer__legal li { display: inline; }
.footer__base .footer__legal { margin-left: auto; }
@media (max-width: 720px) { .footer__base .footer__legal { margin-left: 0; } }

/* Compact header: switch to the menu button before the links get crowded */
.bar__actions .btn { white-space: nowrap; }
@media (max-width: 1180px) {
	.nav__link { padding: 10px 10px; font-size: 15px; }
	.bar__inner { gap: 16px; }
}
/* Phone menu: stacked rows. The desktop list (and its tabs) stays hidden here. */
.nav-m { display: none; }

@media (max-width: 1100px) {
	.nav-toggle { display: grid; place-items: center; margin-left: 0; }
	.bar__inner { gap: 10px; }
	.brand { margin-right: auto; }
	.nav {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		z-index: 40;
		max-height: calc(100dvh - var(--header, 72px) - 12px);
		margin: 0;
		padding: 8px 12px 16px;
		overflow: auto;
		background: #000;
		border-bottom: 1px solid var(--line);
		-webkit-overflow-scrolling: touch;
	}
	body.nav-open .nav { display: block; }
	.nav__list { display: none; }
	.nav-m {
		display: flex;
		flex-direction: column;
		gap: 2px;
		margin: 0;
		padding: 0;
		list-style: none;
	}
	.nav-m__row { display: flex; align-items: center; gap: 4px; }
	.nav-m__link {
		flex: 1;
		min-height: 48px;
		display: flex;
		align-items: center;
		padding: 8px 12px;
		border-radius: 12px;
		color: #fff;
		text-decoration: none;
		font-family: var(--display);
		font-size: 17px;
		font-weight: 600;
	}
	.nav-m__item.is-current > .nav-m__row .nav-m__link { background: rgba(123, 102, 242, 0.16); color: #cdbfff; }
	.nav-m__more,
	.nav-m__secbtn {
		display: flex;
		align-items: center;
		gap: 12px;
		border: 0;
		background: transparent;
		color: #fff;
		cursor: pointer;
		font-family: var(--display);
		font-weight: 600;
		text-align: left;
	}
	.nav-m__more {
		flex: none;
		justify-content: center;
		width: 44px;
		height: 44px;
		border-radius: 12px;
	}
	.nav-m__more .icon { width: 18px; height: 18px; transition: transform 0.25s; }
	.nav-m__more[aria-expanded="true"] .icon { transform: rotate(180deg); }
	.nav-m__panel { padding: 2px 0 8px 8px; }
	.nav-m__sec + .nav-m__sec { margin-top: 2px; }
	.nav-m__secbtn {
		width: 100%;
		min-height: 48px;
		padding: 6px 8px;
		border-radius: 12px;
		font-size: 16px;
	}
	.nav-m__secbtn > span:nth-child(2) { flex: 1; min-width: 0; }
	.nav-m__secbtn > .icon { width: 16px; height: 16px; flex: none; opacity: 0.7; transition: transform 0.25s; }
	.nav-m__secbtn[aria-expanded="true"] { background: rgba(123, 102, 242, 0.16); }
	.nav-m__secbtn[aria-expanded="true"] > .icon { transform: rotate(180deg); opacity: 1; }
	.nav-m .mega-link__icon { width: 32px; height: 32px; border-radius: 9px; }
	.nav-m .mega-link__icon .icon { width: 16px; height: 16px; }
	.nav-m__links { margin: 2px 0 6px; padding: 0 0 0 10px; list-style: none; }
	.nav-m__child {
		display: flex;
		align-items: center;
		gap: 10px;
		min-height: 44px;
		padding: 4px 8px;
		border-radius: 12px;
		color: #fff;
		text-decoration: none;
		font-size: 15px;
		font-weight: 500;
	}
	.nav-m__child:hover,
	.nav-m__link:hover,
	.nav-m__more:hover,
	.nav-m__secbtn:hover { background: rgba(123, 102, 242, 0.14); }
	.bar__actions .btn { display: none; }
	.header-center .bar__inner { display: flex; }
	.header-center .brand { order: 0; }
}
[data-theme="light"] .nav-m__link,
[data-theme="light"] .nav-m__more,
[data-theme="light"] .nav-m__secbtn,
[data-theme="light"] .nav-m__child { color: var(--ink); }
[data-theme="light"] .nav-m__item.is-current > .nav-m__row .nav-m__link,
[data-theme="light"] .nav-m__secbtn[aria-expanded="true"] { color: #4a33c8; background: rgba(91, 67, 214, 0.1); }

.woocommerce ul.products li.product .woocommerce-loop-product__title { padding: 0 22px; margin: 0; }
.woocommerce ul.products li.product .price { margin-top: 4px; }

/* Language switcher */
.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 0; border-radius: 12px; background: transparent; color: #fff; font-family: var(--display); font-weight: 600; font-size: 14px; cursor: pointer; transition: background 0.25s, color 0.25s; }
.lang__btn:hover { background: rgba(123, 102, 242, 0.18); color: #cdbfff; }
.lang__btn .icon { width: 18px; height: 18px; }
.lang__chev { width: 14px !important; height: 14px !important; transition: transform 0.25s; }
.lang.is-open .lang__chev { transform: rotate(180deg); }
.lang__list { position: absolute; right: 0; top: calc(100% + 8px); z-index: 40; min-width: 190px; margin: 0; padding: 8px; list-style: none; border: 1px solid var(--line); border-radius: 16px; background: rgba(18, 5, 31, 0.98); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45); }
.lang__list a { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: var(--radius); color: #f6f3ff; text-decoration: none; font-size: 15px; }
.lang__list a:hover { background: rgba(123, 102, 242, 0.2); }
.lang__list a[aria-current] { background: rgba(123, 102, 242, 0.14); }
.lang__list b { font-family: var(--display); color: #b9a7ff; min-width: 26px; }
[data-theme="light"] .lang__btn { color: var(--ink); }
[data-theme="light"] .lang__btn:hover { color: #4a33c8; background: rgba(91, 67, 214, 0.1); }
[data-theme="light"] .lang__list { background: #fff; border-color: var(--line); box-shadow: 0 30px 60px rgba(60, 30, 130, 0.18); }
[data-theme="light"] .lang__list a { color: var(--ink); }
[data-theme="light"] .lang__list b { color: var(--accent-2); }
@media (max-width: 1100px) { .lang__btn span { display: none; } .lang__chev { display: none; } .lang__btn { padding: 0 10px; } }

/* WooCommerce blocks (cart, checkout) */
.wc-block-components-button:not(.is-link),
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button { background: var(--accent) !important; color: #fff !important; border: 0 !important; border-radius: 12px !important; font-family: var(--display); font-weight: 600; }
.wc-block-components-button:not(.is-link):hover { filter: brightness(1.1); }
.wc-block-components-text-input input,
.wc-block-components-textarea,
.wc-blocks-components-select__select { background: var(--soft) !important; color: var(--ink) !important; border-color: var(--line) !important; border-radius: 12px !important; }
.wc-block-components-text-input label { color: var(--muted) !important; }
.wc-block-cart-items,
.wc-block-cart-items td,
.wc-block-components-totals-item { color: var(--ink); }
.wc-block-components-sidebar-layout .wc-block-components-main { padding-right: 32px; }

[data-theme="light"] .woocommerce ul.products li.product .button {
	color: #2a1460 !important;
	border-color: rgba(91, 67, 214, 0.35) !important;
	background: rgba(91, 67, 214, 0.08) !important;
	box-shadow: none;
}
[data-theme="light"] .woocommerce ul.products li.product .button:hover { color: #fff !important; }
[data-theme="light"] .shop-side__cats a.is-on,
[data-theme="light"] .shop-side__check.is-on { color: #fff; }
[data-theme="light"] .shop-price input { background: #fff; }
@media (max-width: 980px) {
	.shop-layout { grid-template-columns: 1fr; gap: 22px; }
	.shop-side { position: static; }
}
@media (max-width: 720px) {
	.shop-main ul.products { grid-template-columns: repeat(2, 1fr); }
}

/* Checkout form controls on the dark theme */
.wc-blocks-components-select__container,
.wc-block-components-country-input .wc-blocks-components-select__container { background: var(--soft) !important; border-radius: 12px !important; }
.wc-blocks-components-select__label { color: var(--muted) !important; }
.wc-blocks-components-select__select option { color: #111; background: #fff; }
.wc-block-components-checkbox__mark { color: #fff; }
.wc-block-components-order-summary .wc-block-components-product-name { color: var(--ink); }
.wc-block-components-totals-wrapper { border-color: var(--line) !important; }
.wc-block-components-radio-control__option,
.wc-block-components-radio-control-accordion-option { border-color: var(--line) !important; }
.wc-block-components-panel__button { color: var(--ink); }

/* WordPress classes for content written in the classic editor ---------- */
.alignleft { float: left; margin: 0.4em 1.6em 1em 0; }
.alignright { float: right; margin: 0.4em 0 1em 1.6em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text,
.gallery-caption { margin-top: 8px; color: var(--muted); font-size: 14px; }
.sticky .card-post__body { border-top: 3px solid var(--accent); }
.bypostauthor > article .comment-author b::after { content: " ★"; color: var(--accent); }
.page-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.page-links a,
.page-links > span { display: inline-grid; place-items: center; min-width: 38px; height: 38px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }

/* Menu: the rounded hover background is the only cue — no underline inside a pill. */
.nav__link::after { content: none; }
.nav__item.is-current > .nav__link { background: rgba(123, 102, 242, 0.12); }
[data-theme="light"] .nav__item.is-current > .nav__link { background: rgba(91, 67, 214, 0.08); }

/* The jellyfish mark (inline SVG): it takes the text colour of the header or footer. */
.brand .brand__mark { display: block; width: auto; height: var(--logo-h, 38px); aspect-ratio: 153 / 132; color: var(--ink); flex: none; }
.site-header .brand__mark { color: #fff; }
[data-theme="light"] .site-header .brand__mark { color: var(--ink); }

/* Light mode (the default): the hero and page banners stay light — no inverted artwork. */
[data-theme="light"] .hero::before,
[data-theme="light"] .page-hero--rich:not(.has-hero-image)::before { content: none; }

/* What's included (pricing): every feature by area, paid apps marked as add-ons. */
.jx-incl{ max-width:var(--wrap,1200px); margin:0 auto; padding:clamp(40px,6vw,80px) 16px; }
.jx-incl__title{ margin:0 0 8px; font-family:var(--display); font-size:clamp(28px,3.4vw,40px); color:var(--ink); }
.jx-incl__lede{ margin:0 0 28px; max-width:640px; color:var(--muted); }
.jx-incl__grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:20px; }
.jx-incl__area{ padding:20px; border:1px solid var(--line); border-radius:var(--radius,16px); background:var(--card); }
.jx-incl__area h3{ margin:0 0 12px; font-size:18px; color:var(--ink); }
.jx-incl__area ul{ margin:0; padding:0; list-style:none; }
.jx-incl__area li{ position:relative; padding:6px 0 6px 24px; color:var(--ink); font-size:15px; line-height:1.4; }
.jx-incl__area li::before{ content:""; position:absolute; left:2px; top:11px; width:12px; height:7px; border-left:2px solid var(--accent); border-bottom:2px solid var(--accent); transform:rotate(-45deg); }
.jx-incl__area li.is-addon::before{ border-color:var(--muted); }
.jx-incl__tag{ display:inline-block; margin-left:4px; padding:1px 8px; border:1px solid var(--line); border-radius:999px; color:var(--muted); font-size:12px; white-space:nowrap; }
