:root {
	--bg: #0b0b0f;
	--text: #ffffff;
	--muted: rgba(255, 255, 255, .7);
	--muted2: rgba(255, 255, 255, .5);
	--card: rgba(0, 0, 0, .4);
	--border: rgba(255, 255, 255, .1);
	--grad1: #7c3aed;
	--grad2: #a855f7;
}

@media (max-width:768px) {
	#mobile .card {
		background: #000 !important;
	}
}

* {
	box-sizing: border-box
}

html,
body {
	height: 100%
}

html {
	scroll-behavior: smooth
}

body {
	margin: 0;
	font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, 'Apple Color Emoji', 'Segoe UI Emoji';
	background: var(--bg);
	color: var(--text);
}

.container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 32px
}

h1,
h2,
h3 {
	margin: 0
}

a {
	color: inherit;
	text-decoration: none
}

.button {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	padding: .6rem 1rem;
	border-radius: 14px;
	border: 1px solid var(--border);
	background: linear-gradient(90deg, var(--grad1), var(--grad2));
	color: #fff
}

.button.secondary {
	background: transparent
}

.text-muted {
	color: var(--muted)
}

.card {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: 16px
}

.card.p {
	padding: 32px
}

.card.p h3 {
	margin: 0 0 12px
}

.card.p p {
	margin: 0 0 14px;
	line-height: 1.6
}

.card.p .button {
	margin-top: 12px
}

.mt-2 {
	margin-top: .5rem
}

.mt-3 {
	margin-top: .75rem
}

.mt-4 {
	margin-top: 1rem
}

.mt-6 {
	margin-top: 1.5rem
}

.mt-8 {
	margin-top: 2rem
}

.mt-10 {
	margin-top: 2.5rem
}

.mt-12 {
	margin-top: 3rem
}

.mt-16 {
	margin-top: 4rem
}

.mb-2 {
	margin-bottom: .5rem
}

.grid {
	display: grid;
	gap: 20px
}

.grid-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr))
}

.grid-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr))
}

.grid-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr))
}

@media (max-width:1024px) {

	.grid-2,
	.grid-3,
	.grid-4 {
		grid-template-columns: 1fr
	}
}

.section {
	padding: 96px 0
}

.navwrap {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 40
}

.nav {
	margin: 16px auto;
	backdrop-filter: blur(8px);
	background: rgba(0, 0, 0, .3);
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 12px;
	display: flex;
	align-items: center;
	justify-content: space-between
}

.brand {
	display: flex;
	align-items: center;
	gap: 10px
}

.logo-icon {
	width: auto;
	height: auto;
	display: flex;
	align-items: center;
}

.logo-icon img {
	height: 60px;
	width: auto;
	display: block;
}

.navlinks {
	display: flex;
	gap: 8px;
	align-items: center
}

.navlinks a {
	padding: 8px 12px;
	border-radius: 12px;
	color: rgba(255, 255, 255, .7)
}

.navlinks a.active,
.navlinks a:hover {
	background: rgba(255, 255, 255, .1);
	color: #fff
}

.hamb {
	display: none;
	background: none;
	border: 0;
	color: var(--text);
	font-size: 22px
}

@media (max-width:768px) {
	.navlinks {
		display: none
	}

	.hamb {
		display: block
	}
}

.mobile {
	display: none
}

.mobile.open {
	display: block
}

.mobile .menu a {
	display: block;
	padding: 10px 12px;
	border-radius: 10px;
	color: rgba(255, 255, 255, .8)
}

.mobile .menu a:hover {
	background: rgba(255, 255, 255, .06)
}

.hero {
	padding-top: 120px;
	padding-bottom: 72px
}

.hero .title {
	font-weight: 800;
	font-size: 40px;
	line-height: 1.1
}

.hero .lead {
	margin-top: 16px;
	color: var(--muted);
	font-size: 18px
}

.services .card h3 {
	font-size: 18px;
	margin-top: 10px
}

.services-scroller {
	max-height: 520px;
	overflow-y: auto;
	padding-right: 6px;
	background: transparent !important;
	border: none !important;
}

.services-list {
	padding: 16px 0;
}

.services .card {
	min-height: 180px;
}

.services-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
}

.title-toggle {
	display: flex;
	align-items: center;
	gap: 16px;
}

.services-scroller {
	max-height: 520px;
	overflow-y: auto;
	padding-right: 6px;
	background: transparent;
	border: none;
}

.services-list {
	padding: 16px 0
}

