/* ViraConnect — hardware & electronics division of Vira Software and Hardware Inc. */

@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-latin.woff2") format("woff2");
	font-weight: 400 700;
	font-display: swap;
}
@font-face {
	font-family: "Sora";
	src: url("../fonts/sora-latin.woff2") format("woff2");
	font-weight: 500 800;
	font-display: swap;
}

:root {
	--ink: #0d0f14;
	--ink-2: #161a22;
	--ink-3: #222733;
	--amber: #ffc107;
	--amber-600: #f5a700;
	--orange: #f58220;
	--amber-100: #fff4d1;
	--amber-text: #8a5800;
	--on-amber: #1a1300;

	--bg: #ffffff;
	--surface: #f6f6f3;
	--line: #e7e6e0;
	--text: #15171c;
	--muted: #5b5f69;
	--on-dark: #ffffff;
	--on-dark-muted: #b5b9c3;

	--amber-gradient: linear-gradient(135deg, #ffc107 0%, #f58220 100%);
	--dark-gradient: linear-gradient(160deg, #1b1f29 0%, #0d0f14 70%);
	--radius-sm: 10px;
	--radius: 18px;
	--radius-lg: 28px;
	--shadow-sm: 0 1px 2px rgba(13, 15, 20, 0.06), 0 2px 8px rgba(13, 15, 20, 0.04);
	--shadow: 0 12px 32px -14px rgba(13, 15, 20, 0.28);
	--shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, 0.55);

	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-display: "Sora", "Inter", system-ui, sans-serif;
	--container: 1200px;
	--gutter: clamp(20px, 4vw, 40px);
	--section-y: clamp(72px, 9vw, 128px);
	--header-h: 76px;
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}
html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
img,
svg {
	display: block;
	max-width: 100%;
}
img {
	height: auto;
}
h1,
h2,
h3,
h4 {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
	text-wrap: balance;
}
h1 {
	font-size: clamp(2.3rem, 5.2vw, 4rem);
	letter-spacing: -0.03em;
}
h2 {
	font-size: clamp(1.9rem, 3.6vw, 2.75rem);
}
h3 {
	font-size: 1.25rem;
}
p {
	margin: 0;
	text-wrap: pretty;
}
a {
	color: inherit;
}
:focus-visible {
	outline: 3px solid var(--amber);
	outline-offset: 3px;
	border-radius: 6px;
}
.container {
	width: 100%;
	max-width: calc(var(--container) + 2 * var(--gutter));
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.skip-link {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 100;
	padding: 10px 16px;
	background: var(--ink);
	color: #fff;
	border-radius: var(--radius-sm);
}
.skip-link:focus {
	top: 16px;
}
.icon {
	width: 24px;
	height: 24px;
	flex: none;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* ---------- Buttons ---------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 26px;
	border: 1px solid transparent;
	border-radius: 999px;
	font: 600 1rem/1 var(--font-body);
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn .icon {
	width: 18px;
	height: 18px;
	stroke-width: 2.2;
	transition: transform 0.2s;
}
.btn:hover .icon-arrow {
	transform: translateX(3px);
}
.btn-primary {
	background: var(--amber);
	color: var(--on-amber);
	box-shadow: 0 10px 24px -10px rgba(255, 193, 7, 0.75);
}
.btn-primary:hover {
	background: var(--amber-600);
	transform: translateY(-1px);
}
.btn-ghost {
	border-color: rgba(255, 255, 255, 0.24);
	color: #fff;
	background: rgba(255, 255, 255, 0.05);
}
.btn-ghost:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.5);
}
.btn-outline {
	border-color: var(--line);
	color: var(--text);
	background: #fff;
}
.btn-outline:hover {
	border-color: var(--text);
}
.btn-sm {
	min-height: 44px;
	padding: 0 20px;
	font-size: 0.95rem;
}
.text-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--text);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: var(--amber);
	text-decoration-thickness: 2px;
	text-underline-offset: 6px;
}
.text-link .icon {
	width: 18px;
	height: 18px;
	transition: transform 0.2s;
}
.text-link:hover .icon {
	transform: translateX(3px);
}
.on-dark .text-link {
	color: #fff;
}

