/* ============================================================
   BNAILS · FLASH SALE SIGN-UP (/flashsale)
   One idea, one form. Same tokens as the /booking page so the two
   read as one family. Everything is namespaced under .fs.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&display=swap');

.fs {
	--rose: #E1099E;
	--rose-deep: #B30D7C;
	--rose-soft: #F4A8D6;
	--rose-mist: #FAE8EF;
	--rose-paper: #FDF4F8;
	--ink: #25141D;
	--ink-soft: #5A4651;
	--ink-muted: #85727E;
	--ink-faint: #D9CDD4;
	--line: #BFB0B9;
	--ok: #1E8E5A;
	--paper: #FBF7F3;
	--bone: #FFFFFF;
	--gilt: #C8A982;
	--danger: #B3261E;
	--display: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
	--body: 'DM Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);

	font-family: var(--body);
	color: var(--ink);
	min-height: 100vh;
	min-height: 100dvh;
	-webkit-font-smoothing: antialiased;
	-webkit-tap-highlight-color: transparent;
	background:
		radial-gradient(120% 70% at 50% -10%, var(--rose-paper) 0%, rgba(253,244,248,0) 60%),
		radial-gradient(80% 50% at 100% 0%, rgba(200,169,130,0.12) 0%, rgba(200,169,130,0) 55%),
		radial-gradient(60% 45% at 0% 6%, rgba(225,9,158,0.07) 0%, rgba(225,9,158,0) 50%),
		var(--paper);
}

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

.fs__wrap {
	max-width: 1160px;
	margin: 0 auto;
	padding: max(14px, env(safe-area-inset-top)) 16px calc(28px + env(safe-area-inset-bottom));
}

.fs__top { display: flex; align-items: center; gap: 10px; }
.fs__logo { display: block; flex: none; width: 40px; height: 40px; object-fit: contain; }

/* Phone: the form sits right under the headline; the "how it works" part moves below the form. */
.fs__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 16px;
}

.fs__pitch .fs__more { display: none; }
.fs__more--below { margin-top: 22px; }

/* ─── PITCH ─────────────────────────────────────────────── */
.fs__pitch { animation: fsRise .6s var(--ease) both; }

.fs__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--rose-deep);
	background: var(--rose-mist);
	border-radius: 999px;
	padding: 7px 13px;
}

.fs__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--rose);
	box-shadow: 0 0 0 0 rgba(225,9,158,0.55);
	animation: fsPulse 1.8s ease-out infinite;
}

.fs__title {
	font-family: var(--display);
	font-weight: 600;
	margin: 12px 0 0;
	color: var(--ink);
}

.fs__big {
	display: block;
	font-size: clamp(2.9rem, 14.5vw, 6.6rem);
	line-height: 0.98;
	letter-spacing: -0.028em;
}

.fs__rest {
	display: block;
	font-size: clamp(1.5rem, 6.6vw, 2.9rem);
	line-height: 1.12;
	letter-spacing: -0.015em;
	margin-top: 6px;
}

.fs__title em {
	font-style: italic;
	font-weight: 600;
	white-space: nowrap;
	background: linear-gradient(120deg, var(--rose) 10%, var(--rose-deep) 90%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
	padding-right: 0.06em;
}

.fs__lead {
	font-size: 18px;
	line-height: 1.4;
	font-weight: 500;
	color: var(--ink);
	margin: 10px 0 0;
	max-width: 26em;
}

/* what the text looks like, drawn as a message bubble */
.fs__bubble {
	position: relative;
	max-width: 22em;
	padding: 12px 16px 13px;
	font-size: 16px;
	line-height: 1.45;
	color: var(--ink);
	background: var(--bone);
	border: 1px solid rgba(37,20,29,0.1);
	border-radius: 18px 18px 18px 6px;
	box-shadow: 0 14px 28px -22px rgba(37,20,29,0.5);
}

.fs__bubbletag {
	display: block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--rose-deep);
	margin-bottom: 4px;
}

.fs__steps {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	padding: 0;
	margin: 14px 0 0;
	font-size: 15px;
	font-weight: 600;
	color: var(--ink);
}

.fs__steps li { display: inline-flex; align-items: center; gap: 8px; }