.services-scroller::-webkit-scrollbar {
	width: 10px
}

.services-scroller::-webkit-scrollbar-track {
	background: transparent;
	border-radius: 10px
}

.services-scroller::-webkit-scrollbar-thumb {
	background: linear-gradient(180deg, var(--grad1), var(--grad2));
	border-radius: 10px;
	border: 2px solid rgba(0, 0, 0, .25);
}

.services-scroller {
	scrollbar-width: thin;
	scrollbar-color: var(--grad2) transparent;
}

@media (max-width:1024px) {
	.services-list.grid-4 {
		grid-template-columns: 1fr
	}
}

.kpi {
	font-size: 30px;
	font-weight: 800
}

.accordion {
	border: 1px solid var(--border);
	border-radius: 16px;
	overflow: hidden
}

.ac-item {
	border-top: 1px solid var(--border)
}

.ac-head {
	width: 100%;
	text-align: left;
	background: none;
	border: 0;
	color: #fff;
	padding: 14px 16px;
	display: flex;
	align-items: center;
	justify-content: space-between
}

.ac-body {
	padding: 0 16px 16px 16px;
	color: var(--muted)
}

input,
textarea {
	width: 100%;
	padding: 10px 12px;
	border-radius: 10px;
	border: 1px solid var(--border);
	background: rgba(255, 255, 255, .05);
	color: #fff
}

textarea {
	min-height: 120px
}

#contact-form {
	background: transparent !important;
	border: none !important;
}

footer .links a {
	display: block;
	color: rgba(255, 255, 255, .7);
	margin: 6px 0
}

footer .links a:hover {
	color: #fff
}

.bg-polys {
	position: fixed;
	inset: 0;
	z-index: -1;
	overflow: hidden
}

.bg-polys .base {
	position: absolute;
	inset: 0;
	background: var(--bg)
}

.bg-polys .spot {
	position: absolute;
	inset: 0;
	background: radial-gradient(60% 50% at 70% 20%, rgba(168, 85, 247, .25), transparent 60%)
}

svg.polys {
	position: absolute;
	inset: 0;
	opacity: .6
}

@keyframes sweepX {
	0% {
		transform: translateX(-60px)
	}

	25% {
		transform: translateX(0)
	}

	50% {
		transform: translateX(40px)
	}

	75% {
		transform: translateX(0)
	}

	100% {
		transform: translateX(-60px)
	}
}

.polyrow {
	animation: sweepX 26s ease-in-out infinite
}

.scan {
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(255, 255, 255, .02) 1px, transparent 1px);
	background-size: 100% 32px;
	mix-blend: overlay;
}

.section-head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap
}

.section-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 20px;
}

.section-head h2 {
	margin: 0;
}

.section-head .head-actions {
	display: flex-end;
	gap: 16px;
}

.section-head .muted-link {
	align-self: flex-end;
	margin-bottom: 4px;
}

.muted-link {
	color: rgba(255, 255, 255, .7)
}

.muted-link:hover {
	color: #fff
}

.certs {
	padding-top: 48px;
	padding-bottom: 48px
}

.certs h2 {
	font-size: 28px;
	font-weight: 800
}

.certs .sub {
	color: var(--muted);
	margin-top: 8px
}

.certs-rail {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--border);
	border-radius: 16px;
	background: rgba(255, 255, 255, .03);
	margin-top: 18px
}

.certs-track {
	display: flex;
	gap: 28px;
	align-items: center;
	padding: 16px;
	will-change: transform
}

.certs-item {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	width: 220px;
	height: 110px;
	border: 1px solid var(--border);
	border-radius: 14px;
	background: rgba(0, 0, 0, .35)
}

.certs-item img {
	max-width: 180px;
	max-height: 80px;
	object-fit: contain;
	opacity: .95;
	filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .2))
}

@keyframes scrollLoop {
	0% {
		transform: translateX(0)
	}

	100% {
		transform: translateX(-50%)
	}
}

.certs-track.animate {
	animation: scrollLoop 28s linear infinite
}

.certs-rail:hover .certs-track.animate {
	animation-play-state: paused
}

.head-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap
}

.segmented {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: rgba(255, 255, 255, .06);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 3px;
}

.seg-btn {
	border: 0;
	background: transparent;
	cursor: pointer;
	padding: 6px 12px;
	border-radius: 9px;
	color: rgba(255, 255, 255, .8);
	font-weight: 600
}

