/*
 * Opernix marketing site. Plain CSS, no build step.
 * Brand colours follow the app: navy navbar (#0f2d56 -> #0b2545, spa/src/design-system/tokens/token.css),
 * logo blue #1559d6 and accent #1ab4f5 (guide/.vitepress/theme/custom.css, spa/src/pages/login.css).
 */

@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url('../fonts/inter-latin-wght.woff2') format('woff2');
}

:root {
	--navy-900: #07162b;
	--navy-800: #0b2545;
	--navy-700: #0f2d56;
	--navy-600: #1a3d6e;
	--blue-600: #1559d6;
	--blue-700: #0f47b0;
	--blue-50: #eef4ff;
	--blue-100: #dbe7ff;
	--cyan-400: #1ab4f5;
	--cyan-300: #6fd0fb;

	--ink: #0e1b2e;
	--ink-2: #3b4a5f;
	--ink-3: #5a687c;
	--line: #e3e8f0;
	--line-2: #d3dbe7;
	--bg: #ffffff;
	--bg-soft: #f6f8fb;
	--bg-tint: #f1f5fc;
	--success: #1f7a3a;

	--font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--font-head: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

	/* Spacing scale (4px base). */
	--s-1: 4px;
	--s-2: 8px;
	--s-3: 12px;
	--s-4: 16px;
	--s-5: 24px;
	--s-6: 32px;
	--s-7: 48px;
	--s-8: 64px;
	--s-9: 96px;
	--s-10: 128px;

	--radius: 12px;
	--radius-sm: 8px;
	--radius-lg: 18px;
	--shadow-sm: 0 1px 2px rgba(14, 27, 46, 0.06), 0 1px 3px rgba(14, 27, 46, 0.05);
	--shadow-md: 0 4px 12px rgba(14, 27, 46, 0.07), 0 2px 4px rgba(14, 27, 46, 0.04);
	--shadow-lg: 0 24px 48px -12px rgba(11, 37, 69, 0.22), 0 8px 16px -8px rgba(11, 37, 69, 0.12);
	--container: 1200px;
	--header-h: 68px;
	--focus: 0 0 0 3px #ffffff, 0 0 0 5px var(--blue-600);
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}
html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}
img {
	max-width: 100%;
	height: auto;
	display: block;
}
a {
	color: var(--blue-600);
	text-underline-offset: 3px;
}
a:hover {
	color: var(--blue-700);
}
:focus-visible {
	outline: none;
	box-shadow: var(--focus);
	border-radius: 6px;
}
h1,
h2,
h3,
h4 {
	font-family: var(--font-head);
	color: var(--ink);
	line-height: 1.2;
	letter-spacing: -0.022em;
	margin: 0 0 var(--s-4);
	font-weight: 700;
}
h1,
h2 {
	text-wrap: balance;
}
h1 {
	font-size: clamp(2.1rem, 1.4rem + 3vw, 3.4rem);
	letter-spacing: -0.032em;
	line-height: 1.1;
	font-weight: 750;
}
h2 {
	font-size: clamp(1.65rem, 1.25rem + 1.6vw, 2.4rem);
}
h3 {
	font-size: 1.2rem;
	letter-spacing: -0.012em;
	font-weight: 650;
}
p {
	margin: 0 0 var(--s-4);
}
ul {
	padding-left: 1.2em;
}

.skip-link {
	position: absolute;
	left: var(--s-4);
	top: -100px;
	z-index: 100;
	background: var(--navy-800);
	color: #fff;
	padding: var(--s-2) var(--s-4);
	border-radius: var(--radius-sm);
}
.skip-link:focus {
	top: var(--s-3);
	color: #fff;
}
.visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 var(--s-5);
}
@media (max-width: 480px) {
	.container {
		padding: 0 var(--s-4);
	}
}

/* ---------------- Buttons ---------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--s-2);
	min-height: 44px;
	padding: 10px 20px;
	border-radius: 10px;
	border: 1px solid transparent;
	font: 600 0.95rem/1.2 var(--font-body);
	text-decoration: none;
	cursor: pointer;
	transition:
		background-color 0.15s ease,
		border-color 0.15s ease,
		color 0.15s ease,
		transform 0.15s ease;
	white-space: nowrap;
}
.btn-primary {
	background: var(--blue-600);
	color: #fff;
	box-shadow: 0 1px 2px rgba(21, 89, 214, 0.3);
}
.btn-primary:hover {
	background: var(--blue-700);
	color: #fff;
}
.btn-secondary {
	background: #fff;
	color: var(--navy-700);
	border-color: var(--line-2);
}
.btn-secondary:hover {
	border-color: var(--navy-700);
	color: var(--navy-800);
}
.btn-ghost {
	color: var(--navy-700);
	background: transparent;
}
.btn-ghost:hover {
	background: var(--bg-tint);
	color: var(--navy-800);
}
.btn-light {
	background: #fff;
	color: var(--navy-800);
}
.btn-light:hover {
	background: var(--blue-50);
	color: var(--navy-900);
}
.btn-outline-light {
	color: #fff;
	border-color: rgba(255, 255, 255, 0.45);
}
.btn-outline-light:hover {
	border-color: #fff;
	color: #fff;
	background: rgba(255, 255, 255, 0.08);
}
.btn-lg {
	min-height: 52px;
	padding: 14px 26px;
	font-size: 1rem;
}
.btn svg {
	width: 18px;
	height: 18px;
	flex: none;
}
.on-dark :focus-visible {
	box-shadow: 0 0 0 3px var(--navy-800), 0 0 0 5px #fff;
}

/* ---------------- Header ---------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: saturate(1.4) blur(10px);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid transparent;
	transition:
		border-color 0.3s var(--ease),
		box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled {
	border-bottom-color: var(--line);
	box-shadow: 0 6px 20px -12px rgba(11, 37, 69, 0.25);
}
.header-inner {
	display: flex;
	align-items: center;
	gap: var(--s-5);
	height: var(--header-h);
}
.brand {
	display: inline-flex;
	align-items: center;
	flex: none;
}
.brand img {
	width: 138px;
	height: auto;
}
.main-nav {
	display: flex;
	align-items: center;
	gap: var(--s-1);
	margin-left: var(--s-4);
}
.main-nav a {
	color: var(--ink-2);
	text-decoration: none;
	font-weight: 550;
	font-size: 0.94rem;
	padding: 8px 12px;
	border-radius: 8px;
}
.main-nav a:hover {
	color: var(--navy-800);
	background: var(--bg-tint);
}
.main-nav a[aria-current='page'] {
	color: var(--navy-800);
	background: var(--blue-50);
}
.header-actions {
	display: flex;
	align-items: center;
	gap: var(--s-2);
	margin-left: auto;
}
.nav-toggle {
	display: none;
	margin-left: auto;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	border: 1px solid var(--line-2);
	background: #fff;
	color: var(--navy-800);
	cursor: pointer;
	align-items: center;
	justify-content: center;
}
.nav-toggle svg {
	width: 22px;
	height: 22px;
}
.nav-toggle .icon-close {
	display: none;
}
.nav-toggle[aria-expanded='true'] .icon-close {
	display: block;
}
.nav-toggle[aria-expanded='true'] .icon-open {
	display: none;
}
.mobile-panel {
	display: none;
}

@media (max-width: 1023px) {
	.main-nav,
	.header-actions {
		display: none;
	}
	.nav-toggle {
		display: inline-flex;
	}
	.mobile-panel {
		position: fixed;
		inset: var(--header-h) 0 0 0;
		background: #fff;
		border-top: 1px solid var(--line);
		padding: var(--s-5) var(--s-4) var(--s-7);
		overflow-y: auto;
		z-index: 49;
	}
	.mobile-panel.is-open {
		display: block;
	}
	.mobile-panel nav a {
		display: block;
		padding: 14px 8px;
		font-size: 1.08rem;
		font-weight: 600;
		color: var(--ink);
		text-decoration: none;
		border-bottom: 1px solid var(--line);
	}
	.mobile-panel nav a[aria-current='page'] {
		color: var(--blue-600);
	}
	.mobile-panel .mobile-actions {
		display: grid;
		gap: var(--s-3);
		margin-top: var(--s-5);
	}
	body.nav-open {
		overflow: hidden;
	}
	/* backdrop-filter makes the header the containing block of the fixed panel: drop it while open. */
	body.nav-open .site-header {
		background: #fff;
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
	}
}

