:root {
	--pc-bg: #07050d;
	--pc-bg-soft: #0d0917;
	--pc-panel: rgba(255, 255, 255, 0.055);
	--pc-panel-strong: #151022;
	--pc-text: #f8f7fb;
	--pc-muted: #b8b1c5;
	--pc-line: rgba(255, 255, 255, 0.11);
	--pc-purple: #8b5cf6;
	--pc-purple-2: #d946ef;
	--pc-blue: #5b7cfa;
	--pc-green: #5ee1b2;
	--pc-max: 1180px;
	--pc-radius: 22px;
	--pc-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--pc-bg);
	color: var(--pc-text);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

body.menu-open {
	overflow: hidden;
}

a {
	color: inherit;
	text-decoration: none;
}

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

button,
input {
	font: inherit;
}

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

.narrow-container {
	width: min(820px, calc(100% - 40px));
}

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

.skip-link:focus {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 9999;
	padding: 12px 18px;
	border-radius: 10px;
	background: #fff;
	color: #000;
}

.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 1000;
	background: rgba(7, 5, 13, 0.45);
	border-bottom: 1px solid transparent;
	backdrop-filter: blur(18px);
	transition: background .25s ease, border-color .25s ease;
}

.site-header.is-scrolled {
	background: rgba(7, 5, 13, 0.88);
	border-color: var(--pc-line);
}

.header-inner {
	min-height: 78px;
	display: flex;
	align-items: center;
	gap: 28px;
}

.brand {
	margin-right: auto;
}

.brand-link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-weight: 800;
	letter-spacing: -0.025em;
}

.brand-mark {
	width: 38px;
	height: 38px;
	display: grid;
	place-items: center;
	border: 1px solid rgba(255,255,255,.18);
	border-radius: 12px;
	background: linear-gradient(135deg, rgba(139,92,246,.35), rgba(217,70,239,.15));
	box-shadow: inset 0 0 28px rgba(139,92,246,.18);
	font-size: 13px;
	letter-spacing: .06em;
}

.brand-text {
	font-size: 18px;
}

.custom-logo {
	max-height: 52px;
	width: auto;
}

.primary-menu,
.footer-menu {
	list-style: none;
	padding: 0;
	margin: 0;
}

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

.primary-menu a {
	color: #d9d3e3;
	font-size: 14px;
	font-weight: 650;
	transition: color .2s ease;
}

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

.header-search-link {
	width: 42px;
	height: 42px;
	display: grid;
	place-items: center;
	border: 1px solid var(--pc-line);
	border-radius: 50%;
	background: rgba(255,255,255,.035);
}

.header-search-link svg,
.search-form svg {
	width: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
}

.menu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	padding: 10px;
	border: 1px solid var(--pc-line);
	border-radius: 12px;
	background: transparent;
	color: #fff;
}

.menu-toggle > span:not(.screen-reader-text) {
	display: block;
	height: 2px;
	background: currentColor;
	margin: 5px 0;
	border-radius: 999px;
}