/* ---------- Header ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(13, 15, 20, 0.86);
	backdrop-filter: saturate(160%) blur(14px);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	color: #fff;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	height: var(--header-h);
}
.brand {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	color: #fff;
	text-decoration: none;
}
.logo {
	width: 80px;
	height: auto;
}
.logo text {
	font-family: var(--font-body);
	font-weight: 600;
}
.brand-tag {
	padding-left: 14px;
	border-left: 1px solid rgba(255, 255, 255, 0.22);
	font-family: var(--font-display);
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--amber);
}
.site-nav {
	display: flex;
	align-items: center;
	gap: 8px;
}
.nav-list {
	display: flex;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.nav-list a {
	display: block;
	padding: 10px 16px;
	border-radius: 999px;
	color: var(--on-dark-muted);
	font-weight: 500;
	font-size: 0.97rem;
	text-decoration: none;
	transition: color 0.2s, background-color 0.2s;
}
.nav-list a:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.07);
}
.nav-list a[aria-current="page"] {
	color: var(--on-amber);
	background: var(--amber);
}
.nav-cta {
	margin-left: 12px;
}
.nav-toggle {
	display: none;
	width: 46px;
	height: 46px;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 12px;
	background: transparent;
	color: #fff;
	cursor: pointer;
}
.nav-toggle .icon-close {
	display: none;
}
@media (max-width: 960px) {
	.nav-toggle {
		display: inline-flex;
	}
	.site-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
		padding: 12px var(--gutter) 24px;
		background: var(--ink);
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
		box-shadow: var(--shadow-lg);
		display: none;
	}
	.site-header.is-open .site-nav {
		display: flex;
	}
	.site-header.is-open .icon-menu {
		display: none;
	}
	.site-header.is-open .icon-close {
		display: block;
	}
	.nav-list {
		flex-direction: column;
	}
	.nav-list a {
		padding: 14px 16px;
		border-radius: var(--radius-sm);
		font-size: 1.05rem;
	}
	.nav-cta {
		margin: 4px 0 0;
	}
}
@media (max-width: 420px) {
	.brand-tag {
		display: none;
	}
}

/* ---------- Hero ---------- */

.hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--ink);
	color: var(--on-dark);
}
.hero::before,
.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
}
.hero::before {
	background:
		radial-gradient(50% 60% at 85% 15%, rgba(255, 193, 7, 0.22), transparent 60%),
		radial-gradient(40% 50% at 10% 100%, rgba(245, 130, 32, 0.16), transparent 60%),
		var(--dark-gradient);
}
/* Circuit-trace grid */
.hero::after {
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: radial-gradient(75% 85% at 60% 20%, #000 25%, transparent 75%);
	-webkit-mask-image: radial-gradient(75% 85% at 60% 20%, #000 25%, transparent 75%);
}
.hero-home .hero-inner {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	align-items: center;
	gap: clamp(40px, 6vw, 80px);
	padding-block: clamp(64px, 9vw, 120px);
}
.hero h1 {
	margin-top: 22px;
}
.hero h1 em {
	font-style: normal;
	color: var(--amber);
}
.hero .lead {
	margin-top: 22px;
	max-width: 36em;
	color: var(--on-dark-muted);
	font-size: clamp(1.05rem, 1.4vw, 1.2rem);
}
.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 36px;
}
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 7px 14px 7px 10px;
	border-radius: 999px;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--amber-text);
	background: var(--amber-100);
}
.eyebrow::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 2px;
	background: var(--amber);
	box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.25);
}
.hero .eyebrow,
.on-dark .eyebrow {
	color: var(--amber);
	background: rgba(255, 193, 7, 0.08);
	border: 1px solid rgba(255, 193, 7, 0.25);
}
.hero-media {
	position: relative;
}
.hero-photo {
	position: relative;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-lg);
	border: 1px solid rgba(255, 255, 255, 0.1);
	aspect-ratio: 5 / 4.6;
}
.hero-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.chip {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px 12px 12px;
	border-radius: 16px;
	background: rgba(22, 26, 34, 0.9);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: #fff;
	box-shadow: var(--shadow-lg);
	font-size: 0.9rem;
	line-height: 1.3;
}
.chip strong {
	display: block;
	font-family: var(--font-display);
	font-size: 0.98rem;
}
.chip span {
	color: var(--on-dark-muted);
	font-size: 0.82rem;
}
.chip-icon {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	color: var(--on-amber);
	background: var(--amber-gradient);
}
.chip-icon .icon {
	width: 20px;
	height: 20px;
}
.chip-1 {
	left: -28px;
	bottom: 44px;
}
.chip-2 {
	right: -20px;
	top: 36px;
}
.hero-page .hero-inner {
	padding-block: clamp(64px, 8vw, 104px) clamp(56px, 7vw, 88px);
}
.hero-page .hero-inner > * {
	max-width: 860px;
}
.breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
	font-size: 0.9rem;
	color: var(--on-dark-muted);
}
.breadcrumb a {
	color: var(--on-dark-muted);
	text-decoration: none;
}
.breadcrumb a:hover {
	color: #fff;
}
.breadcrumb li + li::before {
	content: "/";
	margin-right: 8px;
	opacity: 0.5;
}
@media (max-width: 900px) {
	.hero-home .hero-inner {
		grid-template-columns: 1fr;
	}
	.hero-media {
		max-width: 540px;
	}
	.hero-photo {
		aspect-ratio: 4 / 3;
	}
	.chip-1 {
		left: 12px;
		bottom: -22px;
	}
	.chip-2 {
		right: 12px;
		top: -22px;
	}
}

