/* Computex WIP 1.2 — clean premium retail */

:root {
	--bg: #f6f7f5;
	--surface: #ffffff;
	--ink: #14201a;
	--muted: #5c6b63;
	--line: #e2e8e4;
	--green: #1f7a4c;
	--green-soft: #e8f5ee;
	--green-hover: #18633e;
	--radius: 16px;
	--shadow: 0 1px 2px rgba(20, 32, 26, 0.04), 0 12px 32px rgba(20, 32, 26, 0.06);
	--font: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--display: "Syne", "Instrument Sans", system-ui, sans-serif;
	--max: 56rem;
}

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

html { scroll-behavior: smooth; }

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

body.computex-wip-body {
	margin: 0;
	min-height: 100vh;
	min-height: 100dvh;
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.6;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}

.cx-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	padding: 0.75rem 1rem;
	background: var(--green);
	color: #fff;
	font-weight: 600;
	text-decoration: none;
}
.cx-skip:focus { left: 0; }

.cx-icon {
	display: block;
	width: 1.25rem;
	height: 1.25rem;
	flex-shrink: 0;
}

.cx {
	width: min(100% - 2rem, var(--max));
	margin: 0 auto;
	padding: 1.5rem 0 3rem;
}

/* Top bar */
.cx-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	padding-bottom: 1.5rem;
	margin-bottom: 2.5rem;
	border-bottom: 1px solid var(--line);
}

.cx-brand {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.cx-mark {
	display: grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 12px;
	background: var(--green-soft);
	color: var(--green);
	border: 1px solid #d3ebdd;
}

.cx-mark .cx-icon {
	width: 1.2rem;
	height: 1.2rem;
}

.cx-name {
	font-family: var(--display);
	font-weight: 700;
	font-size: 1.05rem;
	letter-spacing: -0.02em;
}

.cx-status {
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--green);
	background: var(--green-soft);
	border: 1px solid #d3ebdd;
	padding: 0.4rem 0.85rem;
	border-radius: 999px;
}

/* Hero */
.cx-hero {
	text-align: center;
	max-width: 36rem;
	margin: 0 auto 3rem;
	padding: 1rem 0 0.5rem;
}

.cx-eyebrow {
	margin: 0 0 1rem;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--muted);
}

.cx-hero h1 {
	margin: 0 0 1rem;
	font-family: var(--display);
	font-weight: 800;
	font-size: clamp(2rem, 5.5vw, 3rem);
	line-height: 1.1;
	letter-spacing: -0.03em;
	color: var(--ink);
}

.cx-lead {
	margin: 0 0 1.75rem;
	color: var(--muted);
	font-size: 1.0625rem;
}

.cx-cta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
}

.cx-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.8rem 1.25rem;
	border-radius: 999px;
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none;
	border: 1px solid transparent;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.cx-btn:focus-visible {
	outline: 2px solid var(--green);
	outline-offset: 3px;
}

.cx-btn .cx-icon {
	width: 1.1rem;
	height: 1.1rem;
}

.cx-btn-primary {
	background: var(--green);
	color: #fff;
	box-shadow: 0 8px 20px rgba(31, 122, 76, 0.22);
}

.cx-btn-primary:hover {
	background: var(--green-hover);
}

.cx-btn-secondary {
	background: var(--surface);
	color: var(--ink);
	border-color: var(--line);
}

.cx-btn-secondary:hover {
	border-color: #c5d0c9;
	background: #fafbfa;
}

/* Cards */
.cx-grid-section {
	margin-bottom: 2.5rem;
}

.cx-h2 {
	margin: 0 0 1.15rem;
	font-family: var(--display);
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	text-align: center;
}

.cx-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.85rem;
}

@media (min-width: 560px) {
	.cx-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
	.cx-grid { grid-template-columns: repeat(4, 1fr); }
}

.cx-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.35rem 1.2rem;
	box-shadow: var(--shadow);
	text-align: left;
}

.cx-ico {
	display: grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	margin-bottom: 0.9rem;
	border-radius: 12px;
	background: var(--green-soft);
	color: var(--green);
	border: 1px solid #d3ebdd;
}

.cx-ico .cx-icon {
	width: 1.2rem;
	height: 1.2rem;
}

.cx-card h3 {
	margin: 0 0 0.35rem;
	font-family: var(--display);
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.cx-card p {
	margin: 0;
	font-size: 0.9rem;
	color: var(--muted);
	line-height: 1.45;
}

/* Contact */
.cx-contact-box {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: calc(var(--radius) + 4px);
	padding: clamp(1.35rem, 3vw, 2rem);
	box-shadow: var(--shadow);
	text-align: center;
}

.cx-contact-box h2 {
	margin: 0 0 0.5rem;
	font-family: var(--display);
	font-size: 1.35rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.cx-contact-box > p {
	margin: 0 0 1.25rem;
	color: var(--muted);
	font-size: 0.98rem;
}

.cx-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.65rem;
	max-width: 28rem;
	margin-inline: auto;
}

.cx-links li {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.85rem 1rem;
	border-radius: 12px;
	background: var(--bg);
	border: 1px solid var(--line);
	text-align: left;
}

.cx-link-ico {
	display: grid;
	place-items: center;
	width: 2.1rem;
	height: 2.1rem;
	border-radius: 10px;
	background: var(--green-soft);
	color: var(--green);
	flex-shrink: 0;
}

.cx-link-ico .cx-icon {
	width: 1.05rem;
	height: 1.05rem;
}

.cx-links a {
	color: var(--ink);
	font-weight: 600;
	text-decoration: none;
	font-size: 0.95rem;
	word-break: break-all;
}

.cx-links a:hover,
.cx-links a:focus-visible {
	color: var(--green);
}

/* Footer */
.cx-foot {
	margin-top: 2.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--line);
	text-align: center;
}

.cx-foot p {
	margin: 0;
	font-size: 0.8rem;
	color: var(--muted);
}

body.admin-bar .cx {
	padding-top: calc(1.5rem + 32px);
}

@media screen and (max-width: 782px) {
	body.admin-bar .cx {
		padding-top: calc(1.5rem + 46px);
	}
}
