:root {
	--color-bg: #050814;
	--color-bg-alt: #0b1726;
	--color-surface: #0f1c30;
	--color-surface-soft: #121f33;
	--color-surface-elevated: #17263d;
	--color-text: #f5f1e8;
	--color-text-muted: #b9c3d4;
	--color-primary: #1b6bd6;
	--color-primary-soft: #274b8a;
	--color-primary-contrast: #f5f1e8;
	--color-accent-brass: #d0a96b;
	--color-accent-brass-soft: #c29a5e;
	--color-border-subtle: rgba(255, 255, 255, 0.06);
	--color-border-strong: rgba(255, 255, 255, 0.14);
	--color-success: #3bbf8a;
	--color-warning: #e0a646;
	--color-danger: #e0665c;
	--gray-50: #f8fafc;
	--gray-100: #e2e8f0;
	--gray-200: #cbd5f5;
	--gray-300: #94a3b8;
	--gray-400: #64748b;
	--gray-500: #475569;
	--gray-600: #334155;
	--gray-700: #1e293b;
	--gray-800: #0f172a;
	--gray-900: #020617;
	--font-sans:
		"Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
		sans-serif;
	--font-serif: "Playfair Display", "DM Serif Display", "Georgia", serif;
	--font-mono: "JetBrains Mono", "SF Mono", "Menlo", monospace;
	--font-size-xs: 0.75rem;
	--font-size-sm: 0.875rem;
	--font-size-base: 1rem;
	--font-size-md: 1.0625rem;
	--font-size-lg: 1.125rem;
	--font-size-xl: 1.25rem;
	--font-size-2xl: 1.5rem;
	--font-size-3xl: 1.875rem;
	--font-size-4xl: 2.25rem;
	--font-size-5xl: 3rem;
	--line-height-tight: 1.1;
	--line-height-snug: 1.25;
	--line-height-normal: 1.5;
	--line-height-relaxed: 1.7;
	--space-0: 0;
	--space-1: 4px;
	--space-2: 8px;
	--space-3: 12px;
	--space-4: 16px;
	--space-5: 20px;
	--space-6: 24px;
	--space-7: 28px;
	--space-8: 32px;
	--space-9: 36px;
	--space-10: 40px;
	--space-12: 48px;
	--space-14: 56px;
	--space-16: 64px;
	--space-20: 80px;
	--space-24: 96px;
	--radius-xs: 2px;
	--radius-sm: 4px;
	--radius-md: 8px;
	--radius-lg: 12px;
	--radius-xl: 18px;
	--radius-pill: 999px;
	--shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.45);
	--shadow-subtle: 0 12px 30px rgba(2, 6, 23, 0.7);
	--shadow-sharp:
		0 0 0 1px rgba(255, 255, 255, 0.03), 0 32px 80px rgba(0, 0, 0, 0.7);
	--shadow-focus:
		0 0 0 1px rgba(240, 234, 218, 0.7), 0 0 0 4px rgba(208, 169, 107, 0.45);
	--transition-fast: 120ms ease-out;
	--transition-base: 180ms ease-out;
	--transition-slow: 260ms ease-out;
	--container-max-width: 1120px;
	--container-wide-width: 1320px;
}
*,
*::before,
*::after {
	box-sizing: border-box;
}
* {
	margin: 0;
	padding: 0;
}
html,
body {
	height: 100%;
}
html {
	scroll-behavior: smooth;
	text-size-adjust: 100%;
}
body {
	font-family: var(--font-sans);
	font-size: var(--font-size-base);
	line-height: var(--line-height-relaxed);
	background: radial-gradient(
		circle at top,
		#101b30 0,
		#050814 60%,
		#02030a 100%
	);
	color: var(--color-text);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
img,
picture,
svg,
video,
canvas {
	display: block;
	max-width: 100%;
	height: auto;
}
img {
	border-style: none;
}
button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
	background: none;
	border: none;
}
button {
	cursor: pointer;
}
a {
	text-decoration: none;
	color: inherit;
}
ul,
ol {
	list-style: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-serif);
	font-weight: 500;
	line-height: var(--line-height-tight);
	color: var(--color-primary-contrast);
	letter-spacing: 0.01em;
}
h1 {
	font-size: var(--font-size-5xl);
	margin-bottom: var(--space-4);
}
h2 {
	font-size: var(--font-size-4xl);
	margin-bottom: var(--space-4);
}
h3 {
	font-size: var(--font-size-3xl);
	margin-bottom: var(--space-3);
}
h4 {
	font-size: var(--font-size-2xl);
	margin-bottom: var(--space-3);
}
h5 {
	font-size: var(--font-size-xl);
	margin-bottom: var(--space-2);
}
h6 {
	font-size: var(--font-size-lg);
	margin-bottom: var(--space-2);
}
p {
	margin-bottom: var(--space-4);
	color: var(--color-text-muted);
	font-size: var(--font-size-md);
}
strong,
b {
	font-weight: 600;
	color: var(--color-primary-contrast);
}
a:hover {
	color: var(--color-accent-brass);
}
a:focus-visible {
	outline: none;
	box-shadow: var(--shadow-focus);
	border-radius: var(--radius-xs);
}
code,
kbd,
pre,
samp {
	font-family: var(--font-mono);
}
.container {
	width: 100%;
	max-width: var(--container-max-width);
	margin: 0 auto;
	padding-left: var(--space-5);
	padding-right: var(--space-5);
}
.container-wide {
	width: 100%;
	max-width: var(--container-wide-width);
	margin: 0 auto;
	padding-left: var(--space-6);
	padding-right: var(--space-6);
}
.flex {
	display: flex;
}
.inline-flex {
	display: inline-flex;
}
.flex-center {
	display: flex;
	align-items: center;
	justify-content: center;
}
.flex-between {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.flex-col {
	display: flex;
	flex-direction: column;
}
.flex-wrap {
	flex-wrap: wrap;
}
.items-center {
	align-items: center;
}
.items-start {
	align-items: flex-start;
}
.items-end {
	align-items: flex-end;
}
.justify-center {
	justify-content: center;
}
.justify-between {
	justify-content: space-between;
}
.gap-2 {
	gap: var(--space-2);
}
.gap-3 {
	gap: var(--space-3);
}
.gap-4 {
	gap: var(--space-4);
}
.gap-6 {
	gap: var(--space-6);
}
.grid {
	display: grid;
}
.grid-2 {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--space-6);
}
.grid-3 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--space-6);
}
.grid-auto-fit {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: var(--space-6);
}
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-2);
	padding: 0.75rem 1.5rem;
	border-radius: var(--radius-pill);
	border: 1px solid rgba(255, 255, 255, 0.12);
	font-size: var(--font-size-sm);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 500;
	line-height: 1;
	background: linear-gradient(
		135deg,
		rgba(27, 107, 214, 0.96),
		rgba(13, 63, 145, 0.98)
	);
	color: var(--color-primary-contrast);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
	transition:
		transform var(--transition-fast),
		box-shadow var(--transition-fast),
		background var(--transition-base),
		border-color var(--transition-base),
		color var(--transition-base);
}
.btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 22px 55px rgba(0, 0, 0, 0.8);
	background: linear-gradient(
		135deg,
		rgba(35, 124, 238, 1),
		rgba(16, 72, 162, 1)
	);
	border-color: rgba(240, 234, 218, 0.7);
}
.btn:active {
	transform: translateY(0);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.7);
}
.btn:focus-visible {
	outline: none;
	box-shadow: var(--shadow-focus);
}
.btn-ghost {
	background: rgba(10, 22, 40, 0.7);
	border-color: rgba(255, 255, 255, 0.16);
	color: var(--color-text);
	box-shadow: 0 14px 35px rgba(0, 0, 0, 0.55);
}
.btn-ghost:hover {
	background: rgba(17, 33, 58, 0.96);
	border-color: rgba(208, 169, 107, 0.8);
}
.btn-brass {
	background: linear-gradient(135deg, #d0a96b, #b3823e);
	border-color: rgba(240, 234, 218, 0.9);
	color: #0b0f18 !important;
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.75);
}
.btn-brass:hover {
	background: linear-gradient(135deg, #e0b878, #c38b43);
}
.btn[disabled],
.btn:disabled {
	cursor: not-allowed;
	opacity: 0.55;
	box-shadow: none;
	transform: none;
}
.input,
.select,
.textarea {
	width: 100%;
	padding: 0.75rem 0.9rem;
	border-radius: var(--radius-md);
	border: 1px solid var(--color-border-subtle);
	background: rgba(10, 18, 32, 0.9);
	color: var(--color-text);
	font-size: var(--font-size-sm);
	line-height: 1.4;
	transition:
		border-color var(--transition-base),
		box-shadow var(--transition-base),
		background var(--transition-base);
}
.input::placeholder,
.textarea::placeholder {
	color: var(--gray-400);
}
.input:focus-visible,
.select:focus-visible,
.textarea:focus-visible {
	outline: none;
	border-color: rgba(208, 169, 107, 0.9);
	box-shadow: var(--shadow-focus);
	background: rgba(6, 14, 30, 0.98);
}
.input[disabled],
.select[disabled],
.textarea[disabled] {
	opacity: 0.55;
	cursor: not-allowed;
}
.textarea {
	min-height: 140px;
	resize: vertical;
}
.card {
	position: relative;
	border-radius: var(--radius-lg);
	border: 1px solid var(--color-border-subtle);
	background: radial-gradient(
		circle at top left,
		rgba(255, 255, 255, 0.05) 0,
		rgba(15, 28, 48, 0.98) 38%,
		rgba(3, 8, 20, 0.98) 100%
	);
	box-shadow: var(--shadow-soft);
	padding: var(--space-5);
}
.card-soft {
	border-radius: var(--radius-md);
	border: 1px solid rgba(255, 255, 255, 0.04);
	background: linear-gradient(
		145deg,
		rgba(7, 14, 30, 0.9),
		rgba(9, 20, 38, 0.98)
	);
	box-shadow: var(--shadow-subtle);
	padding: var(--space-4);
}
.card-brass-edge {
	border-radius: var(--radius-xl);
	border: 1px solid rgba(208, 169, 107, 0.6);
	background: linear-gradient(
		160deg,
		rgba(209, 169, 107, 0.05),
		rgba(15, 28, 48, 0.98)
	);
	box-shadow: var(--shadow-sharp);
	padding: var(--space-6);
}
.badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border-radius: var(--radius-pill);
	padding: 0.25rem 0.7rem;
	font-size: var(--font-size-xs);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border: 1px solid rgba(208, 169, 107, 0.6);
	color: var(--color-accent-brass-soft);
	background: rgba(6, 12, 25, 0.96);
}
.badge-soft {
	border-color: rgba(255, 255, 255, 0.16);
	color: var(--color-text-muted);
	background: rgba(9, 17, 33, 0.96);
}
:focus-visible {
	outline: none;
	box-shadow: var(--shadow-focus);
}
@media (prefers-reduced-motion: reduce) {
	*,
	:before,
	:after {
		scroll-behavior: auto !important;
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}
	html {
		scroll-behavior: auto;
	}
}
@media (max-width: 960px) {
	h1 {
		font-size: 2.4rem;
	}
	h2 {
		font-size: 2rem;
	}
	.container,
	.container-wide {
		padding-left: var(--space-4);
		padding-right: var(--space-4);
	}
	.grid-2,
	.grid-3 {
		grid-template-columns: 1fr;
	}
}
@media (max-width: 640px) {
	h1 {
		font-size: 2rem;
	}
	h2 {
		font-size: 1.6rem;
	}
	h3 {
		font-size: 1.35rem;
	}
	body {
		font-size: 0.95rem;
	}
	.container,
	.container-wide {
		padding-left: var(--space-3);
		padding-right: var(--space-3);
	}
	.card,
	.card-soft,
	.card-brass-edge {
		padding: var(--space-4);
	}
	.btn {
		width: auto;
	}
}