/* ---------- Capability ticker ---------- */

.ticker {
	background: var(--amber);
	color: var(--on-amber);
	overflow: hidden;
}
.ticker ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 10px 28px;
	margin: 0;
	padding: 18px 0;
	list-style: none;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.95rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.ticker li {
	display: flex;
	align-items: center;
	gap: 10px;
}
.ticker .icon {
	width: 20px;
	height: 20px;
	stroke-width: 2;
}

/* ---------- Sections ---------- */

.section {
	padding-block: var(--section-y);
}
.section-alt {
	background: var(--surface);
}
.section-head {
	max-width: 720px;
	margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head.is-center {
	margin-inline: auto;
	text-align: center;
}
.section-head h2 {
	margin-top: 18px;
}
.section-head p {
	margin-top: 18px;
	color: var(--muted);
	font-size: 1.1rem;
}
.section-head-row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head-row .section-head {
	margin-bottom: 0;
}
.section-dark {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--ink);
	color: #fff;
}
.section-dark::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(45% 60% at 100% 0%, rgba(255, 193, 7, 0.14), transparent 60%),
		radial-gradient(40% 50% at 0% 100%, rgba(245, 130, 32, 0.1), transparent 60%);
}
.on-dark .section-head p {
	color: var(--on-dark-muted);
}

/* ---------- Cards ---------- */

.card-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
@media (max-width: 960px) {
	.card-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 620px) {
	.card-grid {
		grid-template-columns: 1fr;
	}
}
.card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 30px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow);
	border-color: transparent;
}
.card h3 {
	margin-top: 8px;
}
.card p {
	color: var(--muted);
}
.icon-tile {
	display: grid;
	place-items: center;
	width: 54px;
	height: 54px;
	border-radius: 16px;
	color: var(--on-amber);
	background: var(--amber-gradient);
	box-shadow: 0 10px 20px -10px rgba(245, 130, 32, 0.8);
}
.icon-tile .icon {
	width: 26px;
	height: 26px;
}
.icon-tile.is-dark {
	color: var(--amber);
	background: var(--ink);
	box-shadow: none;
}

/* ---------- Product cards ---------- */