.fs__steps span {
	display: inline-grid;
	place-items: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	font-size: 12px;
	font-weight: 700;
	color: var(--rose-deep);
	border: 1.5px solid var(--rose-soft);
	background: var(--bone);
}

/* ─── CARD ──────────────────────────────────────────────── */
.fs__card {
	background: var(--bone);
	border: 1px solid rgba(37,20,29,0.08);
	border-radius: 22px;
	padding: 6px 16px 16px;
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 1px 1px rgba(37,20,29,0.03), 0 26px 50px -30px rgba(179,13,124,0.35);
	animation: fsRise .6s .08s var(--ease) both;
}

/* the headline already says what the form is for; the title only shows beside it on wide screens */
.fs__cardtitle {
	display: none;
	font-family: var(--display);
	font-weight: 600;
	font-size: 1.7rem;
	line-height: 1.15;
	letter-spacing: -0.01em;
	margin: 0 0 2px;
}

.fs__cardtitle--always { display: block; margin: 12px 0 14px; }

.fs__label {
	display: block;
	font-size: 15px;
	font-weight: 600;
	color: var(--ink);
	margin: 12px 0 6px;
}

.fs__label--mid { margin-top: 20px; text-align: left; }

.fs__field {
	display: block;
	width: 100%;
	height: 56px;
	padding: 0 16px;
	font-family: var(--body);
	font-size: 18px;
	color: var(--ink);
	background-color: var(--bone);
	border: 1.5px solid var(--line);
	border-radius: 14px;
	transition: border-color .15s, box-shadow .15s;
	-webkit-appearance: none;
	appearance: none;
}

.fs__field::placeholder { color: #A99AA3; }
.fs__field:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 4px var(--rose-mist); }
.fs__field:disabled { opacity: 0.6; }

/* a tick when the box is right; a red outline only after the button was pressed with the box still empty */
input.fs__field.is-ok {
	padding-right: 46px;
	border-color: var(--ok);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E8E5A' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 22px;
}

.fs__field.is-miss, .fs__chips.is-miss .fs__chip { border-color: var(--danger); background-color: #FFF6F5; }

/* one big button per location: one tap, no dropdown */
.fs__stores { display: grid; gap: 10px; }

.fs__store {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 58px;
	padding: 8px 16px;
	font-family: var(--body);
	font-size: 18px;
	font-weight: 600;
	text-align: left;
	color: var(--ink);
	background: var(--bone);
	border: 1.5px solid var(--line);
	border-radius: 14px;
	cursor: pointer;
	transition: border-color .15s, background .15s, color .15s, transform .1s;
}

.fs__store::after { content: "\203A"; font-size: 24px; line-height: 1; color: var(--rose); margin-left: 12px; }
.fs__store:hover { border-color: var(--rose); }
.fs__store:active { transform: scale(0.985); }
.fs__store:focus-visible { outline: none; border-color: var(--rose); box-shadow: 0 0 0 4px var(--rose-mist); }
.fs__store.is-on { color: #fff; background: var(--rose); border-color: var(--rose); }
.fs__store.is-on::after { content: "\2713"; font-size: 18px; color: #fff; }
.fs__store:disabled { opacity: 0.6; cursor: default; }

.fs__link {
	display: block;
	margin: 14px auto 0;
	padding: 6px 8px;
	font-family: var(--body);
	font-size: 15px;
	font-weight: 600;
	color: var(--ink-soft);
	background: none;
	border: 0;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.fs__chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }

.fs__chip {
	height: 54px;
	font-family: var(--body);
	font-size: 17px;
	font-weight: 600;
	color: var(--ink);
	background: var(--bone);
	border: 1.5px solid var(--line);
	border-radius: 14px;
	cursor: pointer;
	transition: border-color .15s, background .15s, color .15s, transform .1s;
}

.fs__chip:active { transform: scale(0.97); }
.fs__chip:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--rose-mist); border-color: var(--rose); }
.fs__chip.is-on, .fs__chips.is-miss .fs__chip.is-on { color: #fff; background: var(--rose); border-color: var(--rose); }
.fs__chip:disabled { opacity: 0.6; cursor: default; }

/* hidden trap field: people never see it, simple bots fill it */
.fs__trap { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.fs__error {
	margin-top: 14px;
	padding: 11px 14px;
	font-size: 14px;
	font-weight: 500;
	color: var(--danger);
	background: #FCEEEC;
	border-radius: 12px;
}

.fs__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 60px;
	margin-top: 16px;
	padding: 0 20px;
	font-family: var(--body);
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.01em;
	color: #fff;
	text-decoration: none;
	background: linear-gradient(135deg, var(--rose), var(--rose-deep));
	border: 0;
	border-radius: 16px;
	box-shadow: 0 18px 34px -18px rgba(225,9,158,0.6);
	cursor: pointer;
	transition: transform .1s, opacity .15s, box-shadow .15s;
}

.fs__btn:active { transform: scale(0.985); }
.fs__btn:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--rose-soft); }
.fs__btn:disabled { opacity: 0.45; box-shadow: none; cursor: default; }
/* not everything is filled in yet: looks quieter, still answers a press by showing what is missing */
.fs__btn.is-off { opacity: 0.55; box-shadow: none; }

