/*
* PureCSSFramework.com site skin (2026 refresh)
* Layered on top of purecssframework.min.css + theme-dark.css.
* The framework files themselves are untouched; this only styles the docs site.
*/

/* =========================================================
   Tokens
   ========================================================= */
body {
	--bg: #f6f7fb;
	--surface: #ffffff;
	--surface-2: #f0f2f8;
	--text: #0f1729;
	--muted: #5a6478;
	--border: #e3e6ee;
	--primary: #1c6be4;
	--primary-ink: #1556b8;
	--primary-soft: rgba(28, 107, 228, .10);
	--accent: #7c4dff;
	--secondary: #e8481a;
	--success: #39b54a;
	--radius: 14px;
	--radius-sm: 10px;
	--shadow-sm: 0 1px 2px rgba(15, 23, 41, .06), 0 1px 3px rgba(15, 23, 41, .04);
	--shadow-md: 0 10px 30px -12px rgba(15, 23, 41, .18), 0 2px 6px rgba(15, 23, 41, .05);
	--header-bg: rgba(255, 255, 255, .82);
	--code-bg: #0f1424;
	--grid-line: rgba(15, 23, 41, .045);
}

body.dark {
	--bg: #0a0c11;
	--surface: #12151d;
	--surface-2: #181c26;
	--text: #e7e9ef;
	--muted: #8d95a8;
	--border: #232836;
	--primary: #4b8bff;
	--primary-ink: #7aa9ff;
	--primary-soft: rgba(75, 139, 255, .14);
	--shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
	--shadow-md: 0 14px 34px -14px rgba(0, 0, 0, .7);
	--header-bg: rgba(10, 12, 17, .8);
	--code-bg: #0d1018;
	--grid-line: rgba(255, 255, 255, .035);
}

/* =========================================================
   Base
   ========================================================= */
html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body,
body.dark {
	font-family: "Inter", "Open Sans", Helvetica, Arial, sans-serif;
	font-size: 15px;
	line-height: 1.6;
	background: var(--bg);
	color: var(--text);
}

h1, h2, h3, h4, h5, h6 { letter-spacing: -.02em; color: var(--text); }
h1 { font-weight: 700; }
h2 { font-weight: 700; font-size: clamp(24px, 1.6vw + 14px, 34px); line-height: 1.2; }
h3, h4 { font-weight: 600; }
h1 span, h2 span, h3 span, h4 span { color: var(--primary); }
p { color: inherit; }

a { color: var(--primary); text-underline-offset: 3px; }

.text-muted { color: var(--muted) !important; }

code, pre, kbd { font-family: "JetBrains Mono", Consolas, Monaco, monospace; }
code { border-radius: 6px; font-weight: 600; }
.dark code { background-color: var(--surface-2); }

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

/* Buttons: same PCF classes, crisper finish */
.btn, .btn-ghost {
	font-family: inherit;
	font-weight: 600;
	border-radius: 10px;
	letter-spacing: -.005em;
	transition: background-color .2s, box-shadow .2s, transform .2s, border-color .2s, color .2s;
}
.btn.btn-lg { padding: 14px 24px; font-size: 15px; }
.btn.btn-sm { padding: 7px 12px; font-size: 13px; }
.btn.primary { background-color: var(--primary); box-shadow: 0 6px 18px -8px var(--primary); }
.btn.primary:hover { background-color: var(--primary-ink); transform: translateY(-1px); }
.btn-ghost { color: var(--text); border: 1px solid var(--border); background: var(--surface); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); background: var(--surface); }
.dark .btn-ghost { border: 1px solid var(--border); color: var(--text); }
.dark .btn-ghost:hover { border-color: var(--primary); color: var(--primary-ink); background: var(--surface-2); }
.btn + .btn, .btn + .btn-ghost, .btn-ghost + .btn { margin-left: 8px; }

.flag { border-radius: 999px; font-weight: 600; }

/* =========================================================
   Header: frosted glass
   ========================================================= */
body {
	--glass-bg: rgba(255, 255, 255, .52);
	--glass-bg-solid: rgba(255, 255, 255, .86);
	--glass-edge: rgba(255, 255, 255, .65);
	--glass-line: rgba(15, 23, 41, .08);
	--glass-shadow: 0 10px 30px -14px rgba(15, 23, 41, .28);
	--nav-hover: rgba(15, 23, 41, .06);
	--menu-glass: rgba(255, 255, 255, .78);
}
body.dark {
	--glass-bg: rgba(12, 14, 20, .5);
	--glass-bg-solid: rgba(12, 14, 20, .84);
	--glass-edge: rgba(255, 255, 255, .07);
	--glass-line: rgba(255, 255, 255, .06);
	--glass-shadow: 0 12px 34px -14px rgba(0, 0, 0, .8);
	--nav-hover: rgba(255, 255, 255, .07);
	--menu-glass: rgba(22, 26, 36, .82);
}

/*
	The glass lives on a ::before layer, NOT on the header itself.
	backdrop-filter on an element makes it the containing block for position:fixed
	children, which would trap PCF's fixed mobile drawers inside the 52px bar.
*/
.main-container.header.site-header,
.dark .main-container.header.site-header {
	top: 0;
	background: transparent;
	border-top: 0;
	border-bottom: 0;
}
.main-container.header.site-header:before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background-color: var(--glass-bg);
	-webkit-backdrop-filter: blur(18px) saturate(180%);
	backdrop-filter: blur(18px) saturate(180%);
	/* hairline + inner highlight = glass edge */
	border-bottom: 1px solid var(--glass-line);
	box-shadow: inset 0 1px 0 var(--glass-edge), inset 0 -1px 0 var(--glass-edge);
}

/* Fallback where backdrop blur isn't supported: stay readable */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.main-container.header.site-header:before { background-color: var(--glass-bg-solid); }
}