/* ---------------- Sections ---------------- */
.section {
	padding: var(--s-9) 0;
}
.section-sm {
	padding: var(--s-8) 0;
}
.section-soft {
	background: var(--bg-soft);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}
@media (max-width: 767px) {
	.section {
		padding: var(--s-8) 0;
	}
	.section-sm {
		padding: var(--s-7) 0;
	}
}
.section-head {
	max-width: 760px;
	margin-bottom: var(--s-7);
}
.section-head.center {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}
.eyebrow {
	display: inline-block;
	font: 700 0.78rem/1.2 var(--font-body);
	text-transform: uppercase;
	letter-spacing: 0.09em;
	color: var(--blue-600);
	margin-bottom: var(--s-3);
}
.lead {
	font-size: 1.125rem;
	color: var(--ink-2);
	line-height: 1.65;
}
.muted {
	color: var(--ink-3);
}
.small {
	font-size: 0.9rem;
}

/* ---------------- Hero ---------------- */
.hero {
	position: relative;
	padding: var(--s-8) 0 var(--s-9);
	overflow: hidden;
	background:
		radial-gradient(900px 480px at 85% -10%, rgba(26, 180, 245, 0.14), transparent 60%),
		radial-gradient(700px 420px at -10% 10%, rgba(21, 89, 214, 0.08), transparent 60%),
		linear-gradient(180deg, #fbfcfe 0%, #ffffff 100%);
}
.hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(15, 45, 86, 0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(15, 45, 86, 0.045) 1px, transparent 1px);
	background-size: 44px 44px;
	mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
	pointer-events: none;
}
.hero .container {
	position: relative;
}
.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
	gap: var(--s-8);
	align-items: center;
}
.hero-copy .lead {
	font-size: 1.2rem;
	max-width: 34em;
}
.hero-cta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-3);
	margin: var(--s-6) 0 var(--s-5);
}
.hero-points {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-2) var(--s-5);
	color: var(--ink-2);
	font-size: 0.93rem;
}
.hero-points li {
	display: inline-flex;
	align-items: center;
	gap: var(--s-2);
}
.hero-points svg {
	width: 18px;
	height: 18px;
	color: var(--success);
	flex: none;
}
.hero-visual {
	position: relative;
}
@media (min-width: 1200px) {
	.hero-visual {
		margin-right: -96px;
	}
}
.pill {
	display: inline-flex;
	align-items: center;
	gap: var(--s-2);
	padding: 6px 12px 6px 8px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--line);
	box-shadow: var(--shadow-sm);
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--navy-700);
	margin-bottom: var(--s-5);
}
.pill span {
	background: var(--blue-50);
	color: var(--blue-700);
	border-radius: 999px;
	padding: 2px 8px;
	font-size: 0.76rem;
	font-weight: 700;
}
@media (max-width: 1023px) {
	.hero-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--s-7);
	}
}
@media (max-width: 480px) {
	.hero {
		padding: var(--s-7) 0 var(--s-8);
	}
	.hero-copy .lead {
		font-size: 1.06rem;
	}
	.hero-cta .btn {
		flex: 1 1 100%;
	}
}

/* Page hero (inner pages) */
.page-hero {
	padding: var(--s-8) 0 var(--s-7);
	background:
		radial-gradient(800px 380px at 90% -20%, rgba(26, 180, 245, 0.12), transparent 60%),
		linear-gradient(180deg, #f8fafd, #fff);
	border-bottom: 1px solid var(--line);
}
.page-hero h1 {
	font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem);
	max-width: 18em;
}
.page-hero .lead {
	max-width: 44em;
}
.page-hero .hero-cta {
	margin-bottom: 0;
}
.breadcrumb {
	font-size: 0.88rem;
	color: var(--ink-3);
	margin-bottom: var(--s-4);
}
.breadcrumb a {
	color: var(--ink-3);
}