.hero {
	position: relative;
	min-height: 860px;
	display: flex;
	align-items: center;
	overflow: hidden;
	padding: 150px 0 100px;
	background:
		radial-gradient(circle at 50% 35%, rgba(91,124,250,.10), transparent 32%),
		linear-gradient(180deg, #07050d 0%, #090612 55%, #07050d 100%);
}

.hero-grid {
	position: absolute;
	inset: 0;
	opacity: .22;
	background-image:
		linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.hero::before,
.hero::after {
	content: "";
	position: absolute;
	width: 78vw;
	height: 220px;
	border: 2px solid rgba(139,92,246,.25);
	border-radius: 50%;
	filter: blur(1px);
	transform: rotate(-8deg);
	left: -10vw;
	top: 44%;
	box-shadow:
		0 -24px 70px rgba(139,92,246,.16),
		0 28px 80px rgba(217,70,239,.13);
}

.hero::after {
	width: 90vw;
	height: 170px;
	left: 18vw;
	top: 51%;
	transform: rotate(8deg);
	border-color: rgba(217,70,239,.20);
}

.hero-orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(22px);
	opacity: .55;
}

.hero-orb-one {
	width: 460px;
	height: 460px;
	left: -210px;
	top: 140px;
	background: radial-gradient(circle at 60% 50%, rgba(91,124,250,.42), rgba(139,92,246,.12) 48%, transparent 70%);
}

.hero-orb-two {
	width: 500px;
	height: 500px;
	right: -240px;
	top: 180px;
	background: radial-gradient(circle at 40% 50%, rgba(217,70,239,.38), rgba(139,92,246,.11) 48%, transparent 70%);
}

.hero-content {
	position: relative;
	z-index: 3;
	text-align: center;
}

.eyebrow {
	margin: 0 0 18px;
	color: #c6b9f8;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .16em;
}

.hero h1,
.page-heading h1,
.article-hero h1 {
	margin: 0;
	font-size: clamp(48px, 7.5vw, 104px);
	line-height: .98;
	letter-spacing: -0.065em;
}

.hero h1 span {
	display: block;
	background: linear-gradient(90deg, #fff 20%, #bfa8ff 58%, #f0a7ff);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.hero-copy {
	max-width: 720px;
	margin: 30px auto 38px;
	color: var(--pc-muted);
	font-size: clamp(18px, 2vw, 22px);
}

.search-form {
	width: min(760px, 100%);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 24px 1fr auto;
	align-items: center;
	gap: 12px;
	padding: 8px 8px 8px 20px;
	border: 1px solid rgba(255,255,255,.15);
	border-radius: 18px;
	background: rgba(255,255,255,.07);
	box-shadow: 0 20px 60px rgba(0,0,0,.28);
	backdrop-filter: blur(20px);
}

.search-form input {
	min-width: 0;
	border: 0;
	outline: none;
	background: transparent;
	color: #fff;
	padding: 13px 2px;
}

.search-form input::placeholder {
	color: #a49cab;
}

.search-form button {
	border: 0;
	border-radius: 12px;
	padding: 13px 22px;
	background: linear-gradient(135deg, var(--pc-purple), var(--pc-purple-2));
	color: #fff;
	font-weight: 750;
	cursor: pointer;
}

.hero-actions {
	margin-top: 26px;
	display: flex;
	justify-content: center;
	gap: 14px;
	flex-wrap: wrap;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 22px;
	border-radius: 13px;
	font-weight: 750;
	font-size: 14px;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.button:hover {
	transform: translateY(-2px);
}

.button-primary {
	background: linear-gradient(135deg, var(--pc-purple), var(--pc-purple-2));
	box-shadow: 0 12px 34px rgba(139,92,246,.25);
}

.button-ghost {
	border: 1px solid var(--pc-line);
	background: rgba(255,255,255,.04);
}

.hero-metrics {
	width: min(700px, 100%);
	margin: 72px auto 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border-top: 1px solid var(--pc-line);
	border-bottom: 1px solid var(--pc-line);
}

.hero-metrics div {
	padding: 22px;
}

.hero-metrics div + div {
	border-left: 1px solid var(--pc-line);
}

.hero-metrics strong,
.hero-metrics span {
	display: block;
}

.hero-metrics strong {
	font-size: 22px;
}

.hero-metrics span {
	margin-top: 4px;
	color: var(--pc-muted);
	font-size: 12px;
}

.section {
	padding: 110px 0;
}

.section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 40px;
	margin-bottom: 42px;
}

.section-heading h2,
.feature-panel h2,
.cta-panel h2 {
	margin: 0;
	font-size: clamp(36px, 5vw, 62px);
	line-height: 1.05;
	letter-spacing: -0.045em;
}

.section-heading > p {
	max-width: 520px;
	margin: 0;
	color: var(--pc-muted);
}

.topic-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.topic-card {
	position: relative;
	min-height: 285px;
	padding: 28px;
	border: 1px solid var(--pc-line);
	border-radius: var(--pc-radius);
	background:
		linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.025)),
		var(--pc-bg-soft);
	overflow: hidden;
	transition: transform .25s ease, border-color .25s ease;
}