.seg-btn.active {
	background: linear-gradient(90deg, var(--grad1), var(--grad2));
	color: #fff
}

.seg-btn:focus {
	outline: 2px solid var(--grad2);
	outline-offset: 1px
}

.section h2 {
	font-size: 40px !important;
	font-weight: 800;
}

.services .card h3 {
	font-size: 22px !important;
}

.services .card p {
	font-size: 16px !important;
	line-height: 1.7;
}

p,
.text-muted {
	font-size: 17px;
}

.button,
.seg-btn,
a.button {
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover,
.seg-btn:hover,
a.button:hover {
	transform: scale(1.05);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}


.card.hoverable {
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.card.hoverable:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, .35), 0 0 0 1px rgba(168, 85, 247, .15) inset;
	border-color: rgba(168, 85, 247, .35);
}

.card.hoverable:focus-within {
	outline: 2px solid var(--grad2);
	outline-offset: 2px;
}

.certs-item img {
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	cursor: pointer;
}

.certs-item img:hover {
	transform: scale(1.12);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
	z-index: 2;
}

.consent-wrap {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 18px;
	align-items: start;
}

@media (max-width: 900px) {
	.consent-wrap {
		grid-template-columns: 1fr;
	}
}

.consent-box {
	display: flex;
	gap: 10px;
	padding: 12px;
	border: 1px solid var(--border);
	border-radius: 12px;
	background: rgba(255, 255, 255, .04);
	line-height: 1.6;
	color: var(--muted);
}

.consent-box input[type="checkbox"] {
	width: auto !important;
	height: auto;
	margin-top: 6px;
	min-width: 18px;
	min-height: 18px;
}

.captcha-box {
	padding: 12px;
	border: 1px solid var(--border);
	border-radius: 12px;
	background: rgba(255, 255, 255, .04);
	display: flex;
	justify-content: center;
	align-items: center;
}

#submit-btn[disabled] {
	opacity: .6;
	cursor: not-allowed;
	transform: none !important;
	box-shadow: none !important;
}

.service-card {
	display: flex;
	flex-direction: column;
	min-height: 180px;
}

.service-card .link-continua {
	margin-top: auto;
	align-self: flex-end;
	margin-bottom: 6px;
	color: var(--grad2);
	font-weight: 700;
	letter-spacing: .1px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transition: color .2s ease, transform .2s ease;
}

.service-card .link-continua:hover {
	color: #fff;
	transform: translateX(3px);
}

.service-card .link-continua svg {
	stroke: currentColor;
}

.navlinks {
	position: relative;
	z-index: 50;
}

.nav-dd {
	position: relative;
}

.dd-trigger {
	padding: 8px 12px;
	border-radius: 12px;
	color: rgba(255, 255, 255, .7);
	display: inline-block;
}

.dd-trigger:hover,
.nav-dd.open .dd-trigger {
	background: rgba(255, 255, 255, .1);
	color: #fff;
}

.dd-menu {
	position: absolute;
	top: 100%;
	left: 0;
	display: none;
	min-width: 220px;
	background: rgba(0, 0, 0, .9);
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 6px;
	margin-top: 8px;
	box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}

.nav-dd:hover .dd-menu,
.nav-dd.open .dd-menu {
	display: block;
}

.level1 {
	list-style: none;
	margin: 0;
	padding: 0;
}

.level1>li {
	position: relative;
}

.level1>li>a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
	padding: 10px 12px;
	border-radius: 10px;
	color: rgba(255, 255, 255, .85);
}

.level1>li>a:hover {
	background: rgba(255, 255, 255, .08);
	color: #fff;
}

.dd-flyout {
	display: none;
	position: absolute;
	top: 0;
	left: 100%;
	min-width: 280px;
	margin-left: 8px;
	padding: 6px;
	background: rgba(0, 0, 0, .95);
	border: 1px solid var(--border);
	border-radius: 12px;
	box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}

.has-fly:hover>.dd-flyout {
	display: block;
}

.dd-flyout>li {
	list-style: none;
}

.dd-flyout a {
	display: block;
	padding: 9px 12px;
	border-radius: 10px;
	color: rgba(255, 255, 255, .85);
	white-space: nowrap;
}

.dd-flyout a:hover {
	background: rgba(255, 255, 255, .08);
	color: #fff;
}

@media (max-width: 1100px) {
	.dd-flyout {
		left: auto;
		right: 100%;
		margin-left: 0;
		margin-right: 8px;
	}
}