/* ---------------- Browser frame ---------------- */
.frame {
	background: #fff;
	border-radius: var(--radius);
	border: 1px solid var(--line-2);
	box-shadow: var(--shadow-lg);
	overflow: hidden;
}
.frame-bar {
	display: flex;
	align-items: center;
	gap: 6px;
	height: 34px;
	padding: 0 12px;
	background: #f3f5f9;
	border-bottom: 1px solid var(--line);
}
.frame-bar i {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #d4dae4;
	flex: none;
}
.frame-bar i:nth-child(1) {
	background: #f26b5b;
}
.frame-bar i:nth-child(2) {
	background: #f5be4f;
}
.frame-bar i:nth-child(3) {
	background: #5ac05a;
}
.frame-url {
	margin-left: 10px;
	flex: 1;
	max-width: 320px;
	height: 20px;
	border-radius: 6px;
	background: #fff;
	border: 1px solid var(--line);
	font: 500 0.7rem/18px var(--font-body);
	color: var(--ink-3);
	padding: 0 10px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.frame img {
	width: 100%;
	height: auto;
	background: var(--bg-soft);
}
figure {
	margin: 0;
}
figcaption {
	font-size: 0.86rem;
	color: var(--ink-3);
	margin-top: var(--s-3);
	text-align: center;
}

/* ---------------- Grids & cards ---------------- */
.grid {
	display: grid;
	gap: var(--s-5);
}
.grid-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 1023px) {
	.grid-3,
	.grid-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 639px) {
	.grid-2,
	.grid-3,
	.grid-4 {
		grid-template-columns: minmax(0, 1fr);
	}
}
.card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: var(--s-6);
	box-shadow: var(--shadow-sm);
}
.card h3 {
	margin-bottom: var(--s-2);
}
.card p:last-child,
.card ul:last-child {
	margin-bottom: 0;
}
.card p {
	color: var(--ink-2);
	font-size: 0.97rem;
}
a.card {
	display: block;
	text-decoration: none;
	color: inherit;
	transition:
		border-color 0.15s ease,
		box-shadow 0.15s ease,
		transform 0.15s ease;
}
a.card.industry-card,
a.card.module-card {
	display: flex;
	flex-direction: column;
}
.industry-card .more {
	margin-top: auto;
	padding-top: var(--s-4);
}
a.card:hover {
	border-color: #b9cbec;
	box-shadow: var(--shadow-md);
	transform: translateY(-2px);
}
.more svg {
	width: 16px;
	height: 16px;
	flex: none;
	transition: transform 0.15s ease;
}
a.card:hover .more svg {
	transform: translateX(3px);
}
.card .more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: var(--s-4);
	font-weight: 600;
	font-size: 0.92rem;
	color: var(--blue-600);
}
.icon {
	width: 44px;
	height: 44px;
	border-radius: 11px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--blue-50);
	color: var(--blue-600);
	margin-bottom: var(--s-4);
	flex: none;
}
.icon svg {
	width: 22px;
	height: 22px;
}
.icon-navy {
	background: var(--navy-700);
	color: #fff;
}

/* Problem/solution list */
.problem {
	display: flex;
	gap: var(--s-4);
	padding: var(--s-5);
	border-radius: var(--radius);
	background: #fff;
	border: 1px solid var(--line);
}
.problem .icon {
	margin: 0;
}
.problem h3 {
	font-size: 1.05rem;
	margin-bottom: 6px;
}
.problem p {
	margin: 0;
	color: var(--ink-2);
	font-size: 0.95rem;
}

/* Modules */
.module-card {
	position: relative;
	display: flex;
	flex-direction: column;
}
.module-card ul {
	list-style: none;
	padding: 0;
	margin: var(--s-3) 0 0;
	color: var(--ink-2);
	font-size: 0.93rem;
}
.module-card li {
	position: relative;
	padding-left: 18px;
	margin-bottom: 6px;
}
.module-card li::before {
	content: '';
	position: absolute;
	left: 2px;
	top: 0.62em;
	width: 6px;
	height: 6px;
	border-radius: 2px;
	background: var(--cyan-400);
}
.tag {
	display: inline-block;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 3px 8px;
	border-radius: 6px;
	background: var(--bg-tint);
	color: var(--navy-600);
	border: 1px solid var(--line);
	vertical-align: middle;
}
.tag-addon {
	background: #fff6e5;
	color: #7a4a00;
	border-color: #f3dfb5;
}
.addon-list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--s-3);
	list-style: none;
	padding: 0;
	margin: 0;
}
.addon-list li {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	padding: var(--s-4);
}
.addon-list strong {
	display: block;
	font-family: var(--font-head);
	font-size: 0.98rem;
	margin-bottom: 2px;
}
.addon-list span {
	font-size: 0.88rem;
	color: var(--ink-3);
	line-height: 1.5;
	display: block;
}
@media (max-width: 1023px) {
	.addon-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 479px) {
	.addon-list {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Feature split rows */
.split {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: var(--s-8);
	align-items: center;
}
.split + .split {
	margin-top: var(--s-9);
}
.split.reverse .split-media {
	order: -1;
}
.split h2,
.split h3.h2 {
	font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
}
.checklist {
	list-style: none;
	padding: 0;
	margin: var(--s-5) 0 0;
}
.checklist li {
	position: relative;
	padding-left: 30px;
	margin-bottom: var(--s-3);
	color: var(--ink-2);
}
.checklist li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 3px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--blue-50)
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%231559d6' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E")
		center / 14px no-repeat;
}
.checklist strong {
	color: var(--ink);
}
@media (max-width: 1023px) {
	.split {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--s-6);
	}
	.split.reverse .split-media {
		order: 0;
	}
	.split + .split {
		margin-top: var(--s-8);
	}
}

/* Industry cards */
/* Dark band */
.band-dark {
	position: relative;
	background:
		radial-gradient(900px 400px at 100% 0%, rgba(26, 180, 245, 0.18), transparent 60%),
		linear-gradient(160deg, var(--navy-700), var(--navy-900));
	color: #dce6f5;
	overflow: hidden;
}
.band-dark h2,
.band-dark h3 {
	color: #fff;
}
.band-dark .eyebrow {
	color: var(--cyan-300);
}
.band-dark .lead,
.band-dark p {
	color: #c3d2e8;
}
.band-dark a:not(.btn) {
	color: #fff;
}
.band-dark .card-dark {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--radius);
	padding: var(--s-6);
}
.band-dark .card-dark p {
	margin: 0;
	font-size: 0.96rem;
}
.band-dark .icon {
	background: rgba(26, 180, 245, 0.14);
	color: var(--cyan-300);
}
.note-dark {
	margin-top: var(--s-6);
	font-size: 0.9rem;
	color: #a9bbd6 !important;
	max-width: 62em;
}

