/* Cyberdev Corporation - site styles (design: Claude Design "Home A - Navy Cyan") */

@font-face {
	font-family: 'Archivo';
	font-style: normal;
	font-weight: 400 800;
	font-stretch: 62% 125%;
	font-display: swap;
	src: url('../fonts/archivo-latin.woff2') format('woff2');
}
@font-face {
	font-family: 'JetBrains Mono';
	font-style: normal;
	font-weight: 400 600;
	font-display: swap;
	src: url('../fonts/jetbrains-mono-latin.woff2') format('woff2');
}

:root {
	--ink: oklch(0.17 0.035 255);
	--ink-2: oklch(0.21 0.04 255);
	--ink-3: oklch(0.26 0.04 255);
	--line: oklch(0.34 0.035 255);
	--text: oklch(0.97 0.006 240);
	--muted: oklch(0.78 0.02 245);
	--cyan: oklch(0.86 0.14 200);
	--amber: oklch(0.86 0.14 80);
	--on-accent: oklch(0.17 0.035 255);
	--body: 'Archivo', system-ui, sans-serif;
	--mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
	--nav-h: 68px;
	color-scheme: dark;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}
html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--nav-h) + 8px);
}
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}
body {
	margin: 0;
	background: var(--ink);
	color: var(--text);
	font-family: var(--body);
	font-size: 17px;
	line-height: 1.55;
	-webkit-text-size-adjust: 100%;
}
img {
	max-width: 100%;
	display: block;
}
a {
	color: var(--cyan);
	text-decoration: none;
}
a:hover {
	color: var(--text);
}
:focus-visible {
	outline: 2px solid var(--cyan);
	outline-offset: 3px;
}
h1,
h2,
h3,
p,
ul,
ol {
	margin: 0;
}

.skip {
	position: absolute;
	left: 12px;
	top: -60px;
	z-index: 100;
	background: var(--cyan);
	color: var(--on-accent);
	padding: 10px 16px;
	border-radius: 6px;
}
.skip:focus {
	top: 12px;
	color: var(--on-accent);
}

.wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 32px;
}
.mono {
	font-family: var(--mono);
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.disp {
	font-stretch: 112%;
	font-weight: 750;
	letter-spacing: -0.02em;
	line-height: 1.02;
	text-wrap: balance;
}
.eyebrow {
	color: var(--cyan);
	display: flex;
	align-items: center;
	gap: 12px;
}
.eyebrow::before {
	content: '';
	width: 28px;
	height: 1px;
	background: var(--cyan);
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 22px;
	border-radius: 6px;
	border: 1px solid transparent;
	font: 650 15px/1 var(--body);
	background: transparent;
	color: var(--text);
	cursor: pointer;
}
.btn.pri {
	background: var(--cyan);
	color: var(--on-accent);
}
.btn.pri:hover {
	background: var(--text);
	color: var(--on-accent);
}
.btn.ghost {
	border-color: var(--line);
}
.btn.ghost:hover {
	border-color: var(--cyan);
	color: var(--cyan);
}

/* Nav */
.nav {
	position: sticky;
	top: 0;
	z-index: 50;
	background: oklch(0.17 0.035 255 / 0.88);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
}
.nav .wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	height: var(--nav-h);
}
.brand {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--text);
	font-stretch: 115%;
	font-weight: 750;
	letter-spacing: 0.02em;
}
.brand:hover {
	color: var(--text);
}
.brand img {
	width: 28px;
	height: 28px;
}
.links {
	display: flex;
	gap: 28px;
	font-size: 15px;
}
.links a {
	color: var(--muted);
}
.links a:hover {
	color: var(--text);
}
.nav-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}
.menu-btn {
	display: none;
}