.topic-card::after {
	content: "";
	position: absolute;
	width: 180px;
	height: 180px;
	right: -75px;
	bottom: -80px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(139,92,246,.25), transparent 68%);
	transition: transform .25s ease;
}

.topic-card:hover {
	transform: translateY(-5px);
	border-color: rgba(139,92,246,.46);
}

.topic-card:hover::after {
	transform: scale(1.25);
}

.topic-number {
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: rgba(139,92,246,.14);
	color: #cebfff;
	font-size: 12px;
	font-weight: 800;
}

.topic-card h3 {
	margin: 36px 0 10px;
	font-size: 23px;
}

.topic-card p {
	margin: 0;
	color: var(--pc-muted);
	font-size: 15px;
}

.topic-link {
	position: absolute;
	left: 28px;
	bottom: 26px;
	z-index: 2;
	color: #d5c9ff;
	font-size: 13px;
	font-weight: 750;
}

.section-feature {
	padding-top: 20px;
}

.feature-panel {
	display: grid;
	grid-template-columns: 1.1fr .9fr;
	gap: 70px;
	padding: 64px;
	border: 1px solid rgba(139,92,246,.22);
	border-radius: 30px;
	background:
		radial-gradient(circle at 10% 0%, rgba(139,92,246,.20), transparent 38%),
		linear-gradient(145deg, #171126, #0d0917);
	box-shadow: var(--pc-shadow);
}

.feature-points {
	display: grid;
	gap: 0;
}

.feature-points div {
	display: grid;
	grid-template-columns: 48px 1fr;
	gap: 18px;
	padding: 20px 0;
	border-bottom: 1px solid var(--pc-line);
}

.feature-points span {
	color: #b8a6ff;
	font-weight: 800;
}

.feature-points p {
	margin: 0;
	color: #ddd7e6;
}

.post-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.post-card {
	border: 1px solid var(--pc-line);
	border-radius: var(--pc-radius);
	background: var(--pc-bg-soft);
	overflow: hidden;
}

.post-card-image {
	display: block;
	aspect-ratio: 16 / 10;
	background:
		radial-gradient(circle at 30% 30%, rgba(139,92,246,.32), transparent 35%),
		linear-gradient(135deg, #171025, #08060e);
	overflow: hidden;
}

.post-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
}

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

.post-placeholder {
	height: 100%;
	display: grid;
	place-items: center;
	font-size: 38px;
	font-weight: 900;
	letter-spacing: -.05em;
	color: rgba(255,255,255,.24);
}

.post-card-body {
	padding: 24px;
}

.post-card-meta {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	color: #a9a2b5;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .08em;
}

.post-card h3 {
	margin: 18px 0 12px;
	font-size: 23px;
	line-height: 1.2;
	letter-spacing: -.025em;
}

.post-card p {
	margin: 0 0 22px;
	color: var(--pc-muted);
	font-size: 14px;
}

.text-link {
	color: #cabaff;
	font-size: 13px;
	font-weight: 800;
}

.empty-library {
	grid-column: 1 / -1;
	padding: 70px 30px;
	text-align: center;
	border: 1px dashed rgba(255,255,255,.2);
	border-radius: var(--pc-radius);
	background: rgba(255,255,255,.025);
}

.empty-library > span {
	width: 64px;
	height: 64px;
	margin: 0 auto 20px;
	display: grid;
	place-items: center;
	border-radius: 18px;
	background: rgba(139,92,246,.14);
	color: #cdbfff;
	font-weight: 900;
}

.empty-library h3 {
	margin: 0 0 8px;
	font-size: 28px;
}

.empty-library p {
	margin: 0;
	color: var(--pc-muted);
}

.section-cta {
	padding-top: 30px;
}

.cta-panel {
	text-align: center;
	padding: 92px 40px;
	border-radius: 30px;
	border: 1px solid rgba(255,255,255,.12);
	background:
		radial-gradient(circle at 50% -20%, rgba(217,70,239,.25), transparent 38%),
		radial-gradient(circle at 20% 100%, rgba(91,124,250,.18), transparent 35%),
		#100b1b;
}

.cta-panel p:not(.eyebrow) {
	max-width: 680px;
	margin: 24px auto 30px;
	color: var(--pc-muted);
}

.site-footer {
	padding: 78px 0 28px;
	border-top: 1px solid var(--pc-line);
	background: #050409;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.1fr .7fr 1fr;
	gap: 70px;
}

.footer-brand p,
.footer-note p {
	color: var(--pc-muted);
	font-size: 14px;
}

.footer-menu-wrap h2,
.footer-note h2 {
	margin: 0 0 18px;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: .12em;
}

.footer-menu {
	display: grid;
	gap: 10px;
}

.footer-menu a,
.footer-bottom a {
	color: var(--pc-muted);
	font-size: 14px;
}

.footer-bottom {
	margin-top: 58px;
	padding-top: 24px;
	display: flex;
	justify-content: space-between;
	border-top: 1px solid var(--pc-line);
	color: #8f889a;
	font-size: 12px;
}

.archive-page,
.page-content-wrap,
.error-page {
	min-height: 70vh;
	padding-top: 170px;
}

.page-heading {
	margin-bottom: 52px;
}

.page-heading h1,
.article-hero h1 {
	font-size: clamp(48px, 6vw, 82px);
}

.archive-description,
.page-heading + .search-form {
	max-width: 760px;
}

.archive-description {
	color: var(--pc-muted);
}

.search-results-grid {
	margin-top: 48px;
}

.article-hero {
	padding: 180px 0 80px;
	background:
		radial-gradient(circle at 50% 0%, rgba(139,92,246,.18), transparent 40%),
		linear-gradient(180deg, #0b0712, #07050d);
}

.article-header-inner {
	width: min(960px, calc(100% - 40px));
}

.article-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 24px;
	color: #aaa2b5;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .08em;
}

.article-meta a {
	color: #cbbcff;
}

.article-excerpt {
	max-width: 780px;
	margin: 28px 0 0;
	color: var(--pc-muted);
	font-size: 21px;
}

.article-image {
	margin-top: -10px;
}

.article-image img {
	width: 100%;
	max-height: 680px;
	object-fit: cover;
	border-radius: 24px;
}

.article-layout {
	display: grid;
	grid-template-columns: minmax(0, 760px) 280px;
	justify-content: space-between;
	gap: 70px;
	padding-top: 70px;
	padding-bottom: 80px;
}

.article-content {
	color: #e7e2ec;
	font-size: 18px;
	line-height: 1.85;
}

.article-content > *:first-child {
	margin-top: 0;
}

.article-content h2,
.article-content h3 {
	color: #fff;
	line-height: 1.2;
	letter-spacing: -.025em;
}

.article-content h2 {
	margin-top: 2.2em;
	font-size: 36px;
}

.article-content h3 {
	margin-top: 1.8em;
	font-size: 26px;
}

.article-content a {
	color: #c6b5ff;
	text-decoration: underline;
	text-decoration-color: rgba(198,181,255,.38);
	text-underline-offset: 3px;
}

.article-content blockquote {
	margin: 2em 0;
	padding: 24px 28px;
	border-left: 3px solid var(--pc-purple);
	background: rgba(139,92,246,.08);
	border-radius: 0 14px 14px 0;
}

.article-content img {
	border-radius: 16px;
}

.article-content table {
	width: 100%;
	border-collapse: collapse;
}

.article-content th,
.article-content td {
	padding: 12px;
	border: 1px solid var(--pc-line);
	text-align: left;
}

.article-aside {
	position: relative;
}

.aside-card {
	position: sticky;
	top: 110px;
	padding: 24px;
	border: 1px solid var(--pc-line);
	border-radius: 18px;
	background: var(--pc-bg-soft);
}

.aside-card h2 {
	margin: 0;
	font-size: 20px;
}

.aside-card p:last-child {
	color: var(--pc-muted);
	font-size: 14px;
}

.article-navigation {
	padding-bottom: 80px;
}

.nav-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.nav-links a {
	display: block;
	padding: 20px;
	border: 1px solid var(--pc-line);
	border-radius: 14px;
}

.error-page {
	text-align: center;
}

.error-code {
	margin: 0;
	font-size: clamp(100px, 20vw, 220px);
	line-height: .8;
	font-weight: 900;
	letter-spacing: -.08em;
	color: rgba(255,255,255,.07);
}

.error-page h1 {
	margin: 24px auto 16px;
	max-width: 800px;
	font-size: clamp(38px, 6vw, 68px);
	line-height: 1.05;
}

.error-page p:not(.error-code) {
	margin-bottom: 28px;
	color: var(--pc-muted);
}

.pagination {
	margin-top: 50px;
}

.nav-links {
	align-items: stretch;
}

.page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	margin-right: 6px;
	border: 1px solid var(--pc-line);
	border-radius: 10px;
}

