/* Hexbound front-end styles — ritual-object palette per build plan §10 */

.hexbound {
	--hb-ink: #1C1A1E;
	--hb-parchment: #EDE6D6;
	--hb-ember: #B5452B;
	--hb-frost: #6E8B8B;
	--hb-thread: #C9A227;

	--hb-font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
	--hb-font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--hb-font-mono: 'IBM Plex Mono', 'Courier New', monospace;

	color: var(--hb-ink);
	font-family: var(--hb-font-body);
	font-size: 16px;
	line-height: 1.6;
	max-width: 960px;
	margin: 0 auto;
	padding: 0 20px;
	box-sizing: border-box;
}

.hexbound * {
	box-sizing: border-box;
}

.hexbound h1,
.hexbound h2,
.hexbound h3 {
	font-family: var(--hb-font-display);
	color: var(--hb-ink);
	margin: 0 0 12px;
}

.hexbound h1 {
	font-size: 44px;
	line-height: 1.15;
}

.hexbound h2 {
	font-size: 28px;
	margin-top: 40px;
}

.hexbound h3 {
	font-size: 20px;
}

.hexbound p {
	margin: 0 0 16px;
}

/* Hero */

.hexbound-hero {
	text-align: center;
	padding: 64px 0 40px;
	border-bottom: 1px solid var(--hb-thread);
}

.hexbound-hero-tagline {
	font-size: 18px;
	max-width: 560px;
	margin: 0 auto 28px;
	color: #4A4650;
}

.hexbound-hero-ctas {
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
}

.hexbound-btn {
	display: inline-block;
	padding: 14px 28px;
	border-radius: 4px;
	font-family: var(--hb-font-body);
	font-weight: 600;
	font-size: 16px;
	text-decoration: none;
	color: var(--hb-parchment);
	border: 1px solid transparent;
	transition: opacity 0.15s ease;
}

.hexbound-btn:hover {
	opacity: 0.88;
	color: var(--hb-parchment);
}

.hexbound-btn-ember {
	background: var(--hb-ember);
}

.hexbound-btn-frost {
	background: var(--hb-frost);
}

/* How it works */

.hexbound-how {
	padding: 40px 0;
}

.hexbound-how-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.hexbound-how-steps li {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 20px;
	background: var(--hb-parchment);
	border-radius: 6px;
}

.hexbound-step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--hb-thread);
	color: var(--hb-ink);
	font-family: var(--hb-font-mono);
	font-weight: 600;
}

/* Chat page */

.hexbound-chat-page.hexbound-ember .hexbound-chat-intro h1 {
	color: var(--hb-ember);
}

.hexbound-chat-page.hexbound-frost .hexbound-chat-intro h1 {
	color: var(--hb-frost);
}

.hexbound-chat-intro {
	padding: 40px 0 20px;
	text-align: center;
}

.hexbound-chat-widget {
	background: var(--hb-parchment);
	border-radius: 8px;
	padding: 32px;
	min-height: 220px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 32px;
}

.hexbound-chat-placeholder p {
	margin: 0;
	text-align: center;
	font-style: italic;
	color: #5A5560;
}

/* Packages */

.hexbound-packages {
	padding: 40px 0 0;
}

.hexbound-package-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-bottom: 12px;
}

.hexbound-package-card {
	background: var(--hb-parchment);
	border-radius: 8px;
	padding: 24px;
	border-top: 4px solid transparent;
}

.hexbound-package-card.hexbound-ember {
	border-top-color: var(--hb-ember);
}

.hexbound-package-card.hexbound-frost {
	border-top-color: var(--hb-frost);
}

.hexbound-package-duration {
	font-family: var(--hb-font-mono);
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #6B6670;
	margin-bottom: 8px;
}

.hexbound-package-price {
	font-family: var(--hb-font-mono);
	font-size: 26px;
	font-weight: 600;
	margin-bottom: 8px;
}

.hexbound-package-blurb {
	font-size: 14px;
	color: #4A4650;
	margin-bottom: 0;
}

.hexbound-addon-banner {
	background: var(--hb-ink);
	color: var(--hb-parchment);
	border-radius: 8px;
	padding: 20px 24px;
	margin: 24px 0 40px;
}

.hexbound-addon-banner h3 {
	color: var(--hb-thread);
	margin-bottom: 6px;
}

.hexbound-addon-banner p {
	margin: 0;
}

/* Confirmation */

.hexbound-confirmation {
	padding: 60px 0;
	display: flex;
	justify-content: center;
}

.hexbound-seal-card {
	background: var(--hb-parchment);
	border: 1px solid var(--hb-thread);
	border-radius: 8px;
	padding: 48px 40px;
	max-width: 480px;
	text-align: center;
	position: relative;
}

.hexbound-seal-stamp {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--hb-ember);
	margin: 0 auto 24px;
	border: 3px solid var(--hb-thread);
}

/* Disclaimer */

.hexbound-disclaimer {
	border-top: 1px solid var(--hb-thread);
	padding: 24px 0 48px;
	margin-top: 24px;
}

.hexbound-disclaimer p {
	font-size: 13px;
	line-height: 1.5;
	color: #5A5560;
	margin: 0;
}

.hexbound-disclaimer a {
	color: var(--hb-ember);
}

/* Responsive */

@media (max-width: 720px) {
	.hexbound {
		padding: 0 16px;
	}

	.hexbound h1 {
		font-size: 32px;
	}

	.hexbound-hero {
		padding: 40px 0 28px;
	}

	.hexbound-how-steps {
		grid-template-columns: 1fr;
	}

	.hexbound-package-grid {
		grid-template-columns: 1fr;
	}

	.hexbound-hero-ctas {
		flex-direction: column;
		align-items: stretch;
	}
}
