:root {
	--brand: #0066B2;
	--brand-deep: #004f8a;
	--ink: #0f172a;
	--muted: #64748b;
	--line: #e2e8f0;
	--page: #f5f8fc;
	--card: #ffffff;
	--ok: #15803d;
	--danger: #dc2626;
	--radius: 18px;
	--shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: "Heebo", Arial, sans-serif;
	color: var(--ink);
	background:
		radial-gradient(900px 420px at 100% -10%, rgba(0, 102, 178, 0.14), transparent 55%),
		radial-gradient(700px 360px at 0% 0%, rgba(15, 160, 221, 0.1), transparent 50%),
		var(--page);
	line-height: 1.65;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { width: min(1100px, calc(100% - 32px)); margin: 0 auto; }
.narrow { width: min(760px, calc(100% - 32px)); }

.topbar {
	position: sticky;
	top: 0;
	z-index: 20;
	backdrop-filter: blur(10px);
	background: rgba(245, 248, 252, 0.9);
	border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}
.topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 0;
}
.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 800;
	color: var(--ink);
	text-decoration: none;
}
.brand img { border-radius: 10px; }
.topbar nav { display: flex; gap: 14px; align-items: center; }
.topbar nav a { font-weight: 600; color: var(--muted); text-decoration: none; }

