/* Casigood UK: design tokens, typography, section frame, buttons.
   Theme variables are printed inline after wp_head, so they are overridden with html:root. */

html:root {
	--version-font: 'Montserrat', 'Segoe UI', Arial, sans-serif;

	--cg-bg: #1d1d1d;
	--cg-surface: #111111;
	--cg-surface-2: #161616;
	--cg-surface-3: #222222;
	--cg-line: #2b2b2b;
	--cg-text: #ffffff;
	--cg-muted: #b9b9b9;
	--cg-sky: #61c6ff;
	--cg-blue: #4d69ff;
	--cg-teal: #16d8b5;
	--cg-green: #6fe08f;
	--cg-grad: linear-gradient(180deg, #61c6ff 54%, #4d69ff 100%);
	--cg-grad-h: linear-gradient(90deg, #61c6ff 0%, #4d69ff 100%);
	--cg-radius: 20px;
	--cg-radius-sm: 14px;
	--cg-shadow: 0 10px 30px rgba(0, 0, 0, .35);

	/* theme vars the options page does not expose */
	--h-menu-back-bg: #111111;
	--h-menu-back-bg-hover: #61c6ff;
	--h-menu-back-border: #61c6ff;
	--h-menu-back-border-hover: #61c6ff;
	--h-menu-back-text: #ffffff;
	--h-menu-back-text-hover: #000000;
}

body {
	font-family: var(--version-font);
	background-color: var(--cg-bg);
	-webkit-font-smoothing: antialiased;
}

body,
body button,
body input,
body textarea {
	font-family: var(--version-font);
}

/* ---- headings ---- */
body h1,
body h2,
body h3,
body h4 {
	font-family: var(--version-font);
	letter-spacing: -.01em;
}

body .section__title {
	font-weight: 800;
	line-height: 1.2;
}

body h2.section__title {
	position: relative;
	padding-bottom: 14px;
	margin-bottom: 22px;
}

body h2.section__title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 64px;
	height: 4px;
	border-radius: 4px;
	background: var(--cg-grad-h);
}

body h3.section__title {
	font-weight: 700;
	color: var(--cg-text);
}

/* ---- text ---- */
body .text-block {
	color: var(--cg-muted);
	line-height: 1.65;
}

body .text-block strong,
body .text-block b {
	color: var(--cg-text);
}

body .text-block a {
	color: var(--cg-sky);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color .2s;
}

body .text-block a:hover {
	color: #9adcff;
}

body .text-block ul li::marker {
	color: var(--cg-sky);
}

body .text-block ol li::marker {
	color: var(--cg-sky);
	font-weight: 800;
}

body .text-block h4 {
	color: var(--cg-text);
	font-weight: 700;
	margin-top: 14px;
}

/* ---- sections: more air, alternate a soft band every other section ---- */
body .section {
	position: relative;
}

body main > .section:nth-of-type(even)::before,
body .section + .section:nth-of-type(even)::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(97, 198, 255, .035), rgba(77, 105, 255, 0));
	pointer-events: none;
}

/* ---- buttons: gradient pills like the reference ---- */
body .vAll-button,
body .vAll-meta-button,
body a.vAll-button.button_1-gradient {
	border-radius: 16px !important;
	font-weight: 700;
	transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

body .vAll-button:not(.vAll-button_secondary),
body .vAll-meta-button:not(.vAll-meta-button_header-secondary) {
	background: var(--cg-grad) !important;
	color: #000000 !important;
	box-shadow: 0 6px 18px rgba(77, 105, 255, .35);
}

body .vAll-button:not(.vAll-button_secondary):hover,
body .vAll-meta-button:not(.vAll-meta-button_header-secondary):hover {
	transform: translateY(-2px);
	filter: brightness(1.06);
	box-shadow: 0 10px 24px rgba(77, 105, 255, .5);
}

body .vAll-meta-button .vAll-meta-button__text-main {
	font-weight: 800;
	color: #000000;
}

body .vAll-meta-button .vAll-meta-button__text-secondary {
	font-weight: 600;
	color: rgba(0, 0, 0, .72);
}

body .vAll-meta-button svg,
body .vAll-meta-button svg path {
	fill: #000000;
	stroke: #000000;
}

body .vAll-button_secondary,
body .vAll-meta-button_header-secondary {
	background: #ffffff !important;
	color: #000000 !important;
}

body .vAll-button_secondary:hover,
body .vAll-meta-button_header-secondary:hover {
	transform: translateY(-2px);
	background: #e9f6ff !important;
}

/* ---- to top ---- */
body .vAll-to-top,
body .v1-to-top {
	border-radius: 14px;
	background: var(--cg-grad) !important;
	color: #000 !important;
}