/* CSS-only: glass firms up and casts a shadow as the page scrolls (no JS) */
@supports (animation-timeline: scroll()) {
	.main-container.header.site-header:before {
		animation: header-firm linear both;
		animation-timeline: scroll(root);
		animation-range: 0 220px;
	}
	@keyframes header-firm {
		to {
			background-color: var(--glass-bg-solid);
			box-shadow: inset 0 -1px 0 var(--glass-edge), var(--glass-shadow);
		}
	}
}

/* Homepage: let the hero art run up behind the glass */
html.PureCSSFramework .fixed-nav-space { height: 0 !important; }
html.PureCSSFramework .hero-area.home-hero { padding-top: 140px; }
@media all and (max-width: 1024px) {
	html.PureCSSFramework .hero-area.home-hero { padding-top: 92px; }
}

/* Image logo */
.site-header .logo a.logo-link {
	display: inline-flex;
	align-items: center;
	height: 50px;
	padding-top: 0;
}
.site-header .logo-img {
	display: block;
	height: 40px;
	width: auto;
	transition: opacity .2s;
}
.site-header .logo-link:hover .logo-img { opacity: .85; }
/* Two logo files: navy text for Classic, light text for Dark */
.logo-img.logo-dark { display: none !important; }
.dark .logo-img.logo-light { display: none !important; }
.dark .logo-img.logo-dark { display: block !important; }

@media all and (max-width: 1024px) {
	/* Mobile: centered between the two menu toggles */
	.site-header .logo { text-align: center; padding-left: 0; }
	.site-header .logo-img { height: 34px; }
}

.site-header .navbar-links > a,
.site-header .navbar-links > .has-drop-menu,
.dark .site-header .navbar .navbar-links > a,
.dark .site-header .navbar .navbar-links > .has-drop-menu {
	color: var(--muted);
	font-weight: 500;
	font-size: 14px;
}

