:root {
	--owl-accent: #0284c7;
	--owl-accent-2: #10b981;
	--owl-accent-3: #f59e0b;
	--owl-bg: #f8fafc;
	--owl-surface: #ffffff;
	--owl-surface-soft: #f1f5f9;
	--owl-border: #e2e8f0;
	--owl-text: #0f172a;
	--owl-muted: #475569;
	color-scheme: light;
}

:root.dark {
	--owl-bg: #020617;
	--owl-surface: #0f172a;
	--owl-surface-soft: #111827;
	--owl-border: #1e293b;
	--owl-text: #f8fafc;
	--owl-muted: #cbd5e1;
	color-scheme: dark;
}

:root[data-accent="emerald"] {
	--owl-accent: #059669;
	--owl-accent-2: #0284c7;
	--owl-accent-3: #f59e0b;
}

:root[data-accent="rose"] {
	--owl-accent: #e11d48;
	--owl-accent-2: #7c3aed;
	--owl-accent-3: #f59e0b;
}

:root[data-accent="amber"] {
	--owl-accent: #d97706;
	--owl-accent-2: #0891b2;
	--owl-accent-3: #16a34a;
}

body {
	background: var(--owl-bg);
	color: var(--owl-text);
	font-family: Inter, ui-sans-serif, system-ui, sans-serif;
	text-rendering: optimizeLegibility;
}

a,
button {
	transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

html.dark body {
	background: var(--owl-bg);
	color: var(--owl-text);
}

html.dark :where(header, footer, section, article, aside, form, .entry-content, .owl-surface) {
	border-color: var(--owl-border);
}

html.dark :where(.bg-white) {
	background-color: var(--owl-surface) !important;
}

html.dark :where(.bg-slate-50, .bg-slate-100) {
	background-color: var(--owl-surface-soft) !important;
}

html.dark :where(.text-slate-950, .text-slate-900, .text-slate-800, .text-slate-700) {
	color: var(--owl-text) !important;
}

html.dark :where(.text-slate-600, .text-slate-500, .text-slate-400, .text-slate-300) {
	color: var(--owl-muted) !important;
}

html.dark :where(.border-slate-100, .border-slate-200, .border-slate-300) {
	border-color: var(--owl-border) !important;
}

html.dark :where(input, textarea, select) {
	background-color: #020617;
	border-color: var(--owl-border);
	color: var(--owl-text);
}

html.dark :where(input::placeholder, textarea::placeholder) {
	color: #64748b;
}

.owl-section {
	border-bottom: 1px solid var(--owl-border);
	padding-block: clamp(2.5rem, 6vw, 5rem);
}

.owl-section-alt {
	background:
		linear-gradient(180deg, color-mix(in srgb, var(--owl-accent) 5%, transparent), transparent 45%),
		var(--owl-surface-soft);
	border-bottom: 1px solid var(--owl-border);
	padding-block: clamp(2.5rem, 6vw, 5rem);
}

html.dark .owl-section-alt {
	background:
		linear-gradient(180deg, color-mix(in srgb, var(--owl-accent) 12%, transparent), transparent 50%),
		#020617;
}

main > section:not(.owl-section):not(.owl-section-alt) {
	border-bottom: 1px solid var(--owl-border);
}

main > section:nth-of-type(even):not(.owl-section):not(.owl-section-alt) {
	background-color: color-mix(in srgb, var(--owl-surface-soft) 72%, transparent);
}

html.dark main > section:nth-of-type(even):not(.owl-section):not(.owl-section-alt) {
	background-color: #020617;
}

.owl-gradient {
	background-image: linear-gradient(135deg, var(--owl-accent), var(--owl-accent-2), var(--owl-accent-3));
}

.owl-text-gradient {
	background-image: linear-gradient(135deg, var(--owl-accent), var(--owl-accent-2));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.owl-focus:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--owl-accent) 45%, transparent);
	outline-offset: 3px;
}

.owl-header-nav :where(ul, li) {
	list-style: none;
	margin: 0;
	padding: 0;
}

.owl-site-header {
	background: color-mix(in srgb, var(--owl-surface) 94%, transparent);
	border-color: var(--owl-border);
	box-shadow: 0 1px 0 color-mix(in srgb, var(--owl-border) 70%, transparent);
}

.owl-header-search,
.owl-mobile-controls,
.owl-control-button,
.owl-control-group,
.owl-icon-button {
	background: var(--owl-surface-soft);
	border-color: var(--owl-border);
	color: var(--owl-text);
}

.owl-header-search input {
	color: var(--owl-text);
}

.owl-header-nav-row,
.owl-mobile-menu {
	background: var(--owl-surface);
	border-color: var(--owl-border);
}

.owl-control-button:hover,
.owl-icon-button:hover {
	border-color: color-mix(in srgb, var(--owl-accent) 45%, var(--owl-border));
	color: var(--owl-accent);
}

.owl-header-nav a {
	align-items: center;
	border-radius: 0.5rem;
	color: var(--owl-muted);
	display: inline-flex;
	font-size: 0.875rem;
	font-weight: 700;
	min-height: 2.5rem;
	padding: 0.5rem 0.75rem;
	text-decoration: none;
}

.owl-header-nav a:hover {
	background: var(--owl-surface-soft);
	color: var(--owl-text);
}

.entry-content {
	line-height: 1.75;
}

.entry-content :where(h2, h3, h4) {
	color: rgb(15 23 42);
	font-weight: 800;
	line-height: 1.2;
	margin-top: 2rem;
}

.dark .entry-content :where(h2, h3, h4) {
	color: rgb(248 250 252);
}

html.dark .entry-content {
	background-color: var(--owl-surface);
	color: var(--owl-muted);
}

.entry-content h2 {
	font-size: 1.75rem;
}

.entry-content h3 {
	font-size: 1.35rem;
}

.entry-content p,
.entry-content ul,
.entry-content ol {
	margin-top: 1rem;
}

.entry-content a {
	color: var(--owl-accent);
	font-weight: 600;
}

.entry-content img {
	border-radius: 0.75rem;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal;
}

.screen-reader-text:focus {
	background: #fff;
	clip: auto;
	clip-path: none;
	color: #111827;
	display: block;
	height: auto;
	left: 1rem;
	padding: 1rem;
	top: 1rem;
	width: auto;
	z-index: 100000;
}