/* Steps */
.steps {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: var(--s-4);
	counter-reset: step;
}
.steps li {
	position: relative;
	padding: var(--s-5);
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	counter-increment: step;
}
.steps li::before {
	content: counter(step);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--navy-700);
	color: #fff;
	font: 700 0.95rem/1 var(--font-head);
	margin-bottom: var(--s-4);
}
.steps h3 {
	font-size: 1.02rem;
	margin-bottom: 6px;
}
.steps p {
	font-size: 0.92rem;
	color: var(--ink-2);
	margin: 0;
}
@media (max-width: 1100px) {
	.steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 559px) {
	.steps {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Facts strip */
.facts {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--s-3) var(--s-6);
	list-style: none;
	padding: 0;
	margin: 0;
	color: var(--ink-2);
	font-weight: 600;
	font-size: 0.95rem;
}
.facts li {
	display: inline-flex;
	align-items: center;
	gap: var(--s-2);
}
.facts svg {
	width: 18px;
	height: 18px;
	color: var(--blue-600);
}
.facts-wrap {
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	background: #fff;
	padding: var(--s-5) 0;
}
.facts-label {
	text-align: center;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ink-3);
	margin-bottom: var(--s-3);
}

/* FAQ */
.faq {
	max-width: 860px;
	margin: 0 auto;
}
.faq details {
	border-bottom: 1px solid var(--line);
}
.faq details:first-child {
	border-top: 1px solid var(--line);
}
.faq summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: var(--s-4);
	padding: var(--s-5) var(--s-1);
	font: 650 1.05rem/1.4 var(--font-head);
	color: var(--ink);
}
.faq summary::-webkit-details-marker {
	display: none;
}
.faq summary::after {
	content: '';
	flex: none;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--bg-tint)
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230f2d56' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M10 5v10M5 10h10'/%3E%3C/svg%3E")
		center / 14px no-repeat;
	transition: transform 0.2s ease;
}
.faq details[open] summary::after {
	transform: rotate(45deg);
}
.faq .answer {
	padding: 0 var(--s-1) var(--s-5);
	color: var(--ink-2);
	max-width: 70ch;
}
.faq .answer p:last-child {
	margin-bottom: 0;
}

/* CTA band */
.cta-band {
	padding: var(--s-9) 0;
}
.cta-box {
	position: relative;
	overflow: hidden;
	border-radius: var(--radius-lg);
	padding: var(--s-8) var(--s-7);
	background:
		radial-gradient(600px 300px at 100% 0%, rgba(26, 180, 245, 0.28), transparent 60%),
		linear-gradient(135deg, var(--navy-700), var(--navy-900));
	color: #fff;
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) auto;
	gap: var(--s-6);
	align-items: center;
}
.cta-box h2 {
	color: #fff;
	margin-bottom: var(--s-2);
}
.cta-box p {
	color: #c3d2e8;
	margin: 0;
	font-size: 1.06rem;
}
.cta-box .hero-cta {
	margin: 0;
}
@media (max-width: 860px) {
	.cta-box {
		grid-template-columns: minmax(0, 1fr);
		padding: var(--s-7) var(--s-5);
	}
}
@media (max-width: 767px) {
	.cta-band {
		padding: var(--s-8) 0;
	}
}

/* Packages */
.pkg-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--s-4);
	align-items: stretch;
}
.pkg {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: var(--s-6) var(--s-5);
	box-shadow: var(--shadow-sm);
}
.pkg.featured {
	border: 2px solid var(--blue-600);
	box-shadow: var(--shadow-md);
}
.pkg h3 {
	font-size: 1.4rem;
	margin-bottom: 4px;
}
.pkg-en {
	font-size: 0.95rem;
	font-weight: 500;
	color: var(--ink-3);
	letter-spacing: 0;
}
.pkg .for {
	color: var(--ink-3);
	font-size: 0.92rem;
	min-height: 3em;
}
.pkg .price {
	font: 700 1.05rem/1.3 var(--font-head);
	color: var(--navy-700);
	padding: var(--s-4) 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	margin: var(--s-3) 0 var(--s-4);
}
.pkg .price small {
	display: block;
	font: 500 0.82rem/1.4 var(--font-body);
	color: var(--ink-3);
	margin-top: 2px;
}
.pkg ul {
	list-style: none;
	padding: 0;
	margin: 0 0 var(--s-5);
	font-size: 0.93rem;
	color: var(--ink-2);
}
.pkg li {
	position: relative;
	padding-left: 24px;
	margin-bottom: 8px;
}
.pkg li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 4px;
	width: 16px;
	height: 16px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%231559d6' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 10.5l3.5 3.5 7.5-8'/%3E%3C/svg%3E")
		center / 16px no-repeat;
}
.pkg li.plus {
	font-weight: 600;
	color: var(--ink);
}
.pkg .btn {
	margin-top: auto;
	width: 100%;
}
.badge {
	align-self: flex-start;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--blue-600);
	color: #fff;
	margin-bottom: var(--s-3);
	line-height: 15px;
	white-space: nowrap;
}
.badge-spacer {
	height: 23px;
	margin-bottom: var(--s-3);
}
@media (max-width: 1100px) {
	.pkg-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 639px) {
	.pkg-grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.badge-spacer {
		display: none;
	}
	.pkg .for {
		min-height: 0;
	}
}

/* Comparison table */
.table-wrap {
	overflow-x: auto;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fff;
	-webkit-overflow-scrolling: touch;
}
.compare {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.93rem;
	min-width: 640px;
}
.compare th,
.compare td {
	padding: 12px 16px;
	border-bottom: 1px solid var(--line);
	text-align: center;
}
.compare th:first-child,
.compare td:first-child {
	text-align: left;
}
.compare thead th {
	background: var(--bg-tint);
	color: var(--navy-700);
	font-family: var(--font-head);
	font-weight: 700;
	position: sticky;
	top: 0;
}
.compare tbody th {
	font-weight: 550;
	color: var(--ink);
}
.compare tr.group th {
	background: var(--bg-soft);
	font-size: 0.78rem;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--ink-3);
	font-weight: 700;
}
.compare tr:last-child td,
.compare tr:last-child th {
	border-bottom: 0;
}
.yes {
	position: relative;
	color: var(--blue-600);
	font-weight: 700;
}
.opt {
	color: var(--ink-3);
	font-size: 0.85rem;
}