/* ---------- Desktop: pill links ---------- */
@media all and (min-width: 1025px) {
	.site-header #topMenuNav .navbar-links { padding-left: 8px; }

	.site-header .navbar-links > a,
	.site-header .navbar-links > .has-drop-menu {
		height: 34px;
		line-height: 34px;
		margin: 8px 2px 0;
		padding: 0 13px;
		border-radius: 999px;
		transition: background-color .2s, color .2s, box-shadow .2s;
	}

	.site-header .navbar-links > a:hover,
	.site-header .navbar-links > .has-drop-menu:hover,
	.dark .site-header .navbar-links > a:hover,
	.dark .site-header .navbar-links > .has-drop-menu:hover {
		background-color: var(--nav-hover);
		color: var(--text);
	}

	/* Current page: soft tinted pill instead of an underline */
	.site-header .navbar-links > a.active,
	.site-header .navbar-links > .has-drop-menu.active,
	.dark .site-header .navbar .navbar-links > a.active,
	.dark .site-header .navbar .navbar-links > .has-drop-menu.active {
		color: var(--primary);
		border-bottom: 0;
		background-color: var(--primary-soft);
		box-shadow: inset 0 0 0 1px rgba(28, 107, 228, .18);
	}

	/* Badge on "Standalones" sits on the pill's corner */
	.site-header .navbar-links .flag-item .flag-amount { top: -6px; right: -4px; }

	/* Download: solid pill with a soft glow */
	.site-header .navbar-links > a.nav-cta,
	.dark .site-header .navbar .navbar-links > a.nav-cta {
		margin: 8px 12px 0 8px;
		padding: 0 16px;
		background: linear-gradient(135deg, #1c6be4, #4f5bff);
		color: #fff;
		font-weight: 600;
		box-shadow: 0 6px 16px -6px rgba(28, 107, 228, .7), inset 0 1px 0 rgba(255, 255, 255, .25);
	}
	.site-header .navbar-links > a.nav-cta:hover,
	.dark .site-header .navbar-links > a.nav-cta:hover {
		color: #fff;
		background: linear-gradient(135deg, #1556b8, #3f4be8);
		box-shadow: 0 8px 20px -6px rgba(28, 107, 228, .85), inset 0 1px 0 rgba(255, 255, 255, .25);
	}

	/* Laptop widths: keep everything on one line */
	@media (max-width: 1320px) {
		.site-header .navbar-links > a,
		.site-header .navbar-links > .has-drop-menu { padding: 0 10px; margin: 8px 1px 0; }
		.site-header .theme-label { display: none; }
	}
	@media (max-width: 1180px) {
		.site-header .nav-github .nav-text { display: none; }
		.site-header .navbar-links > a,
		.site-header .navbar-links > .has-drop-menu { padding: 0 8px; font-size: 13.5px; }
		.site-header .logo-img { height: 34px; }
	}

	/* Drop menus float a little below the pill */
	.site-header .navbar-links .drop-menu { top: calc(100% + 10px); }
	/* Invisible bridge so hover menus don't close while crossing the gap */
	.site-header .navbar-links .hover-menu .drop-menu:before {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		top: -12px;
		height: 12px;
	}
}

/* ---------- Drop menus: frosted panels ---------- */
.site-header .drop-menu,
.dark .site-header .drop-menu,
.site-header .navbar-links .drop-menu {
	background: var(--menu-glass);
	-webkit-backdrop-filter: blur(18px) saturate(180%);
	backdrop-filter: blur(18px) saturate(180%);
	border: 1px solid var(--glass-line);
	border-radius: 14px;
	box-shadow: var(--shadow-md), inset 0 1px 0 var(--glass-edge);
	padding: 6px;
	min-width: 200px;
	overflow: visible;
}
.site-header .drop-menu a,
.dark .site-header .drop-menu a {
	color: var(--text);
	border-radius: 9px;
	padding: 9px 12px;
	line-height: 1.3;
	font-size: 14px;
	text-align: left;
	white-space: nowrap;
}
.site-header .drop-menu a:hover,
.dark .site-header .drop-menu a:hover { background: var(--primary-soft); color: var(--primary); }
.site-header .drop-menu a:hover i { color: var(--primary); }

.dark .site-header i.arrow-down,
.site-header i.arrow-down { border-color: currentColor; opacity: .7; }

/* ---------- Mobile: glass drawers and toggles ---------- */
@media all and (max-width: 1024px) {
	.site-header .mobile-menu,
	.dark .site-header .navbar .mobile-menu {
		background-color: transparent;
		border-radius: 12px;
		transition: background-color .2s;
	}
	.site-header #mobileMenu:checked ~ #mobileMenuLabel,
	.site-header #mobileMenu2:checked ~ #mobileMenuLabel2,
	.dark .site-header .navbar #mobileMenu:checked ~ #mobileMenuLabel,
	.dark .site-header .navbar #mobileMenu2:checked ~ #mobileMenuLabel2 {
		background-color: var(--nav-hover);
	}
	.site-header .mobile-menu .hamburger,
	.site-header .mobile-menu .hamburger:before,
	.site-header .mobile-menu .hamburger:after,
	.site-header .mobile-menu i.profile,
	.site-header .mobile-menu i.profile:after,
	.dark .site-header .navbar .mobile-menu .hamburger,
	.dark .site-header .navbar .mobile-menu .hamburger:before,
	.dark .site-header .navbar .mobile-menu .hamburger:after,
	.dark .site-header .navbar .mobile-menu i.profile,
	.dark .site-header .navbar .mobile-menu i.profile:after {
		background-color: var(--text);
		border-radius: 2px;
	}
	#mobileMenu:checked ~ .mobile-menu i.hamburger { background-color: transparent !important; }

	/* Drawer glass also on a pseudo layer: the drawer holds PCF's fixed .full-screen close labels */
	.site-header .navbar nav,
	.dark .site-header .navbar nav {
		background: transparent;
		box-shadow: var(--glass-shadow);
		border-right: 1px solid var(--glass-line);
	}
	.site-header .navbar nav:before {
		content: "";
		position: absolute;
		inset: 0;
		z-index: -1;
		pointer-events: none;
		background: var(--menu-glass);
		-webkit-backdrop-filter: blur(20px) saturate(180%);
		backdrop-filter: blur(20px) saturate(180%);
	}
	.site-header .navbar .right-side ~ nav { border-right: 0; border-left: 1px solid var(--glass-line); }

	.site-header .navbar nav a,
	.site-header .navbar nav div.has-drop-menu {
		padding: 0 20px;
		border-bottom: 1px solid var(--glass-line);
		color: var(--text);
		font-size: 15px;
	}
	.site-header .navbar-links > a.active,
	.site-header .navbar-links > .has-drop-menu.active {
		border-left: 3px solid var(--primary);
		color: var(--primary);
		background: var(--primary-soft);
	}
	.site-header .navbar-links > a.nav-cta { color: var(--primary); font-weight: 600; }
	/* Submenus inside the drawer: flat, indented rows (undo the desktop floating panel) */
	.site-header .navbar ul.drop-menu,
	.site-header .navbar .drop-menu,
	.dark .site-header .navbar .drop-menu {
		position: relative;
		top: auto;
		display: none;
		width: 100%;
		margin: 0;
		padding: 0 0 6px;
		background: transparent;
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
		border: 0;
		border-radius: 0;
		box-shadow: none;
		min-width: 0;
	}
	.site-header .navbar .drop-menu-input:checked ~ .drop-menu,
	.site-header .navbar .hover-menu:hover .drop-menu { display: block; }
	.site-header .navbar .drop-menu:before { display: none; }
	.site-header .navbar nav .drop-menu li { border: 0; }
	.site-header .navbar nav .drop-menu a,
	.dark .site-header .navbar nav .drop-menu a {
		min-height: 46px;
		line-height: 46px;
		padding: 0 20px 0 28px;
		border: 0;
		border-radius: 10px;
		font-size: 14px;
		color: var(--muted);
	}
	.site-header .navbar nav .drop-menu a:hover { background: var(--nav-hover); color: var(--text); }
	/* Less see-through on mobile so page content doesn't smear through the drawer */
	.site-header .navbar nav:before { background: var(--glass-bg-solid); }
	/* Dim the page behind an open drawer */
	#mobileMenu:checked ~ .full-screen[for='mobileMenu'],
	#mobileMenu2:checked ~ .full-screen[for='mobileMenu2'] {
		background: rgba(10, 12, 17, .25);
	}
}

/* =========================================================
   Home: hero
   ========================================================= */
/*
	Hero layers (back to front), all pure CSS:
	  ::before    background image, slow drift + zoom
	  ::after     readability wash behind the headline (static)
	  .hero-fx    drifting glow orbs + periodic light sweep
	  content     .main-container
	Only transform/opacity are animated, so it stays smooth.
*/
.hero-area.home-hero {
	position: relative;
	isolation: isolate;
	text-align: left;
	padding: 88px 0 80px;
	background: #1c6be4;
	border-bottom: 1px solid var(--border);
	overflow: hidden;
}
.dark .hero-area.home-hero { background: #0a0c11; }

.hero-area.home-hero:before {
	content: "";
	position: absolute;
	inset: -4%;
	z-index: -3;
	background: url("../images/hero-bg.jpg") center / cover no-repeat;
	transform-origin: 70% 40%;
	animation: hero-drift 18s ease-in-out infinite alternate;
	will-change: transform;
}
@keyframes hero-drift {
	0%   { transform: scale(1.04) translate3d(0, 0, 0); }
	50%  { transform: scale(1.16) translate3d(-3.5%, 2%, 0); }
	100% { transform: scale(1.26) translate3d(3%, -3%, 0); }
}

/* Light wash on the text side keeps the headline readable over the artwork */
.hero-area.home-hero:after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;
	pointer-events: none;
	background: linear-gradient(90deg, rgba(246, 247, 251, .88) 0%, rgba(246, 247, 251, .62) 42%, rgba(246, 247, 251, .08) 75%, rgba(246, 247, 251, 0) 100%);
}
.dark .hero-area.home-hero:after {
	background: linear-gradient(90deg, rgba(10, 12, 17, .9) 0%, rgba(10, 12, 17, .72) 45%, rgba(10, 12, 17, .35) 100%);
}