/* Hero */
.hero {
	position: relative;
	overflow: hidden;
	border-bottom: 1px solid var(--line);
	background-image:
		linear-gradient(var(--ink-2) 1px, transparent 1px),
		linear-gradient(90deg, var(--ink-2) 1px, transparent 1px);
	background-size: 56px 56px;
}
/* Animated grid (assets/js/hero-grid.js) replaces the CSS grid while it runs */
.hero.fx-on {
	background-image: none;
}
.hero-fx {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
}
.hero .wrap {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: 56px;
	align-items: center;
	padding-top: 96px;
	padding-bottom: 104px;
}
.h1 {
	font-size: clamp(44px, 6.2vw, 84px);
	margin: 20px 0 24px;
}
.h1 em {
	font-style: normal;
	color: var(--cyan);
}
.lead {
	color: var(--muted);
	font-size: 19px;
	max-width: 520px;
	margin-bottom: 36px;
	text-wrap: pretty;
}
.ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* Screenshot slots: striped placeholder until a real <img> is dropped in */
.shot {
	margin: 0;
	display: grid;
	place-items: center;
	text-align: center;
	padding: 16px;
	color: var(--muted);
	border: 1px solid var(--line);
	border-radius: 10px;
	overflow: hidden;
	background: repeating-linear-gradient(135deg, var(--ink-2) 0 10px, var(--ink-3) 10px 20px);
}
.shot span {
	background: var(--ink);
	padding: 6px 10px;
	border-radius: 4px;
	max-width: 90%;
	font: 12px/1.4 var(--mono);
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.shot:has(img) {
	padding: 0;
	background: var(--ink-2);
}
.shot img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top left;
}
.hero .shot {
	aspect-ratio: 5 / 4;
	box-shadow: 0 40px 80px -30px oklch(0.86 0.14 200 / 0.25);
}
/* Real artwork keeps its own proportions (no cropping of the composition) */
.hero .shot:has(img) {
	aspect-ratio: auto;
}
.hero .shot img {
	height: auto;
}

/* Sections */
.sec {
	padding: 112px 0;
	border-bottom: 1px solid var(--line);
}
.sechead {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 32px;
	align-items: end;
	margin-bottom: 56px;
}
.h2 {
	font-size: clamp(34px, 4.2vw, 56px);
	margin-top: 14px;
}
.sechead > p {
	color: var(--muted);
	max-width: 460px;
	justify-self: end;
	text-wrap: pretty;
}

/* Products */
.prods {
	list-style: none;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 20px;
}
.card {
	grid-column: span 3;
	display: flex;
	flex-direction: column;
	background: var(--ink-2);
	border: 1px solid var(--line);
	border-radius: 14px;
	overflow: hidden;
}
.card.wide {
	grid-column: span 3;
}
.card .shot {
	border: 0;
	border-bottom: 1px solid var(--line);
	border-radius: 0;
	aspect-ratio: 16 / 10;
}
.cbody {
	padding: 24px 26px 28px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
}
.ctag {
	color: var(--cyan);
}
.cname {
	font-size: 28px;
	font-stretch: 112%;
	font-weight: 750;
	letter-spacing: -0.01em;
}
.cline {
	color: var(--muted);
	margin-bottom: 6px;
}
.bul {
	list-style: none;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 15px;
}
.bul li {
	display: grid;
	grid-template-columns: 14px minmax(0, 1fr);
	gap: 10px;
}
.bul li::before {
	content: '';
	width: 6px;
	height: 6px;
	margin-top: 9px;
	background: var(--cyan);
	transform: rotate(45deg);
}

/* Why us */
.why {
	list-style: none;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	border-top: 1px solid var(--line);
}
.why li {
	padding: 36px 40px 40px 0;
	border-bottom: 1px solid var(--line);
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 8px;
}
.why li:nth-child(2n) {
	padding-left: 40px;
	border-left: 1px solid var(--line);
}
.wn {
	font-family: var(--mono);
	color: var(--amber);
	font-size: 15px;
	padding-top: 6px;
}
.wt {
	font-size: 24px;
	font-stretch: 110%;
	font-weight: 700;
	margin-bottom: 8px;
}
.why p {
	color: var(--muted);
	text-wrap: pretty;
}

/* Platforms */
.plats {
	list-style: none;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}