.product-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 20px;
}
.product-grid > * {
	grid-column: span 2;
}
.product-grid > :nth-child(4),
.product-grid > :nth-child(5) {
	grid-column: span 3;
}
@media (max-width: 960px) {
	.product-grid {
		grid-template-columns: 1fr 1fr;
	}
	.product-grid > *,
	.product-grid > :nth-child(4),
	.product-grid > :nth-child(5) {
		grid-column: span 1;
	}
	.product-grid > :last-child {
		grid-column: 1 / -1;
	}
}
@media (max-width: 620px) {
	.product-grid {
		grid-template-columns: 1fr;
	}
}
.product-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--radius);
	background: var(--ink-2);
	color: #fff;
	text-decoration: none;
	transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.product-card:hover {
	transform: translateY(-4px);
	border-color: rgba(255, 193, 7, 0.5);
	box-shadow: var(--shadow-lg);
}
.product-media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background:
		radial-gradient(70% 70% at 50% 45%, #ffffff 0%, #eceae3 100%);
}
.product-media img {
	position: absolute;
	inset: 22px;
	width: calc(100% - 44px);
	height: calc(100% - 44px);
	object-fit: contain;
	transition: transform 0.4s;
}
.product-media.is-photo img {
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.product-card:hover .product-media img {
	transform: scale(1.04);
}
.product-body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
	padding: 24px 26px 26px;
}
.product-body .kicker {
	color: var(--amber);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
.product-body p {
	color: var(--on-dark-muted);
	font-size: 0.97rem;
}
.product-body .more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	padding-top: 8px;
	color: var(--amber);
	font-weight: 600;
	font-size: 0.95rem;
}
.product-body .more .icon {
	width: 18px;
	height: 18px;
	transition: transform 0.2s;
}
.product-card:hover .more .icon {
	transform: translateX(3px);
}

/* ---------- Steps ---------- */

.steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: step;
}
.steps li {
	position: relative;
	padding: 28px 12px 30px 0;
	border-top: 2px solid var(--line);
	counter-increment: step;
}
.steps li::before {
	content: "0" counter(step);
	display: block;
	margin-bottom: 18px;
	font-family: var(--font-display);
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--amber-text);
}
.steps li::after {
	content: "";
	position: absolute;
	top: -2px;
	left: 0;
	width: 48px;
	height: 2px;
	background: var(--amber);
}
.steps h3 {
	font-size: 1.15rem;
}
.steps p {
	margin-top: 10px;
	color: var(--muted);
	font-size: 0.97rem;
}
@media (max-width: 960px) {
	.steps {
		grid-template-columns: 1fr 1fr;
	}
}
@media (max-width: 560px) {
	.steps {
		grid-template-columns: 1fr;
	}
}

/* ---------- Split ---------- */

.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: clamp(40px, 7vw, 96px);
}
.split.is-reversed .split-media {
	order: -1;
}
.split-body h2 {
	margin-top: 18px;
}
.split-body > p {
	margin-top: 20px;
	color: var(--muted);
	font-size: 1.07rem;
}
.on-dark .split-body > p {
	color: var(--on-dark-muted);
}
.split-body > .btn,
.split-body > .text-link,
.split-body > .hero-actions {
	margin-top: 32px;
}
.split-media {
	position: relative;
}
.media-frame {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	aspect-ratio: 4 / 3.4;
	background: var(--surface);
}
.media-frame img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.media-frame.is-product {
	background: radial-gradient(70% 70% at 50% 45%, #ffffff 0%, #eceae3 100%);
}
.media-frame.is-product img {
	inset: clamp(24px, 4vw, 48px);
	width: calc(100% - 2 * clamp(24px, 4vw, 48px));
	height: calc(100% - 2 * clamp(24px, 4vw, 48px));
	object-fit: contain;
}
.media-badge {
	position: absolute;
	left: 24px;
	bottom: 24px;
	right: 24px;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 18px;
	border-radius: 16px;
	background: rgba(13, 15, 20, 0.78);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	color: #fff;
	font-size: 0.95rem;
	line-height: 1.4;
}
.media-badge strong {
	display: block;
	font-family: var(--font-display);
}
.media-badge span {
	color: var(--on-dark-muted);
	font-size: 0.88rem;
}
@media (max-width: 900px) {
	.split {
		grid-template-columns: 1fr;
	}
	.split.is-reversed .split-media {
		order: 0;
	}
}
.check-list {
	display: grid;
	gap: 14px;
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
}
.check-list li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	font-weight: 500;
}
.check-list .icon {
	width: 22px;
	height: 22px;
	padding: 3px;
	margin-top: 2px;
	border-radius: 50%;
	color: var(--on-amber);
	background: var(--amber);
	stroke-width: 3;
}
.on-dark .check-list li {
	color: #fff;
}

