/* ──────────────────────────────────────────────────────────────
   Callixo — company landing site
   Dark / techy theme. Zero build, no framework, no external JS.
   Shared by index.html + privacy.html.
   ────────────────────────────────────────────────────────────── */

:root {
	/* Surfaces — near-black tech */
	--bg: #0b0d10;
	--bg-2: #0e1116;
	--surface: #14181e;
	--surface-2: #1a1f27;
	--border: #232a33;
	--border-soft: #1c222a;

	/* Text */
	--text: #e6eaf0;
	--muted: #8b95a3;
	--faint: #5c6571;

	/* Accent — cyan/emerald glow + electric blue */
	--accent: #34e2c0;
	--accent-2: #5b8cff;
	--accent-ink: #06221c;

	/* Type */
	--font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

	/* Shape */
	--r-sm: 10px;
	--r-md: 14px;
	--r-lg: 20px;
	--maxw: 1080px;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-sans);
	background: var(--bg);
	color: var(--text);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

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

.wrap {
	max-width: var(--maxw);
	margin: 0 auto;
	padding: 0 24px;
}

.mono {
	font-family: var(--font-mono);
}

.accent {
	color: var(--accent);
}

/* ─── Nav ─── */
.nav {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 100;
	height: 64px;
	display: flex;
	align-items: center;
	background: rgba(11, 13, 16, 0.72);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--border-soft);
}

.nav .wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}

.brand {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	font-size: 18px;
	letter-spacing: -0.01em;
}

.brand .dot {
	width: 22px;
	height: 22px;
	border-radius: 7px;
	background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
	box-shadow: 0 0 18px rgba(52, 226, 192, 0.45);
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 28px;
}

.nav-links a {
	font-size: 14px;
	color: var(--muted);
	transition: color 0.15s;
}

.nav-links a:hover {
	color: var(--text);
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 600;
	padding: 10px 18px;
	border-radius: var(--r-sm);
	transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn-primary {
	color: var(--accent-ink);
	background: linear-gradient(135deg, var(--accent) 0%, #6bf0d6 100%);
	box-shadow: 0 0 0 1px rgba(52, 226, 192, 0.25), 0 8px 24px rgba(52, 226, 192, 0.18);
}

.btn-primary:hover {
	transform: translateY(-1px);
	box-shadow: 0 0 0 1px rgba(52, 226, 192, 0.4), 0 12px 30px rgba(52, 226, 192, 0.28);
}

.btn-ghost {
	color: var(--text);
	border: 1px solid var(--border);
	background: var(--surface);
}

.btn-ghost:hover {
	border-color: var(--accent);
	color: var(--accent);
}

/* ─── Hero ─── */
.hero {
	position: relative;
	padding: 168px 0 110px;
	overflow: hidden;
	border-bottom: 1px solid var(--border-soft);
}

.hero::before {
	/* grid */
	content: "";
	position: absolute;
	inset: 0;
	background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: radial-gradient(ellipse 80% 60% at 50% 35%, #000 0%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 35%, #000 0%, transparent 75%);
	pointer-events: none;
}

.hero::after {
	/* glow */
	content: "";
	position: absolute;
	top: -180px;
	left: 50%;
	transform: translateX(-50%);
	width: 720px;
	height: 720px;
	background: radial-gradient(circle, rgba(52, 226, 192, 0.16) 0%, rgba(91, 140, 255, 0.08) 35%, transparent 70%);
	pointer-events: none;
}

.hero .wrap {
	position: relative;
	text-align: center;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-mono);
	font-size: 12.5px;
	letter-spacing: 0.04em;
	color: var(--accent);
	background: rgba(52, 226, 192, 0.07);
	border: 1px solid rgba(52, 226, 192, 0.2);
	padding: 6px 14px;
	border-radius: 999px;
	margin-bottom: 28px;
}

.hero h1 {
	font-size: clamp(40px, 7vw, 76px);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.04;
	margin-bottom: 22px;
	background: linear-gradient(180deg, #ffffff 0%, #b9c2cf 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.hero p.lead {
	font-size: clamp(16px, 2vw, 20px);
	color: var(--muted);
	max-width: 620px;
	margin: 0 auto 38px;
}

.hero-cta {
	display: flex;
	gap: 14px;
	justify-content: center;
	flex-wrap: wrap;
}

/* ─── Section scaffolding ─── */
section {
	padding: 96px 0;
}

.section-head {
	margin-bottom: 44px;
}

.section-label {
	font-family: var(--font-mono);
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 12px;
}

.section-head h2 {
	font-size: clamp(26px, 3.5vw, 38px);
	font-weight: 700;
	letter-spacing: -0.02em;
	margin-bottom: 12px;
}

.section-head p {
	color: var(--muted);
	max-width: 560px;
	font-size: 16px;
}

/* ─── Products ─── */
.products {
	background: var(--bg-2);
	border-top: 1px solid var(--border-soft);
	border-bottom: 1px solid var(--border-soft);
}

.product-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 24px;
}

.product-card {
	position: relative;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	padding: 32px;
	display: flex;
	flex-direction: column;
	transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
}

.product-card:hover {
	transform: translateY(-3px);
	border-color: rgba(52, 226, 192, 0.45);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

.product-card .tag {
	font-family: var(--font-mono);
	font-size: 11.5px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--faint);
	margin-bottom: 18px;
}

.product-card .mark {
	width: 46px;
	height: 46px;
	border-radius: 12px;
	display: grid;
	place-items: center;
	margin-bottom: 18px;
	font-weight: 700;
	font-size: 20px;
}

.mark-covered {
	background: rgba(45, 106, 79, 0.18);
	color: #6fe3aa;
	border: 1px solid rgba(45, 106, 79, 0.5);
}

.mark-menu {
	background: rgba(91, 140, 255, 0.14);
	color: #9bb6ff;
	border: 1px solid rgba(91, 140, 255, 0.45);
}

.product-card h3 {
	font-size: 21px;
	font-weight: 700;
	letter-spacing: -0.01em;
	margin-bottom: 8px;
}

.product-card p {
	color: var(--muted);
	font-size: 15px;
	margin-bottom: 22px;
	flex-grow: 1;
}

.product-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	font-size: 15px;
	color: var(--accent);
	width: fit-content;
}

.product-link .arrow {
	transition: transform 0.15s;
}

.product-card:hover .product-link .arrow {
	transform: translateX(3px);
}

/* ─── Contact ─── */
.contact .wrap {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 40px;
	align-items: center;
}

.contact-card {
	background: linear-gradient(135deg, var(--surface-2) 0%, var(--surface) 100%);
	border: 1px solid var(--border);
	border-radius: var(--r-lg);
	padding: 36px;
}

.contact-row {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 14px 0;
	border-top: 1px solid var(--border-soft);
}

.contact-row:first-of-type {
	border-top: none;
}

.contact-row span {
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--faint);
}