@media (max-width: 768px) {
	.nav-dd {
		display: none;
	}
}

.nav-dd .dd-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	display: none;
	margin-top: 8px;
	padding: 6px;
	background: rgba(0, 0, 0, .30);
	backdrop-filter: blur(8px);
	border: 1px solid var(--border);
	border-radius: 12px;
	z-index: 60;
}

.nav-dd:hover .dd-menu {
	display: block
}

.nav-dd .dd-menu::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -10px;
	height: 12px;
}

body.light {
	--bg: #ffffff;
	--text: #0a0a0a;
	--muted: rgba(0, 0, 0, .78);
	--muted2: rgba(0, 0, 0, .62);
	--card: rgba(255, 255, 255, .9);
	--border: rgba(0, 0, 0, .12);
	--grad1: #7c3aed;
	--grad2: #a855f7;
}

body.light .bg-polys .base {
	background: var(--bg);
}

body.light .bg-polys .spot {
	background: radial-gradient(65% 50% at 70% 20%, rgba(124, 58, 237, .25), transparent 70%);
}

body.light svg.polys {
	opacity: .35;
}

body.light svg.polys polygon {
	stroke-opacity: 0.18;
}

body.light .scan {
	background: linear-gradient(to bottom, rgba(0, 0, 0, .05) 1px, transparent 1px);
	mix-blend-mode: multiply;
}

body.light {
	color: var(--text);
}

body.light .text-muted,
body.light p {
	color: var(--muted);
}

body.light a.muted-link {
	color: rgba(0, 0, 0, .70);
}

body.light a.muted-link:hover {
	color: var(--text);
}

body.light .card {
	background: var(--card);
	border: 1px solid var(--border);
	color: var(--text);
}

body.light .card.p p {
	color: var(--muted);
}

body.light .button {
	color: #fff;
}

body.light .button.secondary {
	color: var(--text);
	background: transparent;
	border: 1px solid var(--border);
}

body.light .nav {
	backdrop-filter: blur(8px);
	background: rgba(255, 255, 255, .85);
	border: 1px solid var(--border);
}

body.light .navlinks a {
	color: rgba(0, 0, 0, .70);
}

body.light .navlinks a:hover,
body.light .navlinks a.active {
	background: rgba(0, 0, 0, .06);
	color: var(--text);
}

body.light .nav-dd .dd-menu {
	background: rgba(255, 255, 255, .92);
	backdrop-filter: blur(8px);
	border: 1px solid var(--border);
	box-shadow: 0 18px 40px rgba(0, 0, 0, .12);
}

body.light .dd-flyout {
	background: rgba(255, 255, 255, .96);
	border: 1px solid var(--border);
	box-shadow: 0 18px 40px rgba(0, 0, 0, .14);
}

body.light .level1>li>a,
body.light .dd-flyout a {
	color: rgba(0, 0, 0, .8);
}

body.light .level1>li>a:hover,
body.light .dd-flyout a:hover {
	background: rgba(0, 0, 0, .06);
	color: var(--text);
}

body.light .accordion {
	border-color: var(--border);
}

body.light .ac-item {
	border-top: 1px solid var(--border);
}

body.light .ac-head {
	color: var(--text);
}

body.light .ac-body {
	color: var(--muted);
}

body.light input,
body.light textarea {
	background: rgba(0, 0, 0, .03);
	border: 1px solid var(--border);
	color: var(--text);
}

body.light input::placeholder,
body.light textarea::placeholder {
	color: rgba(0, 0, 0, .45);
}

body.light .segmented {
	background: rgba(0, 0, 0, .06);
	border: 1px solid var(--border);
}

body.light .seg-btn {
	color: rgba(0, 0, 0, .80);
}

body.light .seg-btn.active {
	color: #fff;
}

body.light .services-scroller::-webkit-scrollbar-track {
	background: transparent;
}

body.light .services-scroller::-webkit-scrollbar-thumb {
	border: 2px solid rgba(255, 255, 255, .85);
}

body.light .service-card .link-continua {
	color: var(--grad2);
}

body.light .service-card .link-continua:hover {
	color: #111;
}

body.light .certs-rail {
	border-color: var(--border);
	background: rgba(0, 0, 0, .03);
}

body.light .certs-item {
	background: rgba(0, 0, 0, .04);
	border: 1px solid var(--border);
}

body.light .certs-item img {
	filter: none;
	opacity: .95;
}

body.light footer .links a {
	color: rgba(0, 0, 0, .65);
}

