/* Super Speedy Contact - dark, on-brand enquiry form.
   Uses the site's Velocity theme tokens where present, with light-mode-safe
   fallbacks so the form is legible on any background. */

.ssp-contact {
	max-width: 820px;
	/* Top margin separates the form from whatever copy introduces it; the top
	   padding is lighter than the other three because the form's own heading
	   sits directly under it and was reading as a double gap. */
	margin: 48px auto 0;
	padding: 20px 34px 34px;
	border-radius: 16px;
	background: var(--surface-container, #10132a);
	border: 1px solid var(--outline-variant, rgba(168, 132, 255, 0.22));
	color: var(--on-surface, #e8e9f2);
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
	font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* "(optional)" next to a field label - same line, quieter than the label. */
.ssp-contact__opt {
	font-weight: 400;
	color: var(--on-surface-variant, rgba(232, 233, 242, 0.55));
}

/* width="full" - fills the container instead of capping at 820px. The margin
   auto is kept harmless rather than removed, so the only thing that changes is
   the cap. Rows go three-up above 1100px because two inputs stretched across a
   wide page look worse than the cap ever did. */
.ssp-contact--full {
	max-width: none;
}

@media (min-width: 1100px) {
	.ssp-contact--full .ssp-contact__row {
		gap: 18px;
	}
}

.ssp-contact__heading {
	margin: 0 0 6px;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--on-surface, #ffffff);
}

.ssp-contact__intro {
	margin: 0 0 20px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--on-surface-variant, rgba(232, 233, 242, 0.7));
}

.ssp-contact__row {
	display: flex;
	gap: 14px;
}

.ssp-contact__row > label {
	flex: 1 1 0;
}

.ssp-contact label {
	display: block;
	margin-bottom: 14px;
	font-size: 13px;
	font-weight: 600;
	color: var(--on-surface-variant, rgba(232, 233, 242, 0.85));
}

.ssp-contact input,
.ssp-contact select,
.ssp-contact textarea {
	display: block;
	width: 100%;
	margin-top: 6px;
	padding: 10px 12px;
	box-sizing: border-box;
	font-size: 15px;
	font-weight: 400;
	border-radius: 10px;
	border: 1px solid var(--outline-variant, rgba(255, 255, 255, 0.14));
	background: var(--surface-container-low, rgba(255, 255, 255, 0.04));
	color: var(--on-surface, #e8e9f2);
}

.ssp-contact input:focus,
.ssp-contact select:focus,
.ssp-contact textarea:focus {
	outline: 2px solid var(--primary, #a884ff);
	outline-offset: 2px;
	border-color: var(--primary, #a884ff);
	box-shadow: 0 0 0 4px rgba(168, 132, 255, 0.35);
}

.ssp-contact textarea {
	resize: vertical;
	min-height: 96px;
}

.ssp-contact__submit {
	margin-top: 4px;
	padding: 12px 26px;
	font-size: 15px;
	font-weight: 700;
	color: #ffffff;
	border: none;
	border-radius: 9999px;
	cursor: pointer;
	background: linear-gradient(135deg, #a884ff, #6a1fb0);
	box-shadow: 0 6px 20px rgba(120, 60, 200, 0.4);
	transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.ssp-contact__submit:hover {
	transform: translateY(-1px);
	box-shadow: 0 10px 28px rgba(120, 60, 200, 0.5);
}

.ssp-contact__submit[disabled] {
	opacity: 0.6;
	cursor: default;
	transform: none;
}

/* Marketing opt-in: a normal-weight line with the box beside the text, not a
   full-width field. Never pre-ticked. */
.ssp-contact .ssp-contact__check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-weight: 400;
	font-size: 14px;
	line-height: 1.4;
}

.ssp-contact .ssp-contact__check input {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin: 1px 0 0;
	padding: 0;
	accent-color: var(--primary, #a884ff);
}

.ssp-contact__privacy {
	margin: 12px 0 0;
	font-size: 12px;
	line-height: 1.5;
	color: var(--on-surface-variant, rgba(232, 233, 242, 0.7));
}

.ssp-contact__privacy a {
	color: var(--primary, #a884ff);
	text-decoration: underline;
}

.ssp-contact__status {
	margin: 14px 0 0;
	font-size: 14px;
	min-height: 1.2em;
}

.ssp-contact__status.is-ok { color: #4ade80; }
.ssp-contact__status.is-error { color: #f87171; }

/* Honeypot - hidden from people, present for bots. */
.ssp-contact__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

@media (max-width: 560px) {
	.ssp-contact__row { flex-direction: column; gap: 0; }
}
