:root {
	--or-blue: #2d7dd2;
	--or-blue-dark: #1a5fa8;
	--or-blue-light: #a8d4ff;
	--or-ink: #1e2a3a;
	--or-text: #374151;
	--or-muted: #6b7280;
	--or-line: #e8edf4;
	--or-soft: #f4f7fb;
	--or-blue-soft: #eef4fb;
	--or-white: #ffffff;
	--or-radius: 10px;
	--or-width: 1200px;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--or-white);
	color: var(--or-ink);
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea {
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

h1,
h2,
h3,
h4,
p {
	margin-top: 0;
}

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

button,
input,
select,
textarea {
	font: inherit;
}

button,
a {
	-webkit-tap-highlight-color: transparent;
}

:focus-visible {
	outline: 3px solid rgba(45, 125, 210, 0.45);
	outline-offset: 3px;
}

.content-width {
	width: min(calc(100% - 10%), var(--or-width));
	margin-inline: auto;
}

.content-width.narrow {
	max-width: 820px;
}

.skip-link {
	position: fixed;
	top: -100px;
	left: 16px;
	z-index: 10000;
	padding: 10px 16px;
	border-radius: 6px;
	background: var(--or-ink);
	color: var(--or-white);
	font-weight: 700;
}

.skip-link:focus {
	top: 16px;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	border-bottom: 1px solid var(--or-line);
	background: rgba(255, 255, 255, 0.97);
	backdrop-filter: blur(10px);
}

.admin-bar .site-header {
	top: 32px;
}

.site-nav {
	display: flex;
	width: min(90%, var(--or-width));
	min-height: 64px;
	margin-inline: auto;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.site-logo {
	color: var(--or-blue);
	font-size: 1.2rem;
	font-weight: 800;
	letter-spacing: -0.5px;
	white-space: nowrap;
}

.site-logo span {
	color: var(--or-ink);
}

.nav-cta,
.button-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 7px;
	background: var(--or-blue);
	color: var(--or-white);
	cursor: pointer;
	font-size: 0.88rem;
	font-weight: 700;
	padding: 10px 20px;
	transition: background 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover,
.button-primary:hover {
	background: var(--or-blue-dark);
	transform: translateY(-1px);
}

.site-main {
	min-height: 60vh;
}

.page-hero {
	position: relative;
	overflow: hidden;
	background: var(--or-blue);
	padding: 48px 0 80px;
}

.page-hero::after {
	position: absolute;
	right: 0;
	bottom: -2px;
	left: 0;
	height: 60px;
	background: var(--or-soft);
	clip-path: polygon(0 100%, 100% 0, 100% 100%);
	content: "";
}

.page-hero h1 {
	margin-bottom: 10px;
	color: var(--or-white);
	font-size: clamp(1.8rem, 4vw, 2.6rem);
	font-weight: 800;
	letter-spacing: -0.6px;
	line-height: 1.2;
}

.page-hero p {
	max-width: 650px;
	margin-bottom: 0;
	color: rgba(255, 255, 255, 0.82);
	font-size: 1rem;
}

.site-footer {
	display: flex;
	min-height: 92px;
	padding: 24px 5%;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	background: var(--or-ink);
}

.footer-logo {
	color: var(--or-blue-light);
}

.footer-logo span {
	color: rgba(255, 255, 255, 0.52);
}

.footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.footer-links a {
	color: rgba(255, 255, 255, 0.62);
	font-size: 0.84rem;
	transition: color 0.2s ease;
}

.footer-links a:hover {
	color: var(--or-white);
}

.footer-copy {
	color: rgba(255, 255, 255, 0.42);
	font-size: 0.79rem;
	white-space: nowrap;
}

.default-page {
	padding: 80px 0;
}

.default-page h1 {
	font-size: clamp(2rem, 5vw, 3rem);
	line-height: 1.2;
}

.default-page p,
.default-page li {
	color: var(--or-text);
}

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

.error-page .button-primary {
	margin-top: 18px;
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

@media (max-width: 680px) {
	.content-width {
		width: min(calc(100% - 40px), var(--or-width));
	}

	.site-nav {
		width: calc(100% - 32px);
		min-height: 60px;
	}

	.site-logo {
		font-size: 1.02rem;
	}

	.nav-cta {
		padding: 9px 12px;
		font-size: 0.76rem;
	}

	.site-footer {
		flex-direction: column;
		align-items: flex-start;
		padding: 28px 20px;
	}

	.footer-links {
		gap: 14px;
	}
}

@media (max-width: 390px) {
	.site-logo {
		font-size: 0.92rem;
	}

	.nav-cta {
		max-width: 144px;
		padding: 8px 10px;
		text-align: center;
		line-height: 1.25;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}