.page-numbers.current {
	background: var(--pc-purple);
	border-color: var(--pc-purple);
}

@media (max-width: 980px) {
	.primary-navigation {
		position: fixed;
		inset: 78px 0 auto;
		display: none;
		padding: 28px 20px 36px;
		background: rgba(7,5,13,.98);
		border-bottom: 1px solid var(--pc-line);
	}

	.primary-navigation.is-open {
		display: block;
	}

	.primary-menu {
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
	}

	.primary-menu a {
		font-size: 18px;
	}

	.menu-toggle {
		display: block;
	}

	.header-search-link {
		display: none;
	}

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

	.feature-panel,
	.article-layout {
		grid-template-columns: 1fr;
	}

	.article-aside {
		display: none;
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}

	.footer-brand {
		grid-column: 1 / -1;
	}
}

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

	.site-container,
	.narrow-container {
		width: min(100% - 28px, var(--pc-max));
	}

	.header-inner {
		min-height: 70px;
	}

	.primary-navigation {
		top: 70px;
	}

	.hero {
		min-height: auto;
		padding: 132px 0 78px;
	}

	.hero h1 {
		font-size: clamp(46px, 15vw, 68px);
	}

	.hero-copy {
		font-size: 17px;
	}

	.search-form {
		grid-template-columns: 20px 1fr;
		padding: 9px 16px;
	}

	.search-form button {
		grid-column: 1 / -1;
		width: 100%;
	}

	.hero-actions {
		flex-direction: column;
	}

	.button {
		width: 100%;
	}

	.hero-metrics {
		grid-template-columns: 1fr;
		margin-top: 50px;
	}

	.hero-metrics div + div {
		border-left: 0;
		border-top: 1px solid var(--pc-line);
	}

	.section {
		padding: 78px 0;
	}

	.section-heading {
		display: block;
	}

	.section-heading > p,
	.section-heading > .text-link {
		display: block;
		margin-top: 18px;
	}

	.topic-grid,
	.post-grid {
		grid-template-columns: 1fr;
	}

	.topic-card {
		min-height: 270px;
	}

	.feature-panel,
	.cta-panel {
		padding: 38px 24px;
		border-radius: 22px;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 42px;
	}

	.footer-brand {
		grid-column: auto;
	}

	.footer-bottom {
		display: block;
	}

	.article-hero {
		padding: 138px 0 60px;
	}

	.article-content {
		font-size: 17px;
	}

	.article-content h2 {
		font-size: 30px;
	}

	.nav-links {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		scroll-behavior: auto !important;
		transition: none !important;
		animation: none !important;
	}
}