/* Module detail page */
.module-nav {
	position: sticky;
	top: var(--header-h);
	z-index: 20;
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid var(--line);
}
.module-nav ul {
	display: flex;
	gap: var(--s-1);
	list-style: none;
	margin: 0;
	padding: 10px 0;
	overflow-x: auto;
	scrollbar-width: none;
}
@media (min-width: 1200px) {
	.module-nav ul {
		flex-wrap: wrap;
		gap: 6px;
	}
}
.module-nav ul::-webkit-scrollbar {
	display: none;
}
.module-nav a {
	display: inline-block;
	white-space: nowrap;
	text-decoration: none;
	color: var(--ink-2);
	font-weight: 600;
	font-size: 0.9rem;
	padding: 7px 12px;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: #fff;
}
.module-nav a:hover {
	border-color: var(--navy-700);
	color: var(--navy-800);
}
.module-section {
	padding: var(--s-9) 0;
	border-bottom: 1px solid var(--line);
}
.module-section:nth-of-type(even) {
	background: var(--bg-soft);
}
.module-section:last-of-type {
	border-bottom: 0;
}
.cols {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--s-5) var(--s-6);
	margin-top: var(--s-7);
}
.cols h3 {
	font-size: 1rem;
	margin-bottom: var(--s-2);
}
.cols ul {
	margin: 0;
	padding-left: 1.1em;
	color: var(--ink-2);
	font-size: 0.94rem;
}
.cols li {
	margin-bottom: 4px;
}
@media (max-width: 1023px) {
	.cols {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 639px) {
	.cols {
		grid-template-columns: minmax(0, 1fr);
	}
}
.callout {
	border-left: 3px solid var(--cyan-400);
	background: var(--bg-tint);
	padding: var(--s-4) var(--s-5);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	color: var(--ink-2);
	font-size: 0.93rem;
	margin-top: var(--s-6);
}
.callout p:last-child {
	margin: 0;
}
/* Contact */
.contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
	gap: var(--s-7);
	align-items: start;
}
@media (max-width: 900px) {
	.contact-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}
.form {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	padding: var(--s-6);
	box-shadow: var(--shadow-md);
}
@media (max-width: 480px) {
	.form {
		padding: var(--s-5) var(--s-4);
	}
}
.form-row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 var(--s-4);
}
@media (max-width: 600px) {
	.form-row {
		grid-template-columns: minmax(0, 1fr);
	}
}
.field {
	margin-bottom: var(--s-4);
}
.field label,
.field legend {
	display: block;
	font-weight: 600;
	font-size: 0.9rem;
	margin-bottom: 6px;
	color: var(--ink);
}
.field .req {
	color: #b42318;
}
.field input,
.field select,
.field textarea {
	width: 100%;
	min-height: 46px;
	padding: 10px 12px;
	border: 1px solid #b8c3d3;
	border-radius: 9px;
	font: 400 1rem/1.4 var(--font-body);
	color: var(--ink);
	background: #fff;
}
.field textarea {
	min-height: 120px;
	resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
	outline: none;
	border-color: var(--blue-600);
	box-shadow: 0 0 0 3px rgba(21, 89, 214, 0.22);
}
.field input[aria-invalid='true'],
.field select[aria-invalid='true'] {
	border-color: #b42318;
}
.field .hint {
	font-size: 0.84rem;
	color: var(--ink-3);
	margin-top: 4px;
}
fieldset.field {
	border: 0;
	padding: 0;
	margin: 0 0 var(--s-4);
	min-width: 0;
}
.checks {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px var(--s-4);
}
@media (max-width: 480px) {
	.checks {
		grid-template-columns: minmax(0, 1fr);
	}
}
.checks label {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 500;
	font-size: 0.95rem;
	margin: 0;
	cursor: pointer;
	min-height: 32px;
}
.checks input {
	width: 18px;
	height: 18px;
	min-height: 0;
	accent-color: var(--blue-600);
	flex: none;
}
.form-status {
	margin-top: var(--s-4);
	font-size: 0.94rem;
	padding: var(--s-3) var(--s-4);
	border-radius: var(--radius-sm);
	display: none;
}
.form-status.is-error {
	display: block;
	background: #fdecea;
	color: #8a1c12;
}
.form-status.is-ok {
	display: block;
	background: #e7f5ec;
	color: #165a2c;
}
.contact-card {
	padding: var(--s-6);
}
.contact-card dl {
	margin: 0;
}
.contact-card dt {
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: var(--ink-3);
	margin-top: var(--s-4);
}
.contact-card dt:first-child {
	margin-top: 0;
}
.contact-card dd {
	margin: 4px 0 0;
	font-weight: 550;
	overflow-wrap: anywhere;
}

/* Prose (privacy) */
.prose {
	max-width: 760px;
}
.prose h2 {
	font-size: 1.4rem;
	margin-top: var(--s-7);
}
.prose p,
.prose li {
	color: var(--ink-2);
}
.draft-banner {
	border: 1px solid #f3dfb5;
	background: #fff8e8;
	color: #6a4100;
	padding: var(--s-4) var(--s-5);
	border-radius: var(--radius-sm);
	margin-bottom: var(--s-6);
	font-size: 0.95rem;
}

/* ---------------- Footer ---------------- */
.site-footer {
	background: var(--navy-900);
	color: #b6c5dc;
	padding: var(--s-8) 0 var(--s-6);
	font-size: 0.93rem;
}
.footer-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
	gap: var(--s-6);
}
.footer-brand img {
	width: 140px;
	margin-bottom: var(--s-4);
}
.footer-brand p {
	max-width: 30em;
	color: #a3b4cf;
}
.site-footer h2 {
	font: 700 0.8rem/1.2 var(--font-body);
	text-transform: uppercase;
	letter-spacing: 0.09em;
	color: #fff;
	margin-bottom: var(--s-4);
}
.site-footer ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.site-footer li {
	margin-bottom: 10px;
}
.site-footer a {
	color: #d3deee;
	text-decoration: none;
}
.site-footer a:hover {
	color: #fff;
	text-decoration: underline;
}
.site-footer :focus-visible {
	box-shadow: 0 0 0 3px var(--navy-900), 0 0 0 5px #fff;
}
.footer-bottom {
	margin-top: var(--s-7);
	padding-top: var(--s-5);
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: var(--s-3);
	color: #8da0bf;
	font-size: 0.86rem;
}
@media (max-width: 900px) {
	.footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.footer-brand {
		grid-column: 1 / -1;
	}
}

