/* ============================================================
   Briquette — Waiting Landing Page
   ============================================================ */

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

:root {
	--accent: #fa613b;
	--accent-light: #fee9e2;
	--accent-hover: #d9552f;
	--bg: #fffef9;
	--surface: #ffffff;
	--border: #e8e5e0;
	--text: #1c1917;
	--text-muted: #6b6b6b;
	--text-faint: #a8a29e;
	--radius: 14px;
	--radius-sm: 8px;
	--shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
	--shadow-md: 0 4px 20px rgba(0, 0, 0, 0.07);
	--shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.1);
	--ease: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
	font-size: 16px;
}

body {
	font-family:
		"Inter",
		-apple-system,
		BlinkMacSystemFont,
		sans-serif;
	background: var(--bg);
	color: var(--text);
	line-height: 1.48;
	-webkit-font-smoothing: antialiased;
	min-height: 100dvh;
}

/* ─── PAGE ─── */
.page {
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
	position: relative;
	overflow: hidden;
}

/* ─── BACKGROUNDS ─── */
.bg-glow {
	position: absolute;
	top: -180px;
	right: -100px;
	width: 700px;
	height: 700px;
	background: radial-gradient(
		circle,
		rgba(250, 97, 59, 0.09) 0%,
		transparent 65%
	);
	pointer-events: none;
	z-index: 0;
}

.bg-glow--2 {
	top: auto;
	bottom: -300px;
	right: auto;
	left: -200px;
	width: 600px;
	height: 600px;
	background: radial-gradient(
		circle,
		rgba(250, 97, 59, 0.05) 0%,
		transparent 65%
	);
}

.bg-grid {
	display: none;
}

/* ─── NAV ─── */
.nav {
	position: relative;
	z-index: 10;
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
	padding: 28px 40px;
}

.logo {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
}

.logo-wordmark {
	height: 32px;
	width: auto;
}

/* ─── HERO ─── */
.hero {
	position: relative;
	z-index: 1;
	flex: 1;
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	gap: 64px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 40px 60px;
	width: 100%;
}

.hero-content {
	max-width: 540px;
	animation: fadeUp 0.7s var(--ease) both;
}

@keyframes fadeUp {
	from {
		opacity: 0;
		transform: translateY(24px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ─── BADGE ─── */
.badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--accent-light);
	color: var(--accent);
	font-size: 13px;
	font-weight: 600;
	padding: 7px 16px;
	border-radius: 50px;
	margin-bottom: 28px;
}

.badge i {
	font-size: 15px;
}

/* ─── HEADING ─── */
h1 {
	font-family: "DM Serif Display", serif;
	font-size: clamp(36px, 4.5vw, 56px);
	font-weight: 400;
	line-height: 1.12;
	letter-spacing: -0.01em;
	margin-bottom: 20px;
}

h1 em {
	font-style: italic;
	background: linear-gradient(135deg, var(--accent), #f5a623);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

/* ─── SUBTITLE ─── */
.subtitle {
	font-size: 17px;
	color: var(--text-muted);
	margin-bottom: 36px;
	max-width: 460px;
}

/* ─── WAITLIST ─── */
.waitlist {
	margin-bottom: 12px;
}

.input-group {
	display: flex;
	align-items: center;
	gap: 8px;
	background: var(--surface);
	border: 1.5px solid var(--border);
	border-radius: 50px;
	padding: 5px 5px 5px 18px;
	transition:
		border-color 0.2s var(--ease),
		box-shadow 0.2s var(--ease);
	box-shadow: var(--shadow-sm);
}

.input-group:focus-within {
	border-color: var(--accent);
	box-shadow:
		0 0 0 3px rgba(250, 97, 59, 0.1),
		var(--shadow-sm);
}

.input-icon {
	color: var(--text-faint);
	font-size: 18px;
	flex-shrink: 0;
}

.input-group input {
	flex: 1;
	border: none;
	outline: none;
	background: transparent;
	font-family: inherit;
	font-size: 15px;
	color: var(--text);
	min-width: 0;
	padding: 6px 0;
}

.input-group input::placeholder {
	color: var(--text-faint);
}

/* ─── BUTTON ─── */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	border: none;
	cursor: pointer;
	font-family: inherit;
	white-space: nowrap;
	transition: all 0.2s var(--ease);
}

.btn-primary {
	background: var(--accent);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	padding: 10px 20px;
	border-radius: 50px;
}

.btn-primary:hover {
	background: var(--accent-hover);
	transform: translateY(-1px);
	box-shadow: 0 6px 20px rgba(250, 97, 59, 0.3);
}

.btn-primary:active {
	transform: translateY(0);
	box-shadow: none;
}

.btn-primary i {
	font-size: 16px;
	transition: transform 0.2s var(--ease);
}

.btn-primary:hover i {
	transform: translateX(3px);
}

/* ─── FORM NOTE ─── */
.form-note {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 12.5px;
	color: var(--text-faint);
	margin-top: 12px;
	padding-left: 4px;
}

.form-note i {
	font-size: 13px;
}

/* ─── SUCCESS ─── */
.success-msg {
	display: none;
	align-items: center;
	gap: 10px;
	background: #ecfdf5;
	color: #166534;
	font-size: 15px;
	font-weight: 600;
	padding: 14px 24px;
	border-radius: 14px;
	border: 1px solid #bbf7d0;
	animation: fadeUp 0.4s var(--ease) both;
}

.success-msg.visible {
	display: flex;
}

.success-msg i {
	font-size: 20px;
	color: #22c55e;
}

/* ─── ERROR ─── */
.error-msg {
	display: none;
	font-size: 13px;
	color: var(--accent);
	margin-top: 10px;
	padding-left: 4px;
}

.error-msg.visible {
	display: block;
}

/* ─── FEATURES ─── */
.features {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 40px;
}

.pill {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: var(--surface);
	border: 1px solid var(--border);
	padding: 8px 14px;
	border-radius: 50px;
	font-size: 13px;
	font-weight: 500;
	color: var(--text-muted);
	transition: all 0.2s var(--ease);
}

.pill i {
	font-size: 15px;
	color: var(--accent);
}

.pill:hover {
	border-color: rgba(250, 97, 59, 0.3);
	color: var(--text);
	background: var(--accent-light);
	transform: translateY(-1px);
}

/* ─── ILLUSTRATION ─── */
.hero-illustration {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: flex-end;
	animation: fadeUp 0.7s var(--ease) 0.15s both;
}

.illu-wrapper {
	position: relative;
	width: 360px;
	max-width: 100%;
}

.illu-wrapper img {
	width: 100%;
	height: auto;
	display: block;
	filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.06));
}