body.light footer .links a:hover {
	color: var(--text);
}

body.light footer .muted-link {
	color: rgba(0, 0, 0, .60);
}

body.light footer .muted-link:hover {
	color: var(--text);
}

body.light #submit-btn[disabled] {
	opacity: .6;
	box-shadow: none;
	transform: none;
	cursor: not-allowed;
}

.theme-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 6px 10px;
	border-radius: 20px;
	background: rgba(255, 255, 255, .06);
	border: 1px solid var(--border);
}

.theme-toggle .knob {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--grad1);
	display: inline-block;
}

.theme-toggle .sun,
.theme-toggle .moon {
	font-size: 16px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

body.light .theme-toggle {
	background: rgba(255, 255, 255, .85);
}

body.light .theme-toggle .sun,
body.light .theme-toggle .moon {
	opacity: .75;
}

.theme-toggle[data-theme="light"] .knob {
	left: 33px;
}

.svc-ic {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	display: grid;
	place-items: center;
	background: rgba(255, 255, 255, .06);
	color: rgba(255, 255, 255, .92);
}

body.light .svc-ic {
	background: rgba(0, 0, 0, .06);
	color: rgba(0, 0, 0, .86);
}


.theme-toggle {
	position: fixed;
	top: 16px;
	right: 18px;
	z-index: 100;
	width: 64px;
	height: 34px;
	padding: 0 8px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-radius: 999px;
	border: 1px solid var(--border);
	background: rgba(0, 0, 0, .30);
	backdrop-filter: blur(8px);
	cursor: pointer;
}

.theme-toggle .sun,
.theme-toggle .moon {
	font-size: 14px;
	line-height: 1;
	opacity: .75;
	user-select: none;
}

.theme-toggle .knob {
	position: absolute;
	top: 50%;
	left: 4px;
	transform: translateY(-50%);
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: linear-gradient(90deg, var(--grad1), var(--grad2));
	box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
	transition: left .22s ease;
}


h1,
h2,
h3,
.section-title {
	color: var(--text);
}

.lead,
.tl-desc,
p,
li {
	color: var(--muted);
}

.timeline-line {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 2px;
	margin-left: -1px;
	background: rgba(255, 255, 255, 0.15);
}

body.light .timeline-line {
	background: rgba(0, 0, 0, 0.15);
}

.courses-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin-top: 24px
}

@media (max-width:1100px) {
	.courses-grid {
		grid-template-columns: 1fr
	}
}

.course-card {
	position: relative;
	min-height: 520px;
	perspective: 1200px;
	border-radius: 18px
}

.card-inner {
	position: relative;
	width: 100%;
	height: 100%;
	transform-style: preserve-3d;
	transition: transform .7s cubic-bezier(.2, .8, .2, 1)
}

.course-card.flipped .card-inner {
	transform: rotateY(180deg)
}

.card-face {
	position: absolute;
	inset: 0;
	display: grid;
	grid-template-rows: auto 1fr auto;
	gap: 14px;
	backface-visibility: hidden;
	border-radius: 18px;
	border: 1px solid var(--border);
	background: var(--card);
	padding: 24px
}

.card-back {
	transform: rotateY(180deg)
}

.course-title {
	font-size: 20px;
	margin: 0
}

.course-body {
	line-height: 1.75;
	overflow: auto
}

.meta {
	margin: 10px 0 0 18px
}

.meta li {
	margin: .25rem 0
}

.syllabus {
	margin: 0 0 0 18px
}

.btn-ghost {
	align-self: flex-start;
	border: 1px solid var(--grad2);
	background: transparent;
	color: var(--text);
	padding: .5rem .9rem;
	border-radius: 12px;
	cursor: pointer;
	font-weight: 600;
	letter-spacing: .2px;
	display: inline-flex;
	gap: .5rem;
	align-items: center;
	transition: all .2s ease
}

.btn-ghost .arr {
	transition: transform .2s ease
}

.btn-ghost:hover {
	border-color: #8b5cf6;
	color: #8b5cf6
}

.btn-ghost:hover .arr {
	transform: translateX(2px)
}

.course-card .btn:not(.btn-ghost) {
	display: none
}

@keyframes wobble {
	0% {
		transform: translate3d(0, 0, 0)
	}

	20% {
		transform: translate3d(-1px, 0, 0)
	}

	40% {
		transform: translate3d(1px, 0, 0)
	}

	60% {
		transform: translate3d(-1px, 0, 0)
	}

	80% {
		transform: translate3d(1px, 0, 0)
	}

	100% {
		transform: translate3d(0, 0, 0)
	}
}