/* 404 */
.notfound {
	min-height: calc(100vh - var(--header-h) - 200px);
	display: flex;
	align-items: center;
	padding: var(--s-9) 0;
}
.notfound .code {
	font: 800 1rem/1 var(--font-head);
	color: var(--blue-600);
	letter-spacing: 0.1em;
}

/* ---------------- Motion ---------------- */



/* ---------------- Hero slider (Beranda) ----------------
   Without JS only the first slide shows and there are no controls. main.js adds .is-enhanced, builds the controls and
   stacks the slides; transitions only run under html.motion. Fixed aspect ratio = no layout shift. */
.hero-slider .slides {
	position: relative;
	aspect-ratio: 1200 / 640;
	overflow: hidden;
	background: var(--bg-soft);
	touch-action: pan-y pinch-zoom;
}
.hero-slider .slide {
	position: absolute;
	inset: 0;
}
.hero-slider .slide + .slide {
	display: none;
}
.hero-slider .slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top left;
}
.hero-slider .slide .zoom {
	height: 100%;
}
.hero-slider.is-enhanced .slide {
	display: block;
	opacity: 0;
	visibility: hidden;
}
.hero-slider.is-enhanced .slide:not(.is-primed):not(.is-active) {
	display: none;
}
.hero-slider.is-enhanced .slide.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 1;
}
html.motion .hero-slider.is-enhanced .slide {
	transition:
		opacity 0.5s var(--ease),
		translate 0.5s var(--ease),
		visibility 0s linear 0.5s;
	translate: 16px 0;
}
html.motion .hero-slider.is-enhanced .slide.is-active {
	translate: 0 0;
	transition-delay: 0s;
}
html.motion .hero-slider.is-enhanced .slide.is-leaving {
	translate: -16px 0;
}
.slider-bar {
	display: flex;
	align-items: center;
	gap: var(--s-2);
	padding: 6px 8px 6px 12px;
	background: #f3f5f9;
	border-top: 1px solid var(--line);
	position: relative;
}
.slider-label {
	font: 600 0.8rem/1 var(--font-body);
	color: var(--navy-700);
	min-width: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin-right: auto;
}
.slider-dots {
	display: flex;
	align-items: center;
	gap: 2px;
}
.slider-dot {
	width: 28px;
	height: 28px;
	border: 0;
	padding: 0;
	background: transparent;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 6px;
}
.slider-dot::before {
	content: '';
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #b8c3d3;
	transition: background-color 0.2s var(--ease), width 0.2s var(--ease);
}
.slider-dot[aria-current='true']::before {
	width: 18px;
	border-radius: 4px;
	background: var(--blue-600);
}
.slider-btn {
	width: 30px;
	height: 30px;
	border-radius: 8px;
	border: 1px solid var(--line-2);
	background: #fff;
	color: var(--navy-700);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
}
.slider-btn:hover {
	border-color: var(--navy-700);
}
.slider-btn svg {
	width: 16px;
	height: 16px;
}
.slider-btn .icon-play,
.slider-btn[aria-pressed='true'] .icon-pause {
	display: none;
}
.slider-btn[aria-pressed='true'] .icon-play {
	display: block;
}
.hero-slider:not(.can-autoplay) .slider-pause {
	display: none;
}
.slider-progress {
	position: absolute;
	left: 0;
	right: 0;
	top: -1px;
	height: 2px;
	overflow: hidden;
	opacity: 0;
}
.slider-progress::after {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--blue-600);
	transform-origin: left center;
	transform: scaleX(0);
}
.hero-slider.is-playing .slider-progress {
	opacity: 1;
}
.hero-slider.is-playing .slider-progress.is-running::after {
	animation: slider-progress var(--slider-duration, 5s) linear forwards;
}
.hero-slider.is-playing.is-held .slider-progress::after,
html.lightbox-open .hero-slider .slider-progress::after {
	animation-play-state: paused;
}
@keyframes slider-progress {
	to {
		transform: scaleX(1);
	}
}
@media (max-width: 480px) {
	.slider-dot {
		width: 22px;
	}
	.slider-label {
		font-size: 0.74rem;
	}
}

/* ---------------- Language switcher + English hint ---------------- */
.lang-switch {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	font: 600 0.82rem/1 var(--font-body);
	color: var(--ink-3);
}
.lang-switch a {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	min-height: 32px;
	padding: 0 6px;
	border-radius: 7px;
	color: var(--ink-3);
	text-decoration: none;
	letter-spacing: 0.04em;
}
.lang-switch a:hover {
	color: var(--navy-800);
	background: var(--bg-tint);
}
.lang-switch a[aria-current='true'] {
	color: var(--navy-800);
	background: var(--blue-50);
}
.lang-switch > span[aria-hidden] {
	color: var(--line-2);
}
.header-actions .lang-switch {
	margin-right: var(--s-2);
}
.main-nav a {
	white-space: nowrap;
	position: relative;
}
@media (max-width: 1239px) {
	.main-nav a {
		padding: 8px 9px;
	}
	.header-inner {
		gap: var(--s-4);
	}
}
.mobile-lang {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: var(--s-4);
	padding: 8px;
	color: var(--ink-2);
	font-weight: 600;
}
.mobile-lang .lang-switch {
	font-size: 0.95rem;
}
.mobile-lang .lang-switch a {
	min-width: 44px;
	min-height: 44px;
}
.site-footer .lang-switch,
.site-footer .lang-switch a {
	color: #a9bbd6;
}
.site-footer .lang-switch a:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.08);
	text-decoration: none;
}
.site-footer .lang-switch a[aria-current='true'] {
	color: #fff;
	background: rgba(255, 255, 255, 0.12);
}
.site-footer .lang-switch > span[aria-hidden] {
	color: rgba(255, 255, 255, 0.25);
}
.lang-hint {
	background: var(--navy-800);
	color: #dce6f5;
	font-size: 0.9rem;
}
.lang-hint-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--s-3);
	min-height: 44px;
}
.lang-hint p {
	margin: 0;
	padding: 8px 0;
}
.lang-hint a {
	color: #fff;
	font-weight: 600;
}
.lang-hint-close {
	flex: none;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: #dce6f5;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.lang-hint-close:hover {
	background: rgba(255, 255, 255, 0.1);
}
.lang-hint-close svg {
	width: 18px;
	height: 18px;
}
.lang-hint :focus-visible {
	box-shadow: 0 0 0 3px var(--navy-800), 0 0 0 5px #fff;
}

