
:root {
	--ghost-bg: #f4efe6;
	--ghost-panel: rgba(255, 255, 255, 0.92);
	--ghost-panel-strong: #ffffff;
	--ghost-ink: #1f1e1a;
	--ghost-muted: #625c50;
	--ghost-line: rgba(31, 30, 26, 0.12);
	--ghost-accent: #123629;
	--ghost-accent-soft: #ddf1e5;
	--ghost-console: #101614;
	--ghost-console-soft: #17211e;
	--ghost-console-line: rgba(203, 234, 219, 0.12);
	--ghost-console-text: #edf7f0;
	--ghost-console-muted: #9db3a4;
	--ghost-shadow: 0 24px 60px rgba(31, 30, 26, 0.12);
	--ghost-radius-lg: 32px;
	--ghost-radius-md: 22px;
	--ghost-max: 1240px;
	font-family: "Avenir Next", "Segoe UI", sans-serif;
}
 
* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body.ghost-configurator-page {
	margin: 0;
	background:
		radial-gradient(circle at top left, rgba(18, 54, 41, 0.12), transparent 30%),
		linear-gradient(180deg, #fbf8f1 0%, var(--ghost-bg) 100%);
	color: var(--ghost-ink);
	font-family: "Avenir Next", "Segoe UI", sans-serif;
}

button,
input,
select,
textarea {
	font: inherit;
}

.configurator-home {
	min-height: 100vh;
	padding: 48px 24px 64px;
}

.hero-shell {
	max-width: var(--ghost-max);
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
	gap: 36px;
	align-items: start;
	transition: grid-template-columns 320ms ease;
}

.hero-copy {
	padding: 44px 12px 0 8px;
	max-height: 960px;
	overflow: hidden;
	transition:
		opacity 260ms ease,
		transform 320ms ease,
		max-height 320ms ease,
		padding 320ms ease,
		margin 320ms ease;
}

.hero-shell.is-focused {
	grid-template-columns: 1fr;
}

.hero-shell.is-focused .hero-copy {
	opacity: 0;
	transform: translateY(-24px);
	max-height: 0;
	padding-top: 0;
	padding-bottom: 0;
	margin: 0;
	pointer-events: none;
}

.eyebrow {
	margin: 0 0 18px;
	font-size: 0.88rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ghost-accent);
}

.hero-copy h1 {
	margin: 0;
	font-size: clamp(2.7rem, 5vw, 5rem);
	line-height: 0.94;
	max-width: 12ch;
}

.hero-lead {
	max-width: 58ch;
	margin: 22px 0 0;
	font-size: 1.08rem;
	line-height: 1.65;
	color: var(--ghost-muted);
}

.hero-points {
	margin: 28px 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 14px;
}

.hero-points li {
	padding: 14px 18px;
	border: 1px solid rgba(18, 54, 41, 0.14);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.66);
	width: fit-content;
}

.configurator-panel {
	padding: 18px;
	border-radius: 42px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.78));
	backdrop-filter: blur(18px);
	box-shadow: var(--ghost-shadow);
	border: 1px solid rgba(255, 255, 255, 0.7);
	position: relative;
	overflow: hidden;
}

.configurator-panel::before {
	content: "";
	position: absolute;
	inset: 0 0 auto auto;
	width: 180px;
	height: 180px;
	background: radial-gradient(circle, rgba(18, 54, 41, 0.13), transparent 70%);
	pointer-events: none;
}

.configurator-form {
	position: relative;
	z-index: 1;
	padding: 26px;
	border-radius: var(--ghost-radius-lg);
	background: var(--ghost-panel);
	border: 1px solid var(--ghost-line);
}

.configurator-shell {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 22px;
	align-items: start;
}

.configurator-shell.is-console-visible {
	grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.72fr);
}

.configurator-main {
	min-width: 0;
}

.configurator-console {
	position: sticky;
	top: 18px;
}

.console-window {
	border-radius: 28px;
	overflow: hidden;
	border: 1px solid rgba(12, 18, 16, 0.8);
	background: linear-gradient(180deg, #121917 0%, #0e1312 100%);
	box-shadow: 0 28px 60px rgba(13, 18, 16, 0.28);
	color: var(--ghost-console-text);
}

.console-window__topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 18px;
	border-bottom: 1px solid var(--ghost-console-line);
	background: rgba(255, 255, 255, 0.02);
}

.console-window__dots {
	display: inline-flex;
	gap: 7px;
}

.console-window__dots span {
	width: 10px;
	height: 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.22);
}