.hero { padding: 48px 0 28px; }
.hero-grid {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 28px;
	align-items: start;
}
.eyebrow {
	display: inline-block;
	margin: 0 0 10px;
	padding: 6px 12px;
	border-radius: 999px;
	background: #e8f3fb;
	color: var(--brand-deep);
	font-size: 13px;
	font-weight: 700;
}
.hero h1 {
	margin: 0 0 12px;
	font-size: clamp(1.8rem, 4vw, 2.6rem);
	line-height: 1.2;
	letter-spacing: -0.02em;
}
.lead { color: var(--muted); font-size: 1.05rem; margin: 0 0 20px; max-width: 36em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.trust { margin: 0; padding: 0; list-style: none; color: var(--muted); }
.trust li { margin: 6px 0; padding-right: 18px; position: relative; }
.trust li::before {
	content: "✓";
	position: absolute;
	right: 0;
	color: var(--ok);
	font-weight: 800;
}

.hero-card, .cards article, .wizard-card, .success-card {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}
.hero-card { padding: 22px; }
.hero-card h2 { margin: 0 0 12px; font-size: 1.15rem; }
.hero-card ol { margin: 0; padding: 0 18px 0 0; color: var(--muted); }
.hero-card li { margin: 8px 0; }

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 1px solid transparent;
	border-radius: 12px;
	padding: 12px 18px;
	font-weight: 700;
	cursor: pointer;
	text-decoration: none !important;
}
.btn-sm { padding: 8px 12px; font-size: 14px; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: #cbd5e1; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }

.section { padding: 42px 0; }
.section-alt { background: rgba(255,255,255,0.55); border-block: 1px solid var(--line); }
.section h2 { margin: 0 0 8px; font-size: 1.6rem; }
.section-lead { margin: 0 0 22px; color: var(--muted); }
.cards {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
}
.cards article { padding: 18px; }
.cards h3 { margin: 0 0 8px; font-size: 1.05rem; }
.cards p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.steps {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 12px;
	margin-bottom: 22px;
}
.steps div {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 16px;
}
.steps span {
	display: inline-grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 8px;
	background: #e8f3fb;
	color: var(--brand);
	font-weight: 800;
	margin-bottom: 8px;
}
.steps h3 { margin: 0 0 6px; font-size: 1rem; }
.steps p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.center { text-align: center; }

details {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 12px 14px;
	margin-bottom: 10px;
}
summary { cursor: pointer; font-weight: 700; }
details p { margin: 10px 0 0; color: var(--muted); }

.footer {
	border-top: 1px solid var(--line);
	padding: 22px 0 30px;
	color: var(--muted);
	font-size: 14px;
}
.footer-inner {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}
.footer a { margin-left: 12px; color: var(--muted); }

/* Wizard */
.wizard-shell { padding: 28px 0 48px; }
.wizard-card { padding: 22px; }
.progress {
	display: flex;
	gap: 8px;
	margin-bottom: 18px;
	flex-wrap: wrap;
}
.progress span {
	flex: 1;
	min-width: 70px;
	text-align: center;
	padding: 8px 6px;
	border-radius: 999px;
	background: #eef2f7;
	color: var(--muted);
	font-size: 12px;
	font-weight: 700;
}
.progress span b { font-weight: 800; }
.progress span b::after { content: "."; }
.progress span i { font-style: normal; margin-inline-start: 4px; }
.progress span.active {
	background: #e8f3fb;
	color: var(--brand-deep);
}
.progress span.done {
	background: #dcfce7;
	color: var(--ok);
}

.step-pane { display: none; }
.step-pane.active { display: block; }
.grid-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}
.field { margin-bottom: 12px; }
.field label {
	display: block;
	font-size: 13px;
	font-weight: 700;
	color: #475569;
	margin-bottom: 6px;
}
.field label.required { color: #dc2626; }
.req {
	color: #dc2626;
	font-weight: 800;
	margin-inline-start: 3px;
}
.field input, .field select, .field textarea {
	width: 100%;
	border: 1px solid #cbd5e1;
	border-radius: 12px;
	padding: 11px 12px;
	font: inherit;
	background: #fff;
}
.field input:required, .field select:required, .field textarea:required {
	border-color: #fca5a5;
}
.field input:required:focus, .field select:required:focus, .field textarea:required:focus {
	border-color: var(--brand);
}
.field textarea {
	resize: vertical;
	min-height: 84px;
}
.field input:focus, .field select:focus, .field textarea:focus {
	outline: 2px solid rgba(0, 102, 178, 0.25);
	border-color: var(--brand);
}
.cf-turnstile {
	display: flex;
	justify-content: flex-start;
	margin-top: 4px;
}
.modules {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}
.module {
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 12px;
	background: #f8fafc;
}
.module strong { display: block; margin-bottom: 4px; }
.module small { color: var(--muted); }
.actions {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	margin-top: 18px;
	flex-wrap: wrap;
}
.alert {
	display: none;
	margin: 12px 0;
	padding: 12px 14px;
	border-radius: 12px;
	font-weight: 600;
}
.alert.error { display: block; background: #fef2f2; color: var(--danger); border: 1px solid #fecaca; }
.alert.ok { display: block; background: #f0fdf4; color: var(--ok); border: 1px solid #bbf7d0; }
/* Honeypot: hidden without pushing the RTL document sideways */
.hp {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	opacity: 0;
}

.success-card { padding: 28px; text-align: center; }
.success-card h1 { margin: 8px 0 10px; }
.success-card p { color: var(--muted); }
.creds {
	text-align: right;
	margin: 18px 0;
	background: #f8fafc;
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 14px;
}
.creds div { margin: 6px 0; }

@media (max-width: 1100px) {
	.steps { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
	.hero-grid, .cards, .steps, .grid-2, .modules { grid-template-columns: 1fr; }
	.topbar nav a:not(.btn):not(.nav-keep) { display: none; }
}

@media (max-width: 640px) {
	.wrap { width: calc(100% - 24px); }
	.narrow { width: calc(100% - 24px); }

	.wizard-shell { padding: 18px 0 36px; }
	.wizard-card { padding: 16px; border-radius: 14px; }
	.wizard-card h1 { font-size: 1.25rem !important; }

	.progress { gap: 6px; }
	.progress span {
		flex: 1 1 0;
		min-width: 0;
		padding: 7px 4px;
		font-size: 11px;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	/* iOS zooms the page when a focused field is under 16px */
	.field input, .field select, .field textarea { font-size: 16px; }
	.field textarea { min-height: 96px; }

	.actions { gap: 8px; }
	.actions .btn { flex: 1 1 100%; }

	.success-card { padding: 20px; }
	.cta-row .btn { flex: 1 1 100%; }
}

@media (max-width: 420px) {
	.progress { gap: 4px; }
	.progress span { font-size: 10px; padding: 6px 3px; }
}

@media (max-width: 360px) {
	/* Not enough room for the labels — keep the step numbers only */
	.progress span i { display: none; }
	.progress span b::after { content: ""; }
	.progress span { font-size: 12px; }

	/* Turnstile renders at a fixed 300px width */
	.cf-turnstile {
		overflow: hidden;
	}
	.cf-turnstile > * {
		transform: scale(0.86);
		transform-origin: top right;
	}
}
