/* Symbosa public site. Palette, type and shapes mirror the application
   (frontend/src/app.css tokens and the sign-in page). */

@font-face {
	font-family: 'Public Sans';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url('/fonts/public-sans/PublicSans-variable.ttf') format('truetype');
}

:root {
	--brand-500: #3b82f6;
	--brand-600: #2563eb;
	--teal-500: #14b8a6;
	--navy: #0b1b3a;
	--surface-muted: #f8fafc;
	--foreground-muted: #475569;
	--foreground-subtle: #94a3b8;
}

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

body {
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 24px 16px;
	font-family: 'Public Sans', system-ui, sans-serif;
	background: var(--surface-muted);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

h1,
p {
	margin: 0;
}

/* ===== Ambient background (matches sign-in) ===== */
.ambient-bg {
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 0;
}
.ambient-orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
	opacity: 0.55;
}
.orb-1 {
	width: 520px;
	height: 520px;
	background: radial-gradient(circle, rgba(59, 130, 246, 0.2), transparent 70%);
	top: -12%;
	right: -6%;
	animation: float-1 20s ease-in-out infinite;
}
.orb-2 {
	width: 440px;
	height: 440px;
	background: radial-gradient(circle, rgba(20, 184, 166, 0.16), transparent 70%);
	bottom: -12%;
	left: -8%;
	animation: float-2 25s ease-in-out infinite;
}
@keyframes float-1 {
	0%, 100% { transform: translate(0, 0) scale(1); }
	50% { transform: translate(-30px, 20px) scale(1.05); }
}
@keyframes float-2 {
	0%, 100% { transform: translate(0, 0) scale(1); }
	50% { transform: translate(25px, -20px) scale(1.08); }
}

/* ===== Content ===== */
.shell {
	position: relative;
	z-index: 1;
	margin: auto 0;
	max-width: 560px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	animation: fade-up 0.7s ease both;
}
.logo-mark {
	position: relative;
	width: 88px;
	height: 88px;
	margin-bottom: 1.75rem;
}
.logo-inner {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 26px;
	box-shadow: 0 14px 32px -12px rgba(11, 27, 58, 0.45);
}
.logo-ring {
	position: absolute;
	inset: -6px;
	border-radius: 32px;
	background: conic-gradient(from 0deg, transparent, rgba(59, 130, 246, 0.22), transparent, rgba(20, 184, 166, 0.22), transparent);
	animation: ring-spin 8s linear infinite;
}
@keyframes ring-spin {
	to { transform: rotate(360deg); }
}
.title {
	font-size: clamp(2.25rem, 7vw, 3.25rem);
	line-height: 1.1;
	letter-spacing: -0.025em;
	font-weight: 750;
	color: var(--navy);
}
.tagline {
	margin-top: 0.75rem;
	font-size: clamp(1.125rem, 3.5vw, 1.375rem);
	font-weight: 600;
	background: linear-gradient(90deg, var(--brand-600), var(--teal-500));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}
.lede {
	margin-top: 1.25rem;
	font-size: 1rem;
	line-height: 1.65;
	color: var(--foreground-muted);
}

/* ===== Actions (mirror sign-in submit) ===== */
.btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-width: 200px;
	min-height: 52px;
	margin-top: 2.25rem;
	padding: 0.875rem 1.75rem;
	border-radius: 14px;
	font-size: 1rem;
	font-weight: 600;
	text-decoration: none;
	color: #fff;
	background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
	box-shadow: 0 4px 16px -2px rgba(59, 130, 246, 0.3);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 20px -2px rgba(59, 130, 246, 0.4);
}
.btn-primary:focus-visible,
.contact:focus-visible {
	outline: none;
	box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.25);
	border-radius: 14px;
}
.btn-icon {
	width: 18px;
	height: 18px;
}
.contact {
	margin-top: 1.25rem;
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--foreground-muted);
	text-decoration: none;
	transition: color 0.2s ease;
}
.contact:hover {
	color: var(--brand-600);
}

.footer {
	position: relative;
	z-index: 1;
	margin-top: 2rem;
	font-size: 0.8125rem;
	color: var(--foreground-subtle);
}

@keyframes fade-up {
	from { opacity: 0; transform: translateY(12px); }
	to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
	.btn-primary {
		width: 100%;
	}
	.orb-1 { width: 300px; height: 300px; }
	.orb-2 { width: 260px; height: 260px; }
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}
}