.console-window__dots span:nth-child(1) {
	background: #ff5f57;
}

.console-window__dots span:nth-child(2) {
	background: #febc2e;
}

.console-window__dots span:nth-child(3) {
	background: #28c840;
}

.console-window__title {
	margin: 0;
	font-size: 0.78rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ghost-console-muted);
}

.console-window__body {
	display: grid;
	gap: 14px;
	padding: 16px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent),
		repeating-linear-gradient(
			180deg,
			rgba(255, 255, 255, 0.015),
			rgba(255, 255, 255, 0.015) 1px,
			transparent 1px,
			transparent 28px
		);
}

.console-block {
	padding: 16px;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.035);
	border: 1px solid var(--ghost-console-line);
}

.console-label {
	margin: 0 0 12px;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #8fd4a9;
}

.console-status-row {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
	font-size: 0.92rem;
	color: var(--ghost-console-muted);
}

.console-status-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 10px;
	border-radius: 999px;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	background: rgba(143, 212, 169, 0.12);
	color: #9fe0b7;
}

.console-step-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 8px;
}

.console-step-list li {
	padding: 10px 12px;
	border-radius: 14px;
	font-size: 0.94rem;
	color: var(--ghost-console-muted);
	border: 1px solid transparent;
	background: rgba(255, 255, 255, 0.02);
	transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.console-step-list li.is-active {
	color: var(--ghost-console-text);
	border-color: rgba(143, 212, 169, 0.22);
	background: rgba(143, 212, 169, 0.08);
}

.console-step-list li.is-complete {
	color: #b8c8be;
	background: rgba(255, 255, 255, 0.03);
}

.console-chat-thread {
	display: grid;
	gap: 12px;
}

.console-message {
	padding: 14px 16px;
	border-radius: 18px;
	max-width: 100%;
	border: 1px solid var(--ghost-console-line);
}

.console-message--agent {
	background: rgba(143, 212, 169, 0.09);
}

.console-message--user {
	background: rgba(255, 255, 255, 0.04);
}

.console-message__meta {
	display: block;
	margin-bottom: 8px;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #8fd4a9;
}

.console-message p {
	margin: 0;
	line-height: 1.65;
	color: var(--ghost-console-text);
}

.configurator-progress {
	margin-bottom: 28px;
}

.progress-label {
	margin: 0 0 12px;
	font-size: 0.96rem;
	font-weight: 700;
	color: var(--ghost-muted);
}

.progress-track {
	height: 10px;
	border-radius: 999px;
	background: rgba(31, 30, 26, 0.08);
	overflow: hidden;
}

.progress-bar {
	display: block;
	height: 100%;
	width: 20%;
	border-radius: inherit;
	background: linear-gradient(90deg, #123629, #2d6b55);
	transition: width 220ms ease;
}

.step-header h2 {
	margin: 0;
	font-size: clamp(1.8rem, 2.8vw, 2.5rem);
	line-height: 1.08;
}

.step-header p {
	margin: 10px 0 0;
	font-size: 1rem;
	line-height: 1.6;
	color: var(--ghost-muted);
}

.config-step {
	animation: step-enter 220ms ease;
}

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

.card-grid {
	display: grid;
	gap: 16px;
	margin-top: 26px;
}

.two-up {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice-card {
	display: block;
	cursor: pointer;
}

.choice-card input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.choice-card__content {
	display: grid;
	gap: 12px;
	min-height: 158px;
	padding: 20px;
	border-radius: var(--ghost-radius-md);
	background: var(--ghost-panel-strong);
	border: 1px solid var(--ghost-line);
	transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
	box-shadow: 0 10px 30px rgba(31, 30, 26, 0.04);
	justify-content: start;
	align-content: start;
	position: relative;
	overflow: hidden;
}

.choice-card__content::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(18, 54, 41, 0.04), transparent 45%);
	opacity: 0;
	transition: opacity 180ms ease;
}

.choice-card__content strong,
.choice-card__content small {
	position: relative;
	z-index: 1;
}

.choice-card__content strong {
	font-size: 1.08rem;
	line-height: 1.25;
}

.choice-card__content small {
	font-size: 0.98rem;
	line-height: 1.55;
	color: var(--ghost-muted);
}

.choice-card input:checked + .choice-card__content,
.choice-card[data-selected="true"] .choice-card__content,
.choice-card:hover .choice-card__content {
	transform: translateY(-2px);
	border-color: rgba(18, 54, 41, 0.4);
	box-shadow: 0 18px 44px rgba(18, 54, 41, 0.12);
	background: linear-gradient(180deg, #ffffff 0%, #f4fbf7 100%);
}

.choice-card input:checked + .choice-card__content::before,
.choice-card:hover .choice-card__content::before {
	opacity: 1;
}

.form-layout {
	display: grid;
	gap: 18px;
	margin-top: 26px;
}

.form-layout.split {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: start;
}

.full-width {
	grid-column: 1 / -1;
}

.field-label {
	display: block;
	margin-bottom: 10px;
	font-weight: 700;
	font-size: 0.96rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
	width: 100%;
	padding: 14px 16px;
	border-radius: 16px;
	border: 1px solid var(--ghost-line);
	background: #fff;
	color: var(--ghost-ink);
	outline: none;
	transition: border-color 160ms ease, box-shadow 160ms ease;
}

input:focus,
select:focus,
textarea:focus {
	border-color: rgba(18, 54, 41, 0.5);
	box-shadow: 0 0 0 4px rgba(18, 54, 41, 0.1);
}

textarea {
	resize: vertical;
	min-height: 140px;
}

.pill-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.pill-option {
	position: relative;
	display: inline-flex;
	align-items: center;
	cursor: pointer;
}

.pill-option input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.pill-option span {
	padding: 12px 16px;
	border-radius: 999px;
	border: 1px solid var(--ghost-line);
	background: rgba(255, 255, 255, 0.9);
	transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.pill-option input:checked + span {
	background: var(--ghost-accent-soft);
	border-color: rgba(18, 54, 41, 0.36);
	transform: translateY(-1px);
}

.demo-callout {
	padding: 24px;
	border-radius: 24px;
	border: 1px solid rgba(18, 54, 41, 0.16);
	background: linear-gradient(135deg, rgba(221, 241, 229, 0.7), rgba(255, 255, 255, 0.95));
	box-shadow: 0 12px 30px rgba(18, 54, 41, 0.08);
}

.demo-callout__eyebrow {
	margin: 0 0 10px;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ghost-accent);
}

.demo-callout h3 {
	margin: 0 0 10px;
	font-size: 1.35rem;
	line-height: 1.2;
	color: var(--ghost-ink);
}

.demo-callout p {
	margin: 0;
	line-height: 1.7;
	color: var(--ghost-muted);
}

.demo-callout__link {
	display: inline-flex;
	align-items: center;
	margin-top: 16px;
	padding: 12px 18px;
	border-radius: 999px;
	background: #111111;
	color: #ffffff;
	text-decoration: none;
	font-weight: 700;
	transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.demo-callout__link:hover {
	transform: translateY(-1px);
	box-shadow: 0 12px 24px rgba(31, 30, 26, 0.12);
}

.summary-box {
	padding: 22px;
	border-radius: 22px;
	background: linear-gradient(180deg, #ffffff, #f8f4ed);
	border: 1px solid var(--ghost-line);
	min-height: 220px;
}

.summary-box--console {
	padding: 0;
	min-height: 0;
	border: 0;
	background: transparent;
	color: var(--ghost-console-text);
}

.summary-box h3 {
	margin: 0 0 14px;
	font-size: 1.15rem;
}

.summary-box p,
.summary-box ul {
	margin: 0;
	color: var(--ghost-muted);
	line-height: 1.6;
}

.summary-box ul {
	padding-left: 20px;
	display: grid;
	gap: 8px;
}

.summary-box--console p,
.summary-box--console ul,
.summary-box--console li strong {
	color: var(--ghost-console-text);
}

.summary-box--console ul {
	padding-left: 18px;
}

.summary-box--console li {
	color: var(--ghost-console-muted);
}

.summary-box li strong {
	color: var(--ghost-ink);
}

.agent-handoff {
	padding: 24px;
	border-radius: 24px;
	border: 1px solid rgba(18, 54, 41, 0.14);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(240, 247, 243, 0.92));
}

.agent-handoff--console {
	padding: 0;
	border: 0;
	background: transparent;
}

.agent-handoff__eyebrow {
	margin: 0 0 10px;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ghost-accent);
}

.agent-handoff h3,
.agent-handoff h4 {
	margin: 0;
	color: var(--ghost-ink);
}

.agent-handoff > p {
	margin: 10px 0 0;
	line-height: 1.7;
	color: var(--ghost-muted);
}

.agent-handoff__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin-top: 20px;
}

.agent-handoff__grid--stacked {
	grid-template-columns: 1fr;
	margin-top: 0;
}

.agent-handoff__panel {
	padding: 18px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.84);
	border: 1px solid rgba(18, 54, 41, 0.12);
}

