:root {
	--ink: #e8e4dc;
	--ink-soft: #b8bfcc;
	--muted: #70808f;
	--line: #1a2430;
	--paper: #0a0e14;
	--card: #11182a;
	--accent: #1cadd2;
	--accent-hover: #5cd4ea;
	--max: 680px;
	--display:
		'Montserrat', -apple-system, 'Segoe UI', system-ui, sans-serif;
	--body:
		'Inter', -apple-system, 'Segoe UI', system-ui, sans-serif;
	--sans: var(--body);
}

* {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--body);
	font-size: 17px;
	line-height: 1.65;
	color: var(--ink);
	background: var(--paper);
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.wrap {
	width: 100%;
	max-width: var(--max);
	margin: 0 auto;
	padding: 64px 28px 48px;
	flex: 1;
}

.eyebrow {
	font-family: var(--display);
	text-transform: uppercase;
	letter-spacing: 0.22em;
	font-size: 11px;
	font-weight: 600;
	color: var(--muted);
	margin: 0 0 14px;
}

/* Hero */
.hero {
	text-align: center;
	margin-bottom: 56px;
}

.hero .logo {
	width: 200px;
	height: 200px;
	display: inline-block;
	margin: 0 auto 28px;
	border-radius: 28px;
	overflow: hidden;
	box-shadow:
		0 20px 60px rgba(28, 173, 210, 0.2),
		0 4px 14px rgba(0, 0, 0, 0.5);
}

.hero .logo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hero h1 {
	font-family: var(--display);
	font-weight: 700;
	font-size: 38px;
	line-height: 1.1;
	margin: 0 0 10px;
	letter-spacing: -0.01em;
	color: var(--ink);
}

.hero h1 .subtle {
	color: var(--muted);
	font-weight: 500;
	font-size: 18px;
	letter-spacing: 0;
}

.hero .tagline {
	font-family: var(--display);
	color: var(--muted);
	font-size: 13px;
	font-weight: 500;
	margin: 0;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Intro text */
.intro {
	border-top: 1px solid var(--line);
	padding-top: 40px;
	margin-bottom: 48px;
}

.intro p {
	margin: 0 0 18px;
	color: var(--ink-soft);
}

.intro p:last-child {
	margin-bottom: 0;
}

.intro strong {
	color: var(--ink);
	font-weight: 600;
}

.muted {
	color: var(--muted) !important;
	font-size: 0.95em;
}

/* Contact */
.contact {
	border-top: 1px solid var(--line);
	padding-top: 40px;
}

.contact h2,
.legal section h2 {
	font-family: var(--display);
	text-transform: uppercase;
	letter-spacing: 0.18em;
	font-size: 11px;
	font-weight: 600;
	color: var(--muted);
	margin: 0 0 16px;
}

address {
	font-style: normal;
	color: var(--ink-soft);
	line-height: 1.8;
}

/* Links */
a {
	color: var(--accent);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color 0.15s ease;
}

a:hover {
	color: var(--accent-hover);
}

/* Click-to-copy contact (scraper protection; rendered as image) */
.reveal {
	display: inline-block;
	cursor: pointer;
	user-select: none;
	background: none;
	border: none;
	padding: 6px 10px;
	margin: 2px 0;
	border-radius: 8px;
	transition: background 0.15s ease, transform 0.15s ease;
}

.reveal:hover {
	background: rgba(28, 173, 210, 0.08);
}

.reveal:active {
	transform: scale(0.98);
}

.reveal:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

.reveal--img img {
	display: block;
	height: 28px;
	width: auto;
	user-select: none;
	pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
	.reveal {
		transition: none;
	}
}

/* Toast feedback on copy */
.toast {
	position: fixed;
	left: 50%;
	bottom: 32px;
	transform: translate(-50%, 12px);
	background: var(--card);
	color: var(--ink);
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 10px 18px;
	font-family: var(--display);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.02em;
	box-shadow:
		0 20px 40px rgba(0, 0, 0, 0.5),
		0 0 0 1px rgba(28, 173, 210, 0.15);
	opacity: 0;
	transition: opacity 0.2s ease, transform 0.2s ease;
	pointer-events: none;
	z-index: 10;
	max-width: 90vw;
}

.toast--in {
	opacity: 1;
	transform: translate(-50%, 0);
}

/* Legal pages */
.legal h1 {
	font-family: var(--display);
	font-weight: 700;
	font-size: 32px;
	line-height: 1.2;
	margin: 0 0 8px;
	letter-spacing: -0.01em;
	color: var(--ink);
}

.legal .eyebrow {
	margin-bottom: 40px;
}

.legal section {
	border-top: 1px solid var(--line);
	padding-top: 28px;
	margin-top: 28px;
}

.legal section:first-of-type {
	border-top: none;
	padding-top: 0;
	margin-top: 0;
}

.legal p,
.legal ul {
	color: var(--ink-soft);
	margin: 0 0 14px;
}

.legal p:last-child,
.legal ul:last-child {
	margin-bottom: 0;
}

.legal ul {
	padding-left: 20px;
}

.legal ul li {
	margin-bottom: 4px;
}

.back {
	font-family: var(--display);
	font-size: 13px;
	font-weight: 500;
	margin: 0 0 32px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.back a {
	color: var(--muted);
	text-decoration: none;
}

.back a:hover {
	color: var(--ink);
}

/* Footer */
.foot {
	border-top: 1px solid var(--line);
	padding: 32px 28px 40px;
	text-align: center;
	font-family: var(--display);
	color: var(--muted);
	font-size: 12px;
	letter-spacing: 0.04em;
}

.foot nav {
	display: flex;
	gap: 10px;
	justify-content: center;
	align-items: center;
	margin-bottom: 10px;
}

.foot nav a {
	color: var(--ink-soft);
	text-decoration: none;
	font-weight: 500;
}

.foot nav a:hover {
	color: var(--accent);
	text-decoration: underline;
}

.foot nav a[aria-current='page'] {
	color: var(--ink);
}

.foot nav span {
	color: var(--muted);
}

.foot .copy {
	margin: 0;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

@media (max-width: 520px) {
	.wrap {
		padding: 40px 22px 32px;
	}
	body {
		font-size: 16px;
	}
	.hero .logo {
		width: 160px;
		height: 160px;
		border-radius: 22px;
	}
	.hero h1 {
		font-size: 28px;
	}
	.hero h1 .subtle {
		font-size: 15px;
	}
	.legal h1 {
		font-size: 26px;
	}
}
