:root {
	--bg: #fff7fb;
	--surface: #ffffff;
	--text: #33202a;
	--muted: #856b78;
	--line: #f1cedd;
	--pink: #ef6f9f;
	--rose: #d94b7d;
	--peach: #ffd8bd;
	--lavender: #eee4ff;
	--mint: #dff8ee;
	--shadow: 0 28px 80px rgba(152, 50, 91, 0.18);
	--radius: 8px;
}

* {
	box-sizing: border-box;
}

html {
	min-height: 100%;
}

body {
	min-height: 100vh;
	margin: 0;
	font-family: ui-rounded, "SF Pro Rounded", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	background:
		radial-gradient(circle at 12% 12%, var(--peach), transparent 28%),
		radial-gradient(circle at 88% 18%, var(--lavender), transparent 26%),
		radial-gradient(circle at 50% 92%, var(--mint), transparent 28%),
		var(--bg);
	color: var(--text);
	line-height: 1.6;
}

button,
input,
select {
	font: inherit;
}

button {
	cursor: pointer;
}

a {
	color: inherit;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
a:focus-visible {
	outline: 3px solid var(--pink);
	outline-offset: 3px;
}

.date-shell {
	min-height: 100vh;
	display: grid;
	place-items: center;
	padding: 24px;
}

.invite-card {
	position: relative;
	width: min(100%, 720px);
	min-height: 560px;
	padding: 34px;
	border: 1px solid rgba(241, 206, 221, 0.88);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.9);
	box-shadow: var(--shadow);
	backdrop-filter: blur(16px);
}

.home-link {
	display: inline-flex;
	margin-bottom: 22px;
	color: var(--rose);
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
}

.progress {
	display: flex;
	gap: 8px;
	margin-bottom: 34px;
}

.progress-dot {
	width: 34px;
	height: 8px;
	border-radius: 999px;
	background: #f6dce8;
}

.progress-dot.active {
	background: var(--pink);
}

.js .step {
	display: none;
}

.step.active {
	display: block;
	animation: float-in 260ms ease;
}

.kicker {
	margin: 0 0 10px;
	color: var(--rose);
	font-size: 13px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0;
}

h1,
h2,
p {
	margin-top: 0;
}

h1,
h2 {
	max-width: 620px;
	margin-bottom: 14px;
	font-size: clamp(34px, 7vw, 58px);
	line-height: 1.02;
	letter-spacing: 0;
}

h2 {
	font-size: clamp(30px, 5vw, 46px);
}

.lede {
	max-width: 560px;
	margin-bottom: 28px;
	color: var(--muted);
	font-size: 18px;
}

.choice-grid,
.field-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.choice {
	min-height: 74px;
	padding: 18px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fffafd;
	color: var(--text);
	font-weight: 900;
	text-align: left;
	box-shadow: 0 10px 28px rgba(152, 50, 91, 0.08);
	transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.choice:hover,
.choice.selected {
	transform: translateY(-2px);
	border-color: var(--pink);
	background: #fff1f7;
}

.choice.romantic {
	background: linear-gradient(135deg, #fff1f7, #fff8ee);
}

.choice.quiet {
	color: var(--muted);
}

label {
	display: grid;
	gap: 8px;
	color: var(--muted);
	font-size: 13px;
	font-weight: 900;
	text-transform: uppercase;
}

label.wide {
	grid-column: 1 / -1;
}

input,
select {
	width: 100%;
	min-height: 52px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #fffafd;
	color: var(--text);
	padding: 12px 14px;
}

.step-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.main-button,
.soft-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 13px 18px;
	border-radius: var(--radius);
	border: 1px solid var(--pink);
	font-weight: 900;
	text-decoration: none;
}

.main-button {
	background: var(--pink);
	color: #ffffff;
}

.main-button:hover {
	background: var(--rose);
}

.soft-button {
	background: #ffffff;
	color: var(--rose);
}

.status {
	min-height: 24px;
	color: var(--muted);
	font-weight: 800;
}

.status.error {
	color: #b42352;
}

.link-button {
	width: fit-content;
}

@keyframes float-in {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.step.active {
		animation: none;
	}

	.choice {
		transition: none;
	}
}

@media (max-width: 640px) {
	.date-shell {
		padding: 14px;
	}

	.invite-card {
		min-height: auto;
		padding: 22px;
	}

	.choice-grid,
	.field-grid {
		grid-template-columns: 1fr;
	}

	.step-actions,
	.main-button,
	.soft-button {
		width: 100%;
	}
}