/* Biblioteca v0.2 */
.library-page {
	min-height: 70vh;
}

.library-hero {
	position: relative;
	overflow: hidden;
	padding: 190px 0 110px;
	border-bottom: 1px solid var(--pc-line);
	background:
		linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
		radial-gradient(circle at 50% 15%, rgba(139,92,246,.19), transparent 38%),
		#08060f;
	background-size: 54px 54px, 54px 54px, auto, auto;
}

.library-hero-glow {
	position: absolute;
	width: 660px;
	height: 310px;
	left: 50%;
	bottom: -190px;
	transform: translateX(-50%);
	border-radius: 50%;
	border: 2px solid rgba(217,70,239,.25);
	box-shadow:
		0 -35px 90px rgba(139,92,246,.19),
		0 -15px 50px rgba(217,70,239,.13);
}

.library-hero-inner {
	position: relative;
	z-index: 2;
	text-align: center;
}

.library-hero h1 {
	max-width: 980px;
	margin: 0 auto;
	font-size: clamp(46px, 7vw, 88px);
	line-height: 1;
	letter-spacing: -.06em;
}

.library-hero p:not(.eyebrow) {
	max-width: 760px;
	margin: 28px auto 36px;
	color: var(--pc-muted);
	font-size: 19px;
}

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