/* ---------------- Screenshots: zoom + lightbox ---------------- */
.zoom {
	display: block;
	position: relative;
	cursor: zoom-in;
	color: inherit;
}
.zoom:focus-visible {
	border-radius: 0;
	box-shadow: inset 0 0 0 3px var(--blue-600);
}
.zoom-hint {
	position: absolute;
	right: 12px;
	bottom: 12px;
	padding: 7px 11px;
	border-radius: 8px;
	background: rgba(11, 37, 69, 0.85);
	color: #fff;
	font: 600 0.78rem/1 var(--font-body);
	opacity: 0;
	translate: 0 4px;
	transition:
		opacity 0.2s var(--ease),
		translate 0.2s var(--ease);
	pointer-events: none;
}
.zoom:hover .zoom-hint,
.zoom:focus-visible .zoom-hint {
	opacity: 1;
	translate: 0 0;
}
.lightbox {
	width: 100%;
	max-width: none;
	height: 100%;
	max-height: none;
	margin: 0;
	padding: 64px var(--s-4) var(--s-4);
	border: 0;
	background: transparent;
	display: none;
	flex-direction: column;
	align-items: center;
	gap: var(--s-3);
	opacity: 0;
	transition: opacity 0.2s var(--ease);
}
.lightbox[open] {
	display: flex;
}
.lightbox.is-open {
	opacity: 1;
}
.lightbox::backdrop {
	background: rgba(7, 22, 43, 0.96);
}
.lightbox-bar {
	position: fixed;
	top: 12px;
	right: 12px;
	display: flex;
	gap: 8px;
	z-index: 2;
}
.lightbox-btn {
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border-radius: 22px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	background: rgba(11, 37, 69, 0.75);
	color: #fff;
	font: 600 0.88rem/1 var(--font-body);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.lightbox-btn[hidden] {
	display: none;
}
.lightbox-close {
	padding: 0;
	width: 44px;
}
.lightbox-btn svg {
	width: 20px;
	height: 20px;
}
.lightbox-btn:hover {
	background: rgba(26, 61, 110, 0.95);
}
.lightbox-btn:focus-visible,
.lightbox-pan:focus-visible {
	box-shadow: 0 0 0 3px #fff;
	outline: none;
}
/* Pan container: scrolls in both directions in the "actual" view. No touch-action override, so pinch-zoom works. */
.lightbox-pan {
	flex: 1 1 auto;
	min-height: 0;
	width: 100%;
	max-width: 1600px;
	overflow: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	scale: 0.97;
	transition: scale 0.25s var(--ease);
}
.lightbox.is-open .lightbox-pan {
	scale: 1;
}
.lightbox.is-actual .lightbox-pan {
	justify-content: flex-start;
	align-items: flex-start;
	align-items: safe center;
}
.lightbox-pan img {
	display: block;
	max-width: none;
	height: auto;
	border-radius: 8px;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
	background: #fff;
	cursor: zoom-in;
}
.lightbox.is-actual .lightbox-pan img {
	cursor: zoom-out;
	box-shadow: none;
}
.lightbox-hint {
	margin: 0;
	min-height: 1.2em;
	color: #a9bbd6;
	font-size: 0.82rem;
	text-align: center;
}
.lightbox-caption {
	margin: 0;
	color: #d3deee;
	font-size: 0.92rem;
	text-align: center;
	max-width: 60em;
}
/* Touch screens have no hover: keep the "enlarge" hint visible, quietly. */
@media (hover: none) {
	.zoom-hint {
		opacity: 0.85;
		translate: 0 0;
		padding: 5px 9px;
		font-size: 0.72rem;
	}
}

/* ---------------- Product tour ---------------- */
.tour-section {
	overflow-x: clip;
}
.tour-bar {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--s-3);
	margin-bottom: var(--s-7);
}
.tour-tabs {
	display: flex;
	gap: 4px;
	padding: 5px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 14px;
	box-shadow: var(--shadow-sm);
	overflow-x: auto;
	scrollbar-width: none;
	max-width: 100%;
}
.tour-tabs::-webkit-scrollbar {
	display: none;
}
.tour-tab {
	position: relative;
	flex: none;
	border: 0;
	background: transparent;
	padding: 10px 18px 12px;
	border-radius: 10px;
	font: 600 0.95rem/1.2 var(--font-body);
	color: var(--ink-2);
	cursor: pointer;
	overflow: hidden;
	transition:
		background-color 0.25s var(--ease),
		color 0.25s var(--ease);
}
.tour-tab:hover {
	color: var(--navy-800);
	background: var(--bg-tint);
}
.tour-tab[aria-selected='true'] {
	background: var(--navy-700);
	color: #fff;
}
.tour-progress {
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: 5px;
	height: 2px;
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.22);
	overflow: hidden;
	opacity: 0;
}
.tour-progress::after {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--cyan-300);
	transform-origin: left center;
	transform: scaleX(0);
}
.tour.is-playing .tour-tab[aria-selected='true'] .tour-progress {
	opacity: 1;
}
.tour.is-playing .tour-tab[aria-selected='true'] .tour-progress::after {
	animation: tour-progress var(--tour-duration, 7s) linear forwards;
}
.tour.is-playing.is-held .tour-tab[aria-selected='true'] .tour-progress::after,
html.lightbox-open .tour.is-playing .tour-tab[aria-selected='true'] .tour-progress::after {
	animation-play-state: paused;
}
@keyframes tour-progress {
	to {
		transform: scaleX(1);
	}
}
.tour-toggle {
	flex: none;
	min-height: 40px;
	padding: 8px 14px;
	border-radius: 10px;
	border: 1px solid var(--line-2);
	background: #fff;
	color: var(--navy-700);
	font: 600 0.85rem/1.2 var(--font-body);
	cursor: pointer;
}
.tour-toggle:hover {
	border-color: var(--navy-700);
}
.tour-toggle-play,
.tour-toggle[aria-pressed='true'] .tour-toggle-pause {
	display: none;
}
.tour-toggle[aria-pressed='true'] .tour-toggle-play {
	display: inline;
}
.tour:not(.can-autoplay) .tour-toggle {
	display: none;
}
.tour:not(.is-enhanced) .tour-bar {
	display: none;
}
.tour-panels {
	display: grid;
	gap: var(--s-9);
}
.tour.is-enhanced .tour-panels {
	gap: 0;
}
.tour-panel {
	display: grid;
	grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.6fr);
	gap: var(--s-7);
	align-items: center;
}
.tour-panel:focus-visible {
	border-radius: var(--radius);
}
.tour.is-enhanced .tour-panel {
	grid-area: 1 / 1;
	opacity: 0;
	visibility: hidden;
	transition:
		opacity 0.45s var(--ease),
		visibility 0s linear 0.45s;
}
.tour.is-enhanced .tour-panel.is-active {
	opacity: 1;
	visibility: visible;
	transition-delay: 0s;
}
.tour.is-enhanced .tour-copy,
.tour.is-enhanced .tour-media {
	transition: translate 0.5s var(--ease);
}
.tour.is-enhanced .tour-panel:not(.is-active) .tour-copy {
	translate: 0 12px;
}
.tour.is-enhanced .tour-panel:not(.is-active) .tour-media {
	translate: 24px 0;
}
.tour-kicker {
	font: 700 0.78rem/1.2 var(--font-body);
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--blue-600);
	margin-bottom: var(--s-3);
}
.tour-copy h3 {
	font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.8rem);
	letter-spacing: -0.02em;
	text-wrap: balance;
}
.tour-copy > p {
	color: var(--ink-2);
	font-size: 1.04rem;
}
.tour-copy .checklist {
	margin-top: var(--s-4);
}
@media (max-width: 1023px) {
	.tour-panel {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--s-5);
	}
	.tour-media {
		order: -1;
	}
	.tour-bar {
		justify-content: flex-start;
		margin-bottom: var(--s-5);
	}
	.tour-tabs {
		flex: 1 1 auto;
		min-width: 0;
	}
}
@media (max-width: 480px) {
	.tour-tab {
		padding: 9px 13px 11px;
		font-size: 0.9rem;
	}
	.tour-toggle {
		padding: 8px 10px;
	}
}