.contact-row a {
	font-size: 17px;
	font-weight: 600;
	color: var(--text);
	transition: color 0.15s;
}

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

/* ─── Footer ─── */
footer {
	border-top: 1px solid var(--border-soft);
	padding: 40px 0;
	background: var(--bg-2);
}

footer .wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 14px;
}

footer .legal {
	font-size: 13px;
	color: var(--faint);
}

footer nav {
	display: flex;
	gap: 22px;
}

footer nav a {
	font-size: 13px;
	color: var(--muted);
	transition: color 0.15s;
}

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

/* ─── Legal pages (privacy) ─── */
.doc {
	padding: 140px 0 80px;
	max-width: 760px;
}

.doc h1 {
	font-size: clamp(30px, 5vw, 44px);
	font-weight: 700;
	letter-spacing: -0.02em;
	margin-bottom: 8px;
}

.doc .updated {
	font-family: var(--font-mono);
	font-size: 13px;
	color: var(--faint);
	margin-bottom: 36px;
}

.doc h2 {
	font-size: 20px;
	font-weight: 700;
	margin: 34px 0 10px;
	letter-spacing: -0.01em;
}

.doc p,
.doc li {
	color: var(--muted);
	font-size: 15.5px;
	margin-bottom: 12px;
}

.doc ul {
	padding-left: 22px;
	margin-bottom: 12px;
}

.doc a {
	color: var(--accent);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.doc .back {
	display: inline-block;
	margin-bottom: 28px;
	font-family: var(--font-mono);
	font-size: 13px;
	color: var(--muted);
}

.doc .back:hover {
	color: var(--accent);
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
	.nav-links {
		gap: 16px;
	}

	.nav-links a:not(.btn) {
		display: none;
	}

	.hero {
		padding: 132px 0 80px;
	}

	section {
		padding: 72px 0;
	}
}