/* Glow orbs + light sweep (decorative markup: <div class="hero-fx">) */
.hero-fx {
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	overflow: hidden;
}
.hero-fx span {
	position: absolute;
	border-radius: 50%;
	filter: blur(50px);
	opacity: .9;
	mix-blend-mode: screen;
	will-change: transform;
}
.hero-fx span:nth-child(1) {
	width: 480px; height: 480px; right: 6%; top: -6%;
	background: radial-gradient(circle, rgba(0, 240, 210, 1), rgba(0, 240, 210, 0) 68%);
	animation: orb-a 9s ease-in-out infinite alternate;
}
.hero-fx span:nth-child(2) {
	width: 560px; height: 560px; right: 26%; bottom: -26%;
	background: radial-gradient(circle, rgba(70, 130, 255, 1), rgba(70, 130, 255, 0) 68%);
	animation: orb-b 12s ease-in-out infinite alternate;
}
.hero-fx span:nth-child(3) {
	width: 400px; height: 400px; right: -6%; top: 34%;
	background: radial-gradient(circle, rgba(160, 100, 255, 1), rgba(160, 100, 255, 0) 68%);
	animation: orb-c 10s ease-in-out infinite alternate;
}
@keyframes orb-a {
	0%   { transform: translate3d(0, 0, 0) scale(1); }
	50%  { transform: translate3d(-260px, 120px, 0) scale(1.25); }
	100% { transform: translate3d(-120px, 260px, 0) scale(.85); }
}
@keyframes orb-b {
	0%   { transform: translate3d(0, 0, 0) scale(1); }
	50%  { transform: translate3d(240px, -160px, 0) scale(.8); }
	100% { transform: translate3d(380px, -60px, 0) scale(1.2); }
}
@keyframes orb-c {
	0%   { transform: translate3d(0, 0, 0) scale(1); }
	50%  { transform: translate3d(-220px, -200px, 0) scale(1.3); }
	100% { transform: translate3d(-360px, 40px, 0) scale(.9); }
}
/* Light theme: the art is already bright, so "screen" barely shows; use normal blending */
body:not(.dark) .hero-fx span { mix-blend-mode: normal; opacity: .65; }
.dark .hero-fx span { opacity: .6; }

/* A soft band of light glides across every ~10s */
.hero-fx:after {
	content: "";
	position: absolute;
	top: -20%;
	bottom: -20%;
	left: 0;
	width: 40%;
	background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .5) 50%, rgba(255, 255, 255, 0) 100%);
	transform: translate3d(-120%, 0, 0) skewX(-18deg);
	animation: hero-sweep 6s cubic-bezier(.45, 0, .25, 1) infinite;
	will-change: transform;
}
.dark .hero-fx:after { background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(140, 200, 255, .24) 50%, rgba(255, 255, 255, 0) 100%); }
@keyframes hero-sweep {
	0%, 40% { transform: translate3d(-120%, 0, 0) skewX(-18deg); }
	100%    { transform: translate3d(360%, 0, 0) skewX(-18deg); }
}

@media (prefers-reduced-motion: reduce) {
	.hero-area.home-hero:before,
	.hero-fx span,
	.hero-fx:after { animation: none; }
	.hero-fx:after { display: none; }
}
.home-hero .hero-lead { color: #3d4759; }
.dark .home-hero .hero-lead { color: var(--muted); }
.home-hero .hero-meta { color: #3d4759; }
.dark .home-hero .hero-meta { color: var(--muted); }
.home-hero .code-window { box-shadow: 0 30px 60px -20px rgba(4, 30, 90, .45), 0 2px 6px rgba(4, 30, 90, .12); }
.home-hero .btn-ghost { background: rgba(255, 255, 255, .85); }
.dark .home-hero .btn-ghost { background: rgba(18, 21, 29, .85); }

@media all and (max-width: 1024px) {
	/* Stacked layout: wash the whole hero evenly */
	.hero-area.home-hero:after { background: linear-gradient(rgba(246, 247, 251, .78), rgba(246, 247, 251, .55)); }
	.dark .hero-area.home-hero:after { background: linear-gradient(rgba(10, 12, 17, .85), rgba(10, 12, 17, .7)); }
	/* Smaller, softer orbs on narrow screens */
	.hero-fx span { filter: blur(40px); opacity: .7; }
	.hero-fx span:nth-child(1) { width: 260px; height: 260px; }
	.hero-fx span:nth-child(2) { width: 320px; height: 320px; right: 0; bottom: 10%; }
	.hero-fx span:nth-child(3) { width: 220px; height: 220px; }
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--primary);
}
.home-hero .eyebrow {
	padding: 5px 12px 5px 5px;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: var(--surface);
	box-shadow: var(--shadow-sm);
	text-transform: none;
	letter-spacing: 0;
	color: var(--muted);
	font-weight: 500;
}
.home-hero .eyebrow .flag { font-size: 11px; padding: 2px 8px; }

.hero-area h1.hero-title {
	font-size: clamp(34px, 3.4vw + 14px, 60px);
	line-height: 1.06;
	font-weight: 800;
	letter-spacing: -.035em;
	margin: 20px 0 18px;
}
.hero-title span {
	background: linear-gradient(90deg, var(--primary), var(--accent));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.hero-lead {
	font-size: 17px;
	line-height: 1.65;
	color: var(--muted);
	max-width: 540px;
	margin: 0 0 28px;
}

.hero-actions { margin-bottom: 22px; }

.hero-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 13px; color: var(--muted); }
.hero-meta i { color: var(--primary); margin-right: 6px; }

/* Demo window */
.code-window {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-md);
	overflow: hidden;
}
.code-window-bar {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 18px;
	border-bottom: 1px solid var(--border);
	background: linear-gradient(90deg, var(--primary-soft), transparent 70%);
}
.demo-live {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--primary);
}
.demo-pulse {
	position: relative;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--success);
}
.demo-pulse:after {
	content: "";
	position: absolute;
	inset: -4px;
	border-radius: 50%;
	border: 2px solid var(--success);
	opacity: 0;
	animation: demo-pulse 2s ease-out infinite;
}
@keyframes demo-pulse {
	0% { transform: scale(.5); opacity: .8; }
	100% { transform: scale(1.4); opacity: 0; }
}
.demo-hint { font-size: 13px; color: var(--muted); }
.demo-badge {
	margin-left: auto;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	color: var(--muted);
	background: var(--surface);
	border: 1px solid var(--border);
	white-space: nowrap;
}
.demo-badge i { color: var(--muted); }
@media all and (max-width: 767px) { .demo-hint { display: none; } }
@media (prefers-reduced-motion: reduce) { .demo-pulse:after { animation: none; } }
.code-window-body { padding: 6px 18px 20px; }