/* ---------- Product detail ---------- */

.product-hero .hero-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: clamp(40px, 6vw, 80px);
	padding-block: clamp(56px, 8vw, 104px);
}
.product-hero .hero-inner > * {
	max-width: none;
	min-width: 0;
}
/* Long product names ("Intercommunication") must fit a phone screen. */
@media (max-width: 560px) {
	.product-hero h1 {
		font-size: 2.1rem;
		hyphens: auto;
		overflow-wrap: break-word;
	}
}
.product-hero .media-frame {
	box-shadow: var(--shadow-lg);
}
@media (max-width: 900px) {
	.product-hero .hero-inner {
		grid-template-columns: 1fr;
	}
}
.feature-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.feature-grid li {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	padding: 22px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	font-weight: 500;
}
@media (max-width: 900px) {
	.feature-grid {
		grid-template-columns: 1fr 1fr;
	}
}
@media (max-width: 560px) {
	.feature-grid {
		grid-template-columns: 1fr;
	}
}
.feature-grid .icon-tile {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	flex: none;
}
.feature-grid .icon-tile .icon {
	width: 22px;
	height: 22px;
}
.overview {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	align-items: start;
	gap: clamp(32px, 6vw, 88px);
}
.overview .section-head {
	margin-bottom: 0;
}
.overview .section-head h2 {
	font-size: clamp(1.6rem, 2.8vw, 2.2rem);
}
.overview .prose-lg {
	padding-top: 52px;
}
@media (max-width: 900px) {
	.overview {
		grid-template-columns: 1fr;
	}
	.overview .prose-lg {
		padding-top: 0;
	}
}
.prose-lg {
	max-width: 760px;
	color: var(--muted);
	font-size: 1.12rem;
}
.prose-lg p + p {
	margin-top: 16px;
}
.related {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.related a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 18px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: #fff;
	color: var(--text);
	font-weight: 600;
	text-decoration: none;
	transition: border-color 0.2s, background-color 0.2s;
}
.related a:hover {
	border-color: var(--amber);
	background: var(--amber-100);
}
.related .icon {
	width: 18px;
	height: 18px;
}

/* ---------- Contact ---------- */