.fs__assure {
	text-align: center;
	font-size: 14px;
	font-weight: 600;
	color: var(--ink-soft);
	margin: 10px 0 0;
}

.fs__btn--ghost {
	color: var(--rose-deep);
	background: var(--rose-mist);
	box-shadow: none;
}

/* the agreement sits right above the button it belongs to */
.fs__fine {
	font-size: 12px;
	line-height: 1.45;
	color: var(--ink-soft);
	margin: 14px 0 0;
}

.fs__fine + .fs__btn { margin-top: 10px; }

.fs__fine a, .fs__back { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 2px; }

/* ─── DONE ──────────────────────────────────────────────── */
.fs__done { text-align: center; padding: 14px 4px 6px; }

.fs__done h2 {
	font-family: var(--display);
	font-weight: 600;
	font-size: 1.7rem;
	line-height: 1.12;
	letter-spacing: -0.012em;
	margin: 14px 0 0;
	overflow-wrap: anywhere;
}

.fs__done p { font-size: 16px; line-height: 1.5; color: var(--ink-soft); margin: 10px 0 0; }

.fs__check {
	display: inline-grid;
	place-items: center;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	color: #fff;
	background: linear-gradient(135deg, var(--rose), var(--rose-deep));
	box-shadow: 0 16px 30px -14px rgba(225,9,158,0.6);
	animation: fsPop .45s var(--ease) both;
}

.fs__check svg { width: 30px; height: 30px; }
.fs__back { display: inline-block; margin-top: 16px; font-size: 14px; }

.fs__foot {
	text-align: center;
	font-size: 12.5px;
	color: var(--ink-muted);
	margin: 22px 0 0;
}

/* ─── WIDE SCREENS ──────────────────────────────────────── */
@media (min-width: 900px) {
	.fs__wrap { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; padding: 28px 40px 32px; }
	.fs__grid { grid-template-columns: minmax(0, 1.1fr) minmax(400px, 460px); gap: 64px; align-items: center; }
	.fs__logo { width: 48px; height: 48px; }
	.fs__title { margin-top: 22px; }
	.fs__lead { font-size: 22px; margin-top: 16px; }
	.fs__pitch .fs__more { display: block; margin-top: 26px; }
	.fs__bubble { font-size: 17px; }
	.fs__steps { margin-top: 20px; font-size: 16px; }
	.fs__more--below { display: none; }
	.fs__card { padding: 30px 30px 24px; }
	.fs__cardtitle { display: block; }
	.fs__cardtitle--always { margin-top: 0; }
	.fs__label { margin-top: 14px; }
	.fs__foot { margin-top: 30px; }
}

@keyframes fsRise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fsPop { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: none; } }
@keyframes fsPulse { 0% { box-shadow: 0 0 0 0 rgba(225,9,158,0.55); } 100% { box-shadow: 0 0 0 9px rgba(225,9,158,0); } }

@media (prefers-reduced-motion: reduce) {
	.fs__pitch, .fs__card, .fs__check, .fs__dot { animation: none; }
}