.library-category-card {
	position: relative;
	min-height: 300px;
	padding: 30px;
	overflow: hidden;
	border: 1px solid var(--pc-line);
	border-radius: var(--pc-radius);
	background:
		linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.025)),
		var(--pc-bg-soft);
	transition: transform .25s ease, border-color .25s ease;
}

.library-category-card::after {
	content: "";
	position: absolute;
	width: 260px;
	height: 260px;
	right: -110px;
	bottom: -130px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(139,92,246,.28), transparent 66%);
	transition: transform .3s ease;
}

.library-category-card:hover {
	transform: translateY(-5px);
	border-color: rgba(139,92,246,.5);
}

.library-category-card:hover::after {
	transform: scale(1.18);
}

.library-category-top {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.library-count {
	color: #aaa2b5;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .08em;
}

.library-category-card h2 {
	position: relative;
	z-index: 2;
	margin: 42px 0 12px;
	font-size: clamp(27px, 3vw, 38px);
	line-height: 1.1;
	letter-spacing: -.035em;
}

.library-category-card p {
	position: relative;
	z-index: 2;
	max-width: 510px;
	margin: 0;
	color: var(--pc-muted);
}

.library-category-card .topic-link {
	left: 30px;
	bottom: 27px;
}

.library-latest {
	padding-top: 35px;
}

.library-empty-state {
	min-height: 330px;
	display: grid;
	place-content: center;
}

.library-guide-section {
	padding-top: 25px;
}

.library-guide {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	padding: 62px;
	border: 1px solid rgba(139,92,246,.24);
	border-radius: 28px;
	background:
		radial-gradient(circle at 0% 0%, rgba(91,124,250,.18), transparent 35%),
		linear-gradient(140deg, #151022, #0c0914);
}

.library-guide h2 {
	margin: 0;
	font-size: clamp(38px, 5vw, 62px);
	line-height: 1.05;
	letter-spacing: -.045em;
}

.library-guide-steps {
	display: grid;
}

.library-guide-steps div {
	display: grid;
	grid-template-columns: 55px 1fr;
	gap: 20px;
	align-items: start;
	padding: 22px 0;
	border-bottom: 1px solid var(--pc-line);
}

.library-guide-steps div:first-child {
	padding-top: 0;
}

.library-guide-steps strong {
	color: #c9b9ff;
}

.library-guide-steps p {
	margin: 0;
	color: #dfd9e7;
}

@media (max-width: 900px) {
	.library-category-grid,
	.library-guide {
		grid-template-columns: 1fr;
	}

	.library-guide {
		gap: 44px;
	}
}

@media (max-width: 680px) {
	.library-hero {
		padding: 140px 0 78px;
	}

	.library-hero p:not(.eyebrow) {
		font-size: 17px;
	}

	.library-category-card {
		min-height: 290px;
		padding: 24px;
	}

	.library-category-card .topic-link {
		left: 24px;
	}

	.library-guide {
		padding: 38px 24px;
		border-radius: 22px;
	}
}