.plats li {
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 18px;
	background: var(--ink-2);
}
.plats .shot {
	aspect-ratio: 4 / 3;
}
.pname {
	font-size: 26px;
	font-stretch: 112%;
	font-weight: 750;
}
.plats p {
	color: var(--muted);
	font-size: 15px;
}

/* About */
.about {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
	gap: 56px;
}
.aboutq {
	font-size: clamp(24px, 2.6vw, 34px);
	line-height: 1.3;
	font-stretch: 105%;
	font-weight: 500;
	text-wrap: pretty;
}
.aboutq b {
	color: var(--cyan);
	font-weight: 650;
}

/* Contact */
.contact {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 56px;
	align-items: start;
}
.contact .h2 {
	margin-bottom: 40px;
}
.cbig {
	display: flex;
	flex-direction: column;
	gap: 28px;
}
.cbig a {
	color: var(--text);
	font-size: clamp(26px, 3vw, 40px);
	font-stretch: 110%;
	font-weight: 700;
	overflow-wrap: anywhere;
}
.cbig a:hover {
	color: var(--cyan);
}
.clabel {
	color: var(--muted);
	margin-bottom: 4px;
}
.sms {
	color: var(--muted);
	font-size: 14px;
	max-width: 520px;
	margin-top: 24px;
}
.login {
	background: var(--cyan);
	color: var(--on-accent);
	border-radius: 14px;
	padding: 36px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.login h3 {
	font-size: 30px;
	font-stretch: 112%;
	font-weight: 750;
}
.login .btn {
	align-self: flex-start;
	background: var(--ink);
	color: var(--text);
}
.login .btn:hover {
	background: var(--ink-3);
	color: var(--text);
}
.login :focus-visible {
	outline-color: var(--ink);
}

/* Footer */
.foot {
	color: var(--muted);
	font-size: 14px;
}
.foot .wrap {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 16px;
	padding-top: 32px;
	padding-bottom: 48px;
}
.foot nav {
	display: flex;
	gap: 24px;
}
.foot a {
	color: var(--muted);
}
.foot a:hover {
	color: var(--text);
}

/* Privacy page */
.doc {
	max-width: 760px;
	padding-top: 80px;
	padding-bottom: 112px;
}
.doc .h1 {
	font-size: clamp(40px, 5.6vw, 72px);
}
.doc h2 {
	font-size: 24px;
	font-stretch: 110%;
	font-weight: 700;
	margin: 44px 0 12px;
}
.doc p {
	color: var(--muted);
	margin-bottom: 16px;
	text-wrap: pretty;
}
.doc p strong {
	color: var(--text);
}
.doc .meta {
	font-family: var(--mono);
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Small screens */
@media (max-width: 900px) {
	.wrap {
		padding: 0 20px;
	}
	.doc {
		padding-top: 48px;
		padding-bottom: 72px;
	}
	.menu-btn {
		display: inline-flex;
		padding: 0 16px;
	}
	.links {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		gap: 0;
		background: var(--ink);
		border-bottom: 1px solid var(--line);
		font-size: 18px;
	}
	.links a {
		padding: 14px 20px;
		border-top: 1px solid var(--ink-3);
		color: var(--text);
	}
	.nav.open .links {
		display: flex;
	}
	.nav-actions .btn {
		padding: 0 16px;
	}
	.hero .wrap {
		grid-template-columns: minmax(0, 1fr);
		padding-top: 64px;
		padding-bottom: 72px;
		gap: 40px;
	}
	.sechead,
	.about,
	.contact {
		grid-template-columns: minmax(0, 1fr);
	}
	.sechead > p {
		justify-self: start;
	}
	.prods,
	.why,
	.plats {
		grid-template-columns: minmax(0, 1fr);
	}
	.card,
	.card.wide {
		grid-column: auto;
	}
	.why li,
	.why li:nth-child(2n) {
		padding: 28px 0;
		border-left: 0;
		grid-template-columns: 52px minmax(0, 1fr);
	}
	.sec {
		padding: 72px 0;
	}
	.login {
		padding: 28px;
	}
}
@media (max-width: 380px) {
	.brand span {
		display: none;
	}
}