.code-window .tab-elements.line-tabs .responsive-tabs label,
.dark .code-window .line-tabs .responsive-tabs label {
	border-bottom: 2px solid transparent;
	color: var(--muted);
	font-weight: 600;
	font-size: 13px;
	border-radius: 0;
	padding: 10px 14px;
}
.code-window .tab-elements.line-tabs input[type=radio]:nth-child(1):checked ~ .responsive-tabs label:nth-child(1),
.code-window .tab-elements.line-tabs input[type=radio]:nth-child(2):checked ~ .responsive-tabs label:nth-child(2),
.code-window .tab-elements.line-tabs input[type=radio]:nth-child(3):checked ~ .responsive-tabs label:nth-child(3) {
	color: var(--text);
	border-bottom: 2px solid var(--primary);
}
.code-window .tab-btns { border-bottom: 1px solid var(--border); }
.code-window .tab-info { padding: 18px 0 0; min-height: 212px; box-sizing: border-box; }
.code-window pre[class*=language-] { margin: 0 !important; border-radius: var(--radius-sm); font-size: 12px; }

.demo-card {
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	padding: 18px;
	background: var(--bg);
}
.demo-card-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.demo-card .loading-bar { margin: 18px 0; border-radius: 999px; overflow: hidden; }
.demo-card .loading-bar .bar { border-radius: 999px; }
.demo-card .toggle-check { margin: 0; }
.demo-card .form-elements { margin: 0; }
/* PCF's .line-tabs .btn {background:none} also hits buttons inside the panel; restore them */
.code-window .line-tabs .demo-card .btn.success { background-color: var(--success); color: #fff; }
.code-window .line-tabs .demo-card .btn.success:hover { filter: brightness(1.08); }
.demo-card .loading-bar { background-color: var(--surface-2); }
.dark .demo-card .loading-bar { background-color: #242a38; }
.demo-card .btn + .btn-ghost { margin-left: 0; }
.demo-inbox { margin-left: auto; font-size: 14px; font-weight: 600; padding-right: 14px; }

.no-js { display: flex; align-items: center; gap: 20px; padding: 20px 4px; }
.no-js-zero {
	font-size: 92px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.05em;
	background: linear-gradient(135deg, var(--primary), var(--accent));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.no-js .bold { font-size: 20px; }

/* =========================================================
   Home: stats, sections, cards
   ========================================================= */
.stats-strip {
	margin-top: -1px;
	border-bottom: 1px solid var(--border);
	padding: 18px 0;
}
.stat { text-align: center; }
.stat-number { display: block; font-size: 34px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.stat-number small { font-size: 15px; font-weight: 600; color: var(--muted); margin-left: 3px; }
.stat-label { font-size: 13px; color: var(--muted); }

.home-section { padding-top: 80px; padding-bottom: 80px; }
.home-section h2 { margin: 10px 0 14px; }
.section-head { max-width: 640px; margin: 0 auto 36px; }
.section-head p { font-size: 16px; }

.panel.feature-card,
.dark .panel.feature-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	padding: 0;
	transition: transform .25s, box-shadow .25s, border-color .25s;
}
.panel.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.feature-card .panel-body { padding: 28px; }
.feature-card h4 { margin: 18px 0 8px; font-size: 18px; }
.feature-card p { color: var(--muted); margin: 0; }
/* Homepage feature cards: bigger icon on the left, title + text beside it */
.feature-card.icon-left .panel-body {
	display: grid;
	grid-template-columns: 56px 1fr;
	column-gap: 18px;
	align-items: start;
}
.feature-card.icon-left .feature-icon {
	grid-row: 1 / span 2;
	width: 56px;
	height: 56px;
	border-radius: 15px;
	box-shadow: 0 8px 18px -8px rgba(15, 23, 41, .35);
	transition: transform .25s;
}
.feature-card.icon-left .feature-icon i { font-size: 24px; }
.feature-card.icon-left h4 { margin: 4px 0 6px; }
.feature-card.icon-left:hover .feature-icon { transform: scale(1.06) rotate(-4deg); }
@media all and (max-width: 767px) {
	.feature-card.icon-left .panel-body { grid-template-columns: 48px 1fr; column-gap: 14px; padding: 22px; }
	.feature-card.icon-left .feature-icon { width: 48px; height: 48px; border-radius: 13px; }
	.feature-card.icon-left .feature-icon i { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
	.feature-card.icon-left:hover .feature-icon { transform: none; }
}

.feature-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	font-size: 20px;
	font-weight: 700;
}

.home-band {
	background: var(--surface);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}

.inside-grid .inside-item {
	display: block;
	text-decoration: none;
	color: var(--text);
	padding: 18px;
	margin: 0;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	background: var(--bg);
	box-sizing: border-box;
	transition: border-color .2s, transform .2s, background-color .2s;
}
.inside-grid { gap: 12px; margin: 0 !important; width: 100% !important; }
.inside-grid > .inside-item { width: calc(33.333% - 8px); padding: 18px; }
.inside-item:hover { border-color: var(--primary); background: var(--primary-soft); transform: translateY(-2px); }
.inside-item b { display: block; font-size: 15px; margin-bottom: 2px; }
/* Icon on the left, title + caption stacked on the right */
.inside-grid > .inside-item {
	display: grid;
	grid-template-columns: 46px 1fr;
	grid-template-rows: auto auto;
	column-gap: 14px;
	align-items: center;
	align-content: center;
}
.inside-item > i {
	grid-row: 1 / span 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 12px;
	background: var(--primary-soft);
	color: var(--primary);
	font-size: 21px;
	transition: background-color .2s, color .2s;
}
.inside-item > b { align-self: end; margin: 0; line-height: 1.25; }
.inside-item > span { align-self: start; line-height: 1.35; margin-top: 2px; }
.inside-item:hover > i { background: var(--primary); color: #fff; }
.inside-item span { font-size: 13px; color: var(--muted); }

.compare-table {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
}
.compare-table .tbl th { font-size: 13px; color: var(--muted); font-weight: 600; background: var(--surface-2); }
.compare-table .tbl th:nth-child(2) { color: var(--primary); }
.compare-table .tbl td { border-bottom: 1px solid var(--border); }
.compare-table .tbl td:first-child { font-weight: 500; }

.call-out.info,
.dark .call-out.info {
	background: var(--primary-soft);
	border-left: 3px solid var(--primary);
	color: var(--text);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.cta-band {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 24px;
	margin: 0 0 80px;
	padding: 44px 48px;
	border-radius: 20px;
	color: #fff;
	background:
		radial-gradient(600px 300px at 100% 0%, rgba(255, 255, 255, .18), transparent 60%),
		linear-gradient(120deg, #1c6be4, #5b4dff 60%, #7c4dff);
	box-shadow: 0 24px 50px -24px rgba(60, 70, 230, .55);
}
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { margin: 0; opacity: .85; font-size: 16px; }
.cta-band .btn.white { border: 0; color: #1c3fa8; }
.cta-band .btn.white:hover { background: #fff; transform: translateY(-1px); }
.cta-band .btn-ghost.inverted { color: #fff; border-color: rgba(255, 255, 255, .5); background: transparent; }
.cta-band .btn-ghost.inverted:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }

/* =========================================================
   Inner doc pages (css.php, components.php, layouts.php, ...)
   ========================================================= */
.call-out.main-section.primary {
	margin-top: 24px;
	padding: 36px 32px;
	border: 0;
	border-radius: var(--radius);
	color: #fff;
	background:
		radial-gradient(500px 240px at 100% 0%, rgba(255, 255, 255, .16), transparent 60%),
		linear-gradient(120deg, #1c6be4, #5b4dff);
}
.call-out.main-section.primary h1 { color: #fff; font-weight: 800; margin: 0 0 6px; }
.call-out.main-section.primary h1 small { color: rgba(255, 255, 255, .8); }

.main-info section,
.dark .main-info section {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	padding: 0 28px 24px;
	overflow: hidden;
}
.main-info section > h1,
.dark .main-info section > h1 {
	margin: 0 -28px 24px;
	padding: 20px 28px;
	font-size: 22px;
	font-weight: 700;
	color: var(--text);
	background: var(--surface-2);
	border-bottom: 1px solid var(--border);
}
.main-info section > h1 small { color: var(--muted); font-weight: 400; }

.nav-side.pch,
.dark .nav-side.pch {
	background: transparent;
	border-right: 1px solid var(--border);
	padding-top: 24px;
}
.nav-side.pch .nav-side-item a,
.nav-side.pch .nav-side-item label {
	border-radius: 8px;
	color: var(--muted);
	font-weight: 500;
}
.nav-side.pch .nav-side-item a:hover,
.nav-side.pch .nav-side-item label:hover,
.nav-side.pch .nav-side-item a.active { color: var(--primary); background: var(--primary-soft); }

body pre.code-toolbar { margin-bottom: 48px; }

/* =========================================================
   Simple pages (getting started, layouts, about, contact)
   ========================================================= */
.hero-area.page-hero {
	text-align: left;
	padding: 56px 0 44px;
	background:
		radial-gradient(700px 300px at 90% -20%, rgba(124, 77, 255, .14), transparent 60%),
		radial-gradient(700px 300px at 0% -20%, rgba(28, 107, 228, .14), transparent 60%),
		linear-gradient(var(--grid-line) 1px, transparent 1px) 0 0 / 32px 32px,
		linear-gradient(90deg, var(--grid-line) 1px, transparent 1px) 0 0 / 32px 32px,
		var(--bg);
	border-bottom: 1px solid var(--border);
}
.page-hero h1 {
	font-size: clamp(30px, 2.2vw + 16px, 46px);
	font-weight: 800;
	letter-spacing: -.03em;
	line-height: 1.1;
	margin: 12px 0 12px;
}
.page-lead { font-size: 17px; color: var(--muted); max-width: 640px; margin: 0; }
.page-body { padding-top: 48px; padding-bottom: 72px; }
.page-body .section-head { margin: 56px 0 20px; max-width: none; }
.page-body .section-head h2 { margin: 6px 0 0; }
.page-note { margin-top: 28px; }

/* Getting started */
.step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--primary-soft);
	color: var(--primary);
	font-weight: 800;
}
.steps .feature-card h4 { margin-top: 14px; }
.steps .feature-card p { margin-bottom: 16px; }
.steps pre[class*=language-] { margin: 0 !important; border-radius: var(--radius-sm); font-size: 12px; white-space: pre-wrap; }
.steps pre[class*=language-] code { white-space: pre-wrap; word-break: break-all; }
/* Pull top-level grids out by the column padding so cards line up with full-width blocks */
.page-body > .flex-grid { margin-left: -12px; margin-right: -12px; width: calc(100% + 24px); }
.layout-card .panel-body h4 { margin-top: 0; }

.download-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 24px;
	margin-top: 32px;
	padding: 32px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
}
.download-card h2 { margin: 6px 0 6px; }
.download-card h2 .flag { font-size: 13px; vertical-align: middle; }
.download-card p { margin: 0; }
.download-card-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.github-btn { display: inline-flex !important; align-items: center; gap: 10px; }
.github-btn img { display: block; }
.files-table .tbl td { vertical-align: top; }
.files-table .tbl td:nth-child(2) { color: var(--muted); min-width: 280px; }

/* Layouts */
.layout-card { overflow: hidden; }
.wire {
	padding: 18px;
	background: var(--surface-2);
	border-bottom: 1px solid var(--border);
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.wire > div, .wire-box { border-radius: 4px; }
.wire-bar { height: 12px; background: var(--primary); opacity: .55; }
.wire-foot { opacity: .25; }
.wire-hero { height: 48px; background: var(--primary-soft); border: 1px dashed var(--primary); }
.wire-row { display: flex; gap: 6px; height: 40px; }
.wire-row.wire-tall { height: 96px; }
.wire-box { flex: 1; background: var(--surface); border: 1px solid var(--border); }
.wire-side { flex: 0 0 22%; background: var(--primary-soft); }
.layout-card .panel-body p { margin-bottom: 16px; }
.call-out.admin-soon { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--surface-2); border-left-color: var(--border); }

/* About */
.prose h2 { margin: 0 0 12px; }
.prose h2 + p { margin-top: 0; }
.prose p { font-size: 16px; line-height: 1.75; }
.prose p + h2 { margin-top: 36px; }
.principles { padding: 0; margin: 0; }
.principles li {
	position: relative;
	padding: 12px 0 12px 30px;
	border-bottom: 1px solid var(--border);
}
.principles li:last-child { border-bottom: 0; }
.principles li > i { position: absolute; left: 2px; top: 15px; width: 18px; text-align: center; color: var(--primary); }
.principles li { padding-left: 32px; }
.tbl.glance { margin: 6px 0 18px; }
.tbl.glance td { padding: 10px 0; border-bottom: 1px solid var(--border); }

/* Forms */
.form-elements label { font-weight: 600; font-size: 13px; display: block; margin-bottom: 6px; }
.form-elements input:not(.btn):not([type=checkbox]):not([type=radio]),
.form-elements textarea,
.form-elements select,
.dark .form-elements input:not(.btn),
.dark .form-elements textarea,
.dark .form-elements select {
	font-family: inherit;
	font-size: 15px;
	background: var(--bg);
	color: var(--text);
	border: 1px solid var(--border);
	border-radius: 10px;
	transition: border-color .2s, box-shadow .2s;
}
.form-elements input:not(.btn):focus,
.form-elements textarea:focus,
.form-elements select:focus {
	border-color: var(--primary);
	box-shadow: 0 0 0 3px var(--primary-soft);
}
.alert { border-radius: var(--radius-sm); padding: 14px 16px; }

/* =========================================================
   Carousel demo: rounded frame + a clearly visible Play button
   (site override; the standalone pch-carousel.css is unchanged)
   ========================================================= */
.main-info .pcf-carousel { border-radius: var(--radius); box-shadow: var(--shadow-md); }

.pcf-carousel label.btn-play {
	width: 104px;
	height: 42px;
	left: calc(50% - 52px);
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, .95);
	box-shadow: 0 10px 26px -8px rgba(10, 20, 60, .55), 0 0 0 4px rgba(255, 255, 255, .25);
	animation: carousel-play-pulse 2s ease-in-out infinite;
	z-index: 12;
}
/* "Play" text */
.pcf-carousel label.btn-play:before {
	content: "Play";
	position: absolute;
	left: 44px;
	top: 0;
	line-height: 42px;
	font: 700 15px/42px "Inter", Arial, sans-serif;
	color: #1c3fa8;
	letter-spacing: .01em;
}
/* White play triangle in a blue circle (replaces the original tiny border triangle) */
.pcf-carousel label.btn-play:after {
	content: "\25B6";
	position: absolute;
	top: 6px;
	left: 6px;
	width: 30px;
	height: 30px;
	border: 0;
	border-radius: 50%;
	background: linear-gradient(135deg, #1c6be4, #5b4dff);
	color: #fff;
	font: 12px/30px Arial, sans-serif;
	text-align: center;
	text-indent: 2px;
}
.pcf-carousel label.btn-play:hover {
	border: 0;
	background: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 14px 30px -8px rgba(10, 20, 60, .65), 0 0 0 5px rgba(255, 255, 255, .35);
	animation: none;
}
@keyframes carousel-play-pulse {
	0%, 100% { box-shadow: 0 10px 26px -8px rgba(10, 20, 60, .55), 0 0 0 4px rgba(255, 255, 255, .25); }
	50%      { box-shadow: 0 10px 26px -8px rgba(10, 20, 60, .55), 0 0 0 10px rgba(255, 255, 255, .12); }
}
/* Sit above the slide dots when paused */
.pcf-carousel #carousel-start-1:checked ~ label.btn-play,
.pcf-carousel #carousel-start-2:checked ~ label.btn-play,
.pcf-carousel #carousel-start-3:checked ~ label.btn-play,
.pcf-carousel #carousel-start-4:checked ~ label.btn-play,
.pcf-carousel #carousel-start-5:checked ~ label.btn-play { bottom: 36px; }
/* Bigger, easier slide dots. Both rows (clickable dots + animated white "current" dot)
   must share the same position and size so the white dot sits exactly on its gray dot. */
.pcf-carousel .pcf-carousel-dots,
.pcf-carousel .pcf-carousel-anime-dots { bottom: 8px; }
.pcf-carousel-dots label,
.pcf-carousel-anime-dots div { width: 12px; height: 12px; margin: 6px; }
.pcf-carousel-dots label:after { width: 12px; height: 12px; }
@media all and (max-width: 767px) {
	/* Carousel is only 200px tall on phones: compact button */
	.pcf-carousel label.btn-play { width: 84px; height: 34px; left: calc(50% - 42px); }
	.pcf-carousel label.btn-play:before { left: 36px; font-size: 13px; line-height: 34px; }
	.pcf-carousel label.btn-play:after { top: 5px; left: 5px; width: 24px; height: 24px; line-height: 24px; font-size: 10px; }
	.pcf-carousel #carousel-start-1:checked ~ label.btn-play,
	.pcf-carousel #carousel-start-2:checked ~ label.btn-play,
	.pcf-carousel #carousel-start-3:checked ~ label.btn-play,
	.pcf-carousel #carousel-start-4:checked ~ label.btn-play,
	.pcf-carousel #carousel-start-5:checked ~ label.btn-play { bottom: 32px; }
}
@media (prefers-reduced-motion: reduce) { .pcf-carousel label.btn-play { animation: none; } }

/* =========================================================
   Font Awesome icons (site only, PCF does not require them)
   ========================================================= */
.btn > i, .btn-ghost > i, .flag > i { margin: 0 2px; }
.btn > i:first-child { margin-left: 0; margin-right: 6px; }
.btn > i:last-child:not(:first-child) { margin-left: 6px; margin-right: 0; }
.feature-icon i { font-size: 18px; }
h4 > i, .call-out h4 > i { color: var(--primary); margin-right: 4px; }
.call-out.main-section h1 > i { color: #fff; }
.code-window .demo-card .bold i, .demo-inbox i { color: var(--muted); margin-right: 4px; }
.site-header .navbar-links > a > i,
.site-header .has-drop-menu > i.fa-solid { margin-right: 4px; font-size: 13px; }
.site-header .navbar-links > a.nav-cta > i { margin-right: 6px; }
.site-header .drop-menu a i { color: var(--muted); margin-right: 6px; }
.footer-links a i { color: var(--muted); margin-right: 6px; opacity: .8; }
.footer-links a:hover i { color: var(--primary); opacity: 1; }
.fa-credit i { margin-right: 2px; }

.fa-demo {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
	gap: 10px;
	margin: 18px 0 24px;
}
.fa-demo span {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 18px 10px 14px;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	background: var(--bg);
}
.fa-demo i { font-size: 26px; color: var(--primary); }
.fa-demo code { font-size: 11px; }
.icon-note { background: var(--surface-2); border-left-color: var(--accent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.icon-note pre[class*=language-] { margin: 12px 0 !important; border-radius: var(--radius-sm); white-space: pre-wrap; }
.icon-note pre[class*=language-] code { white-space: pre-wrap; word-break: break-all; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
	height: auto;
	padding: 56px 0 28px;
	background: var(--surface);
	border-top: 1px solid var(--border);
	font-size: 14px;
}
.footer-brand { display: inline-block; text-decoration: none; }
.footer-brand .logo-img { display: block; height: 38px; width: auto; }
.footer-tagline { color: var(--muted); margin: 10px 0 0; }
.footer-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text); margin: 4px 0 12px; }
.footer-links { margin: 0; padding: 0; }
.footer-links li { margin: 0 0 8px; }
.footer-links a, .footer-bottom a { color: var(--muted); text-decoration: none; }
.footer-links a:hover, .footer-bottom a:hover { color: var(--primary); }
.footer-bottom {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 32px;
	padding: 20px 12px 0;
	border-top: 1px solid var(--border);
	color: var(--muted);
}
.footer-bottom small { font-size: 13px; }

/* =========================================================
   Responsive
   ========================================================= */
@media all and (max-width: 1024px) {
	.hero-area.home-hero { padding: 48px 0 40px; }
	.hero-copy { margin-bottom: 16px; }
	.home-section { padding-top: 56px; padding-bottom: 56px; }
	.inside-grid { margin-top: 24px !important; }
	.compare-table { margin-top: 12px; }
	.cta-band { padding: 32px 28px; margin-bottom: 56px; }
	.nav-side.pch, .dark .nav-side.pch { padding-top: 0; border-right: 0; background: var(--surface); }
	/* Docs side menu ("Options") on mobile: PCF caps it at 200px; give it more room */
	.nav-side.side-nav-responsive > input[type=checkbox]:checked ~ .side-menu-items { max-height: 60vh; }
	/* Layouts no longer has a side nav, so drop the extra mobile offset PCF adds for it */
	.layouts .fixed ~ .fixed-nav-space { height: 52px; }
	.page-hero { padding: 40px 0 32px; }
	.download-card { padding: 24px; }
}

@media all and (max-width: 767px) {
	body, body.dark { font-size: 15px; }
	.hero-lead { font-size: 16px; }
	.hero-actions .btn { display: block; width: 100%; margin: 0 0 10px; }
	.btn + .btn-ghost { margin-left: 0; }
	.inside-grid > .inside-item { width: calc(50% - 6px); grid-template-columns: 38px 1fr; column-gap: 10px; padding: 14px; }
	.inside-item > i { width: 38px; height: 38px; font-size: 17px; border-radius: 10px; }
	.inside-item span { font-size: 12px; }
	.stat-number { font-size: 28px; }
	.no-js-zero { font-size: 64px; }
	.main-info section, .dark .main-info section { padding: 0 16px 16px; }
	.main-info section > h1, .dark .main-info section > h1 { margin: 0 -16px 16px; padding: 16px; }
	.cta-actions .btn { display: block; width: 100%; margin: 0 0 10px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.btn, .panel.feature-card, .inside-item { transition: none; }
}