.course-card:hover {
	animation: wobble .45s ease-in-out
}

.course-card:hover .card-face {
	border-color: #8b5cf6
}

#percorsi .section-head {
	display: block;
}

#percorsi .section-head h2 {
	margin-bottom: 8px;
}

#percorsi .section-sub {
	margin-top: 0;
	color: var(--muted);
	max-width: 70ch;
}

#home.hero .lead {
	max-width: 72ch;
}

#home.hero ul {
	margin: 12px 0 0 18px;
}

#home.hero li {
	margin: 4px 0;
}

#percorsi .section-intro .key-points {
	margin: 8px 0 0 18px;
	line-height: 1.75;
}

#percorsi .section-intro .key-points li {
	margin: 4px 0;
}

#percorsi .section-intro .section-note {
	color: var(--muted);
	margin-top: 10px;
}

@media (hover: hover) {

	.course-card:hover,
	.course-card:focus {
		cursor: pointer;
	}
}

.course-card .card-face {
	user-select: none;
}

.syllabus>li {
	margin: .4rem 0;
}

.syllabus ul {
	margin-top: .25rem;
	margin-left: 1rem;
	list-style: circle;
}

.syllabus ul li {
	margin: .2rem 0;
}

.course-card .card-back .course-body {
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: rgba(139, 92, 246, .45) transparent;
}

.course-card .card-back .course-body::-webkit-scrollbar {
	width: 4px;
}

.course-card .card-back .course-body::-webkit-scrollbar-track {
	background: transparent;
}

.course-card .card-back .course-body::-webkit-scrollbar-thumb {
	background: rgba(139, 92, 246, .45);
	border-radius: 8px;
}

.course-card .card-back .course-body::-webkit-scrollbar-thumb:hover {
	background: rgba(139, 92, 246, .75);
}

.course-card .card-back .course-body::-webkit-scrollbar-corner {
	background: transparent;
}

.course-card .course-kicker {
	margin: 2px 0 8px;
	font-size: 0.85rem;
	font-style: italic;
	font-weight: 500;
	color: var(--muted);
	letter-spacing: .2px;
}

.theme-toggle {
	width: 64px;
	height: 34px;
	padding: 0 4px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.theme-toggle .sun,
.theme-toggle .moon {
	width: 26px;
	height: 26px;
	display: grid;
	place-items: center;
	line-height: 1;
	font-size: 16px;
}

.theme-toggle .knob {
	position: absolute;
	width: 26px;
	height: 26px;
	top: 50%;
	left: 4px;
	transform: translateY(-50%);
	border-radius: 50%;
	background: linear-gradient(90deg, var(--grad1), var(--grad2));
	box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}

.theme-toggle[data-theme="light"] .knob {
	left: calc(100% - 4px - 26px);
}

@media (min-width: 1024px) {
	.nav {
		padding-right: 96px;
	}

	.theme-toggle {
		top: 40px !important;
	}
}

@media (max-width:768px) {
	.card .theme-toggle {
		position: relative !important;
		right: auto !important;
		top: auto !important;
		margin: 12px 0;
		display: flex;
		justify-content: flex-end;
	}
}

@media (max-width:768px) {
	#mobile .menu {
		display: flex;
		flex-direction: column;
		gap: 8px;
	}

	#theme-toggle.in-mobile {
		position: relative !important;
		right: auto !important;
		top: auto !important;
		align-self: flex-end;
		margin: 4px 6px 10px 0;
	}
}

@media (max-width:420px) {
	.hero .mt-6 {
		display: flex;
		flex-wrap: wrap;
		gap: 8px 12px;
	}

	.hero .mt-6 .button {
		flex: 0 0 100%;
	}

	.hero .mt-6 .muted-link {
		margin-left: 0 !important;
	}
}

body.light .dd-trigger {
	color: rgba(0, 0, 0, .70);
}

body.light .dd-trigger:hover,
body.light .nav-dd.open .dd-trigger {
	background: rgba(0, 0, 0, .06);
	color: var(--text);
}

@media (max-width:1024px) {
	.certs-rail {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scroll-snap-type: x mandatory;
	}

	.certs-track {
		width: max-content;
		gap: 28px;
	}

	.certs-item {
		scroll-snap-align: center;
	}

	.certs-track.animate {
		animation-duration: 12s;
	}
}