/* ─── FLOAT CARDS ─── */
.float-card {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 12px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 12px 16px;
	box-shadow: var(--shadow-md);
	white-space: nowrap;
	animation: floatIn 0.6s var(--ease) both;
}

.float-card--1 {
	top: 15%;
	right: -20px;
	animation-delay: 0.5s;
}

.float-card--2 {
	bottom: 20%;
	left: -30px;
	animation-delay: 0.7s;
}

@keyframes floatIn {
	from {
		opacity: 0;
		transform: translateY(12px) scale(0.96);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.float-card-icon {
	font-size: 20px;
	color: var(--accent);
	flex-shrink: 0;
}

.float-card strong {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: var(--text);
}

.float-card span {
	display: block;
	font-size: 11.5px;
	color: var(--text-faint);
}

/* ─── FOOTER ─── */
.footer {
	position: relative;
	z-index: 1;
	text-align: center;
	padding: 24px 40px;
	font-size: 13px;
	color: var(--text-faint);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
	.hero {
		grid-template-columns: 1fr;
		text-align: center;
		padding: 20px 24px 40px;
		gap: 48px;
	}

	.hero-content {
		max-width: 520px;
		margin: 0 auto;
	}

	.subtitle {
		margin-left: auto;
		margin-right: auto;
	}

	.features {
		justify-content: center;
	}

	.hero-illustration {
		order: -1;
	}

	.illu-wrapper {
		width: 260px;
	}

	.float-card--1 {
		right: 0;
		top: 5%;
	}

	.float-card--2 {
		left: 0;
		bottom: 15%;
	}
}

@media (max-width: 560px) {
	.nav {
		padding: 20px 20px;
	}

	.hero {
		padding: 10px 20px 32px;
	}

	.input-group {
		flex-direction: column;
		border-radius: var(--radius);
		padding: 14px;
		gap: 10px;
	}

	.input-icon {
		display: none;
	}

	.input-group input {
		text-align: center;
		width: 100%;
	}

	.btn-primary {
		width: 100%;
		padding: 12px 20px;
		border-radius: 50px;
		justify-content: center;
	}

	.pill {
		font-size: 12px;
		padding: 6px 12px;
	}

	.illu-wrapper {
		width: 200px;
	}

	.float-card {
		padding: 10px 12px;
		border-radius: 10px;
		gap: 8px;
	}

	.float-card strong {
		font-size: 12px;
	}
	.float-card span {
		font-size: 10.5px;
	}
	.float-card-icon {
		font-size: 17px;
	}

	.float-card--1 {
		right: -10px;
	}
	.float-card--2 {
		left: -10px;
	}
}
