@font-face {
	font-family: "Ekstra";
	src: url("../fonts/Ekstra-Regular.woff2") format("woff2"),
		url("../fonts/Ekstra-Regular.woff") format("woff");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Ekstra";
	src: url("../fonts/Ekstra-Bold.woff2") format("woff2"),
		url("../fonts/Ekstra-Bold.woff") format("woff");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

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

html {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

body.in-salon-signup {
	margin: 0;
	min-height: 100vh;
	min-height: 100dvh;
	font-family: "Ekstra", Helvetica, Arial, sans-serif;
	font-weight: 400;
	color: #000;
	background:
		radial-gradient(ellipse 80% 50% at 50% -10%, rgba(167, 213, 255, 0.35), transparent 55%),
		linear-gradient(180deg, #fafbfc 0%, #f3f5f4 100%);
}

.iss {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	min-height: 100dvh;
	padding: 2rem 1.25rem;
}

.iss__inner {
	width: 100%;
	max-width: 26rem;
	text-align: center;
}

.iss__logo {
	display: block;
	width: auto;
	max-width: 11rem;
	height: auto;
	margin: 0 auto 2.5rem;
}

.iss__heading {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.5rem 0.65rem;
	margin: 0 0 0.75rem;
	font-size: clamp(1.35rem, 4.5vw, 1.75rem);
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: 0;
}

/* Match /salons/ rotated salon-name strip treatment */
.iss .stripText {
	color: #fff;
	background-color: #fec6ae;
	display: inline-flex;
	align-items: center;
	line-height: 1;
	position: relative;
	padding: 0.2rem 0.5rem 0.4rem;
	margin: 0;
	max-width: fit-content;
	height: fit-content;
	transform: rotate(-2deg);
	z-index: 2;
	font-size: 1.4rem;
	letter-spacing: 0.0;
}

.dalston .stripText {
	background-color: #fb9a6f !important;
	color: #fff;
}

.brixton .stripText {
	background-color: #77eb9a !important;
	color: #fff;
}

.crouch-hill .stripText {
	background-color: #4f8585 !important;
	color: #fff;
}

.clapton .stripText {
	background-color: #cda7a1 !important;
	color: #fff;
}

.east-village .stripText {
	background-color: #b2a295 !important;
	color: #fff;
}

.brockley .stripText {
	background-color: #f5b24f !important;
}

.portobello .stripText {
	background-color: #baccde !important;
}

.peckham .stripText {
	background-color: #a7d5ff;
}

.greenwich .stripText {
	background-color: #ecd1b1 !important;
	color: #fff;
}

.streatham .stripText {
	background-color: #334269 !important;
	color: #fff;
}

.leyton .stripText {
	background-color: #ae85af !important;
	color: #fff;
}

.woolwich .stripText {
	background-color: #ffcf3d !important;
	color: #000;
}

.crystal-palace .stripText {
	background-color: #af6d60 !important;
	color: #fff;
}

.forest-hill .stripText {
	background-color: #b05d1f !important;
	color: #fff;
}

.hammersmith .stripText {
	background-color: #71151a !important;
	color: #fff;
}

.battersea .stripText {
	background-color: #528256 !important;
	color: #fff;
}

.blackheath .stripText {
	background-color: #e1684f !important;
	color: #fff;
}

.copenhagen .stripText,
.kobenhavn .stripText {
	background-color: #c8102e !important;
	color: #fff;
}

.walthamstow .stripText {
	background-color: #71afe8 !important;
	color: #fff;
}

.blue-tit .stripText {
	background-color: #a7d5ff !important;
	color: #000;
}

.iss__sub {
	margin: 0 0 2rem;
	font-size: 0.95rem;
	line-height: 1.5;
	letter-spacing: 0.02em;
	color: #222;
}

.iss__form {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	text-align: left;
}

.iss__label {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.iss__input {
	width: 100%;
	min-height: 3.25rem;
	padding: 0.85rem 1rem;
	border: 1px solid #cfd4d2;
	border-radius: 8px;
	background: #fff;
	color: #000;
	font-family: inherit;
	font-size: 1.05rem;
	line-height: 1.3;
	appearance: none;
	-webkit-appearance: none;
}

.iss__input::placeholder {
	color: #8a9190;
}

.iss__input:focus {
	outline: 2px solid #a7d5ff;
	outline-offset: 2px;
	border-color: #000;
}

.iss__consent {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	margin-top: 0.15rem;
	cursor: pointer;
	text-align: left;
}

.iss__consent-input {
	flex-shrink: 0;
	width: 1.15rem;
	height: 1.15rem;
	margin-top: 0.15rem;
	accent-color: #000;
	cursor: pointer;
}

.iss__consent-text {
	font-size: 0.8rem;
	line-height: 1.45;
	letter-spacing: 0.01em;
	color: #333;
	text-transform: none;
}

.iss__consent-link {
	color: #000;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.iss__consent-link:hover {
	color: #333;
}

/* Main-site .button / .button--green */
.iss .button {
	background: #a7d5ff;
	border: 0;
	border-radius: 8px;
	color: #000;
	cursor: pointer;
	display: inline-block;
	font-family: inherit;
	font-size: 1.125rem;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1;
	margin: 0.35rem 0 0;
	min-height: 3.25rem;
	padding: 0.8rem 1rem 0.95rem;
	position: relative;
	text-align: center;
	text-decoration: none;
	transition: all 0.4s ease;
	width: 100%;
	z-index: 10;
}

.iss .button:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #a7d5ff;
	border-radius: inherit;
	z-index: -1;
	transition: all 0.4s ease;
}

.iss .button--green {
	background: #8cf9ad;
	color: #000;
}

.iss .button--green:before {
	background: #8cf9ad;
}

.iss .button--green:hover:not(:disabled),
.iss .button--green:hover:not(:disabled):before {
	background-color: #43f579;
}

.iss .button:focus-visible {
	outline: 2px solid #000;
	outline-offset: 3px;
}

.iss .button:disabled {
	opacity: 0.55;
	cursor: wait;
}

.iss__feedback {
	margin: 0.25rem 0 0;
	font-size: 0.85rem;
	line-height: 1.4;
	color: #8b1e1e;
	text-align: center;
}

.iss__result {
	animation: iss-fade-in 0.35s ease;
}

.iss__result-title {
	margin: 0 0 1rem;
	font-size: clamp(1.75rem, 6vw, 2.35rem);
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.15;
}

.iss__result-copy {
	margin: 0 0 1.75rem;
	font-size: 1rem;
	line-height: 1.55;
	letter-spacing: 0.02em;
	color: #222;
}

.iss__badge {
	display: inline-block;
	padding: 0.85rem 1.1rem;
	border: 2px solid #000;
	background: rgba(167, 213, 255, 0.45);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	line-height: 1.4;
}

@keyframes iss-fade-in {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.iss .button,
	.iss .button:before,
	.iss__result {
		transition: none;
		animation: none;
	}

	.iss .stripText {
		transform: none;
	}
}