.agent-handoff--console .agent-handoff__panel {
	background: rgba(255, 255, 255, 0.03);
	border-color: var(--ghost-console-line);
}

.agent-handoff--console .agent-handoff__panel h4,
.agent-handoff--console .agent-handoff__questions,
.agent-handoff--console .agent-handoff__payload {
	color: var(--ghost-console-text);
}

.agent-handoff--console .agent-handoff__questions {
	color: var(--ghost-console-muted);
}

.agent-handoff__panel h4 {
	margin-bottom: 12px;
	font-size: 1rem;
}

.agent-handoff__questions {
	margin: 0;
	padding-left: 18px;
	display: grid;
	gap: 10px;
	color: var(--ghost-muted);
	line-height: 1.6;
}

.agent-handoff__payload {
	width: 100%;
	padding: 14px 16px;
	border-radius: 16px;
	border: 1px solid rgba(18, 54, 41, 0.12);
	background: #15211b;
	color: #eef7f1;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
	font-size: 0.9rem;
	line-height: 1.5;
	resize: vertical;
}

.form-actions {
	display: flex;
	justify-content: space-between;
	gap: 14px;
	margin-top: 28px;
	padding-top: 24px;
	border-top: 1px solid var(--ghost-line);
}

.button {
	appearance: none;
	border: 0;
	border-radius: 999px;
	padding: 15px 24px;
	font-weight: 700;
	cursor: pointer;
	transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.button:hover {
	transform: translateY(-1px);
	box-shadow: 0 12px 24px rgba(31, 30, 26, 0.12);
}

.button-primary {
	background: #111111;
	color: #ffffff;
	margin-left: auto;
}

.button-secondary {
	background: rgba(17, 17, 17, 0.08);
	color: var(--ghost-ink);
}

[hidden] {
	display: none !important;
}

@media (max-width: 1080px) {
	.hero-shell {
		grid-template-columns: 1fr;
	}

	.configurator-shell {
		grid-template-columns: 1fr;
	}

	.configurator-console {
		position: static;
	}

	.hero-copy {
		padding-top: 0;
	}

	.hero-copy h1 {
		max-width: 14ch;
	}
}

@media (max-width: 720px) {
	.configurator-home {
		padding: 24px 14px 40px;
	}

	.configurator-panel,
	.configurator-form {
		padding: 14px;
	}

	.two-up,
	.form-layout.split {
		grid-template-columns: 1fr;
	}

	.hero-copy h1 {
		font-size: 2.6rem;
	}

	.form-actions {
		flex-direction: column-reverse;
	}

	.form-actions .button,
	.button-primary {
		width: 100%;
		margin-left: 0;
	}

	.console-window__body {
		padding: 12px;
	}

	.agent-handoff__grid {
		grid-template-columns: 1fr;
	}
}

.configurator-main {
	min-width: 0;
	width: 100%;
}

.configurator-console {
	width: 100%;
	min-width: 0;
}

.console-window {
	width: 100%;
}

.console-window__body {
	max-height: 220px; /* pas aan naar wens */
	overflow-y: auto;
	overscroll-behavior: contain;
}

.console-assistant-intro {
	padding: 18px;
	border-radius: 22px;
	background: rgba(143, 212, 169, 0.1);
	border: 1px solid rgba(143, 212, 169, 0.2);
}

.console-assistant-intro__eyebrow {
	margin: 0 0 8px;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #8fd4a9;
}

.console-assistant-intro h3 {
	margin: 0;
	font-size: 1.15rem;
	line-height: 1.25;
	color: var(--ghost-console-text);
}

.console-assistant-intro p {
	margin: 8px 0 0;
	line-height: 1.6;
	color: var(--ghost-console-muted);
}

.assistant-chat-window {
	display: grid;
	gap: 12px;
	max-height: 240px;
	overflow-y: auto;
	padding-right: 4px;
}

.assistant-chat-message {
	padding: 14px 16px;
	border-radius: 18px;
	border: 1px solid var(--ghost-console-line);
}

.assistant-chat-message span {
	display: block;
	margin-bottom: 8px;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #8fd4a9;
}

.assistant-chat-message p {
	margin: 0;
	line-height: 1.6;
	color: var(--ghost-console-text);
}
 
.assistant-chat-message--agent {
	background: rgba(143, 212, 169, 0.09);
}

.assistant-chat-message--user { 
	background: rgba(255, 255, 255, 0.04);
}

/* fr ikandel is lekker */ 