/* Module page: one prominent screenshot per section */
.module-media {
	margin-top: var(--s-7);
}
.addon-title {
	margin-top: 56px;
}
.after-steps {
	margin-top: 32px;
}

/* ---------------- Motion (progressive enhancement) ----------------
   main.js adds html.motion only when JS runs AND the visitor has not asked for reduced motion; every hidden state
   below hangs off that class, so content is always visible without JS. `translate` is used for reveals so it never
   fights the `transform` of hover effects. */
html.motion [data-reveal],
html.motion [data-reveal-stagger] > * {
	opacity: 0;
	translate: 0 18px;
	transition:
		opacity 0.6s var(--ease),
		translate 0.6s var(--ease),
		transform 0.25s var(--ease),
		box-shadow 0.25s var(--ease),
		border-color 0.25s var(--ease);
}
html.motion [data-reveal-stagger]:not(.is-done) > * {
	transition-delay: calc(var(--i, 0) * 70ms);
}
html.motion [data-reveal].is-visible,
html.motion [data-reveal-stagger].is-visible > * {
	opacity: 1;
	translate: 0 0;
}

/* Card hover lift (pointer devices only) */
@media (hover: hover) {
	.card,
	.problem,
	.pkg,
	.card-dark,
	.addon-list li {
		transition:
			transform 0.25s var(--ease),
			box-shadow 0.25s var(--ease),
			border-color 0.25s var(--ease),
			opacity 0.6s var(--ease),
			translate 0.6s var(--ease);
	}
	.card:hover,
	.problem:hover,
	.pkg:hover,
	.addon-list li:hover {
		transform: translateY(-3px);
		box-shadow: var(--shadow-md);
		border-color: #c5d4ee;
	}
	.card-dark:hover {
		transform: translateY(-3px);
		border-color: rgba(255, 255, 255, 0.24);
	}
}

/* Hero mockup: gentle float + pointer tilt (desktop, motion only) */
.hero-float {
	will-change: transform;
}
.hero-visual .frame {
	transition: transform 0.5s var(--ease);
}
@media (min-width: 1024px) and (hover: hover) {
	html.motion .hero-float {
		animation: hero-float 2.5s ease-in-out 2 alternate;
	}
	.hero-visual:hover .hero-float,
	.hero-visual:focus-within .hero-float,
	html.lightbox-open .hero-float {
		animation-play-state: paused;
	}
	html.motion .hero-visual .frame {
		transform: perspective(1600px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translate3d(var(--tx, 0px), var(--ty, 0px), 0);
	}
}
@keyframes hero-float {
	from {
		transform: translateY(0);
	}
	to {
		transform: translateY(-10px);
	}
}

/* Implementation steps: sequential reveal + connecting line */
.steps {
	position: relative;
}
.steps li {
	position: relative;
	z-index: 1;
}
@media (min-width: 1101px) {
	.steps::before {
		content: '';
		position: absolute;
		left: 40px;
		right: 40px;
		top: calc(var(--s-5) + 17px);
		height: 2px;
		background: linear-gradient(90deg, var(--navy-700), var(--cyan-400));
		transform-origin: left center;
		z-index: 0;
	}
	html.motion .steps::before {
		transform: scaleX(0);
		transition: transform 0.6s var(--ease) 0.15s;
	}
	html.motion .steps.is-visible::before {
		transform: scaleX(1);
	}
}
html.motion .steps li {
	opacity: 0;
	translate: 0 14px;
	transition:
		opacity 0.5s var(--ease),
		translate 0.5s var(--ease),
		transform 0.25s var(--ease),
		box-shadow 0.25s var(--ease);
	transition-delay: calc(var(--i, 0) * 120ms + 0.1s), calc(var(--i, 0) * 120ms + 0.1s), 0s, 0s;
}
html.motion .steps.is-visible li {
	opacity: 1;
	translate: 0 0;
}

/* FAQ: main.js animates the answer height; this keeps the content clipped while it runs */
.faq .answer.is-animating {
	overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
		scroll-behavior: auto !important;
	}
	.hero-visual .frame {
		transform: none !important;
	}
}
@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}
