:root {
	color-scheme: light;
	--background: #f8fafc;
	--background-soft: #eff6ff;
	--text: #0f172a;
	--muted: #475569;
	--muted-soft: #64748b;
	--surface: rgba(255, 255, 255, 0.86);
	--surface-strong: #ffffff;
	--border: rgba(148, 163, 184, 0.42);
	--blue: #2563eb;
	--blue-dark: #1d4ed8;
	--orange: #ea580c;
	--shadow: 0 28px 80px rgba(15, 23, 42, 0.14);
	--grid-line: rgba(15, 23, 42, 0.04);
	--grid-mask: linear-gradient(to bottom, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.24) 70%, transparent);
	font-family:
		Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

:root[data-theme="dark"] {
	color-scheme: dark;
	--background: #020617;
	--background-soft: #0f172a;
	--text: #ffffff;
	--muted: #cbd5e1;
	--muted-soft: #94a3b8;
	--surface: rgba(15, 23, 42, 0.86);
	--surface-strong: #0f172a;
	--border: rgba(255, 255, 255, 0.14);
	--blue: #60a5fa;
	--blue-dark: #93c5fd;
	--orange: #fb923c;
	--shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
	--grid-line: rgba(148, 163, 184, 0.07);
	--grid-mask: linear-gradient(to bottom, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.22) 72%, transparent);
}

* {
	box-sizing: border-box;
}

html {
	min-height: 100%;
	background: var(--background);
}

body {
	position: relative;
	min-height: 100vh;
	margin: 0;
	color: var(--text);
	background:
		radial-gradient(circle at 18% 18%, rgba(37, 99, 235, 0.16), transparent 28rem),
		radial-gradient(circle at 82% 78%, rgba(234, 88, 12, 0.15), transparent 26rem),
		linear-gradient(135deg, var(--background) 0%, var(--background-soft) 100%);
	transition:
		background-color 200ms ease,
		color 200ms ease;
}

body::before {
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	content: "";
	background-image:
		linear-gradient(var(--grid-line) 1px, transparent 1px),
		linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
	background-size: 44px 44px;
	-webkit-mask-image: var(--grid-mask);
	mask-image: var(--grid-mask);
}

a {
	color: var(--blue);
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--blue-dark);
}

button {
	font: inherit;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.theme-toggle {
	position: fixed;
	top: max(1rem, env(safe-area-inset-top));
	right: max(1rem, env(safe-area-inset-right));
	z-index: 20;
	display: grid;
	width: 3rem;
	height: 3rem;
	place-items: center;
	color: var(--text);
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 999px;
	box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
	cursor: pointer;
	transition:
		transform 160ms ease,
		border-color 160ms ease,
		background-color 160ms ease;
}

.theme-toggle:hover {
	transform: translateY(-1px);
}

.theme-toggle:focus-visible,
.cookie-consent button:focus-visible,
.site-footer button:focus-visible,
.back-link:focus-visible {
	outline: 3px solid rgba(234, 88, 12, 0.45);
	outline-offset: 4px;
}

.theme-toggle svg {
	width: 1.25rem;
	height: 1.25rem;
}

.theme-toggle__sun,
:root[data-theme="dark"] .theme-toggle__moon {
	display: none;
}

:root[data-theme="dark"] .theme-toggle__sun {
	display: block;
}

.holding-shell {
	position: relative;
	z-index: 1;
	display: grid;
	min-height: 100vh;
	padding: 7rem 1.25rem 8rem;
	place-items: center;
}

.holding-content {
	width: min(100%, 42rem);
	text-align: center;
}

.holding-logo {
	display: block;
	width: min(100%, 24rem);
	height: auto;
	margin: 0 auto;
}

.holding-label {
	margin: 2rem 0 0;
	color: var(--orange);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.site-footer {
	position: fixed;
	inset-inline: 0;
	bottom: 0;
	z-index: 10;
	padding: 1rem 1.25rem max(1rem, env(safe-area-inset-bottom));
	text-align: center;
	pointer-events: none;
}

.site-footer--static {
	position: static;
	padding-bottom: 2rem;
}

.site-footer p {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 0.45rem 0.7rem;
	align-items: center;
	justify-content: center;
	margin: 0;
	color: var(--muted-soft);
	font-size: 0.75rem;
	line-height: 1.6;
	pointer-events: auto;
}

.site-footer a,
.site-footer button {
	color: var(--blue);
}

.site-footer button {
	padding: 0;
	text-decoration: underline;
	text-underline-offset: 0.18em;
	background: transparent;
	border: 0;
	cursor: pointer;
}

.cookie-consent {
	position: fixed;
	inset-inline: 0;
	bottom: 3.5rem;
	z-index: 30;
	display: grid;
	padding: 0 1rem max(0.75rem, env(safe-area-inset-bottom));
	place-items: center;
}

.cookie-consent[hidden] {
	display: none;
}

.cookie-consent__panel {
	width: min(100%, 28rem);
	padding: 1.25rem;
	text-align: center;
	background: var(--surface-strong);
	border: 1px solid var(--border);
	border-radius: 1.5rem;
	box-shadow: var(--shadow);
}

.cookie-consent__label {
	margin: 0 0 0.35rem;
	color: var(--orange);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.cookie-consent h2 {
	margin: 0;
	font-size: 1.35rem;
	line-height: 1.2;
}

.cookie-consent p:not(.cookie-consent__label) {
	margin: 0.75rem 0 0;
	color: var(--muted);
	font-size: 0.95rem;
	line-height: 1.6;
}

.cookie-consent button {
	width: 100%;
	min-height: 2.9rem;
	margin-top: 1rem;
	color: #ffffff;
	font-weight: 700;
	background: #2563eb;
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	box-shadow: 0 14px 30px rgba(37, 99, 235, 0.22);
	transition:
		background-color 160ms ease,
		transform 160ms ease;
}

.cookie-consent button:hover {
	background: #1d4ed8;
	transform: translateY(-1px);
}

.content-page {
	width: min(100% - 2rem, 46rem);
	margin: 0 auto;
	padding: 7rem 0 4rem;
}

.back-link {
	display: inline-flex;
	font-size: 0.9rem;
	font-weight: 700;
}

.content-page h1 {
	margin: 2rem 0 0;
	font-size: clamp(2.4rem, 8vw, 4rem);
	line-height: 1;
	letter-spacing: -0.045em;
}

.updated-date {
	margin: 0.9rem 0 0;
	color: var(--muted-soft);
	font-size: 0.9rem;
}

.policy-content {
	margin-top: 3rem;
	color: var(--muted);
	font-size: 1rem;
	line-height: 1.75;
}

.policy-content h2 {
	margin: 2.25rem 0 0.75rem;
	color: var(--text);
	font-size: 1.55rem;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.policy-content p {
	margin: 1rem 0 0;
}

@media (max-width: 40rem) {
	.holding-shell {
		padding-top: 6rem;
	}

	.site-footer p {
		font-size: 0.7rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