.contact-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.contact-card {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 28px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--radius);
	background: var(--ink-2);
	color: #fff;
	text-decoration: none;
	transition: transform 0.25s, border-color 0.25s;
}
a.contact-card:hover {
	transform: translateY(-4px);
	border-color: rgba(255, 193, 7, 0.5);
}
.contact-card .icon-tile {
	margin-bottom: 14px;
}
.contact-card .label {
	color: var(--on-dark-muted);
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.contact-card .value {
	font-family: var(--font-display);
	font-size: 1.12rem;
	font-weight: 600;
	line-height: 1.4;
	overflow-wrap: anywhere;
}
.contact-card .hint {
	margin-top: auto;
	padding-top: 10px;
	color: var(--amber);
	font-size: 0.92rem;
	font-weight: 600;
}
@media (max-width: 900px) {
	.contact-grid {
		grid-template-columns: 1fr;
	}
}

/* ---------- CTA ---------- */

.cta {
	padding-block: var(--section-y);
}
/* A plain white section already provides the space above. */
.section:not(.section-alt):not(.section-dark) + .cta {
	padding-top: 0;
}
.cta-box {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: grid;
	grid-template-columns: 1.4fr auto;
	align-items: center;
	gap: 32px;
	padding: clamp(36px, 6vw, 72px);
	border-radius: var(--radius-lg);
	color: var(--on-amber);
	background: var(--amber-gradient);
	box-shadow: 0 30px 60px -24px rgba(245, 130, 32, 0.6);
}
.cta-box::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(rgba(26, 19, 0, 0.07) 1px, transparent 1px),
		linear-gradient(90deg, rgba(26, 19, 0, 0.07) 1px, transparent 1px);
	background-size: 32px 32px;
	mask-image: linear-gradient(90deg, transparent 30%, #000);
	-webkit-mask-image: linear-gradient(90deg, transparent 30%, #000);
}
.cta-box p {
	margin-top: 16px;
	max-width: 34em;
	font-size: 1.1rem;
	opacity: 0.82;
}
.cta-actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.btn-dark {
	background: var(--ink);
	color: #fff;
}
.btn-dark:hover {
	background: var(--ink-3);
	transform: translateY(-1px);
}
.btn-line-dark {
	border-color: rgba(26, 19, 0, 0.35);
	color: var(--on-amber);
}
.btn-line-dark:hover {
	background: rgba(26, 19, 0, 0.08);
}
@media (max-width: 800px) {
	.cta-box {
		grid-template-columns: 1fr;
	}
	.cta-actions {
		flex-direction: row;
		flex-wrap: wrap;
	}
}

/* ---------- Legal pages ---------- */

.prose > * {
	max-width: 760px;
}
.prose h2 {
	margin: 48px 0 14px;
	font-size: 1.5rem;
}
.prose h2:first-child {
	margin-top: 0;
}
.prose p,
.prose ul {
	margin: 0 0 14px;
	color: var(--muted);
}
.prose ul {
	padding-left: 1.2em;
}
.prose li + li {
	margin-top: 6px;
}
.prose a {
	color: var(--text);
	text-decoration-color: var(--amber);
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}
.prose .meta {
	font-size: 0.92rem;
}
.legal-card {
	display: grid;
	gap: 4px;
	max-width: 520px;
	padding: 28px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
}
.legal-card strong {
	font-family: var(--font-display);
	font-size: 1.1rem;
}
.legal-card a {
	color: var(--text);
}

/* ---------- Footer ---------- */

.site-footer {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding-top: clamp(56px, 7vw, 88px);
	background: var(--ink);
	color: var(--on-dark-muted);
	font-size: 0.97rem;
}
.footer-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
	gap: 40px;
}
.footer-brand p {
	margin-top: 18px;
	max-width: 28em;
}
.site-footer h2 {
	margin-bottom: 18px;
	color: #fff;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.footer-list {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.footer-list a {
	text-decoration: none;
	transition: color 0.2s;
}
.footer-list a:hover {
	color: #fff;
}
.footer-list li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}
.footer-list .icon {
	width: 18px;
	height: 18px;
	margin-top: 4px;
	color: var(--amber);
}
.footer-bottom {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-top: clamp(48px, 6vw, 72px);
	padding-block: 26px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	font-size: 0.9rem;
}
.footer-bottom a {
	text-decoration: none;
}
.footer-bottom a:hover {
	color: #fff;
}
.footer-bottom nav {
	display: flex;
	gap: 20px;
}
@media (max-width: 900px) {
	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}
	.footer-brand {
		grid-column: 1 / -1;
	}
}
@media (max-width: 520px) {
	.footer-grid {
		grid-template-columns: 1fr;
	}
}

/* ---------- 404 ---------- */

.not-found {
	min-height: calc(100vh - var(--header-h));
	display: grid;
	align-items: center;
}
.not-found .code {
	font-family: var(--font-display);
	font-size: clamp(6rem, 18vw, 11rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.05em;
	background: var(--amber-gradient);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* ---------- Reveal on scroll ---------- */

.js [data-reveal] {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.7s ease, transform 0.7s ease;
	transition-delay: var(--delay, 0s);
}
.js [data-reveal].is-visible {
	opacity: 1;
	transform: none;
}
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
	.js [data-reveal] {
		opacity: 1;
		transform: none;
	}
}
