:root {
	color-scheme: light;
	--bg: #f3f6fb;
	--card: #ffffff;
	--text: #111827;
	--muted: #6b7280;
	--border: #dbe3ee;
	--focus: #2563eb;
	--focus-ring: rgba(37, 99, 235, 0.16);
	--button-start: #2563eb;
	--button-end: #1d4ed8;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	min-height: 100vh;
	display: grid;
	place-items: center;
	padding: 24px;
	background: radial-gradient(circle at top, #e6eeff 0%, var(--bg) 45%);
	font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--text);
}

.card {
	width: 100%;
	max-width: 640px;
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: 16px;
	padding: 28px;
	box-shadow: 0 18px 45px rgba(17, 24, 39, 0.08);
}

h2 {
	margin: 0 0 18px;
	font-size: 1.4rem;
	letter-spacing: 0.2px;
}

form {
	display: grid;
	gap: 16px;
}

.honeypot-field {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.section {
	border: 1px solid var(--border);
	border-radius: 12px;
	padding: 14px;
	background: #fff;
}

.section > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	list-style: none;
	cursor: pointer;
	font-weight: 700;
	margin: -2px 0 12px;
	color: var(--text);
}

.section > summary::-webkit-details-marker {
	display: none;
}

.toggle-text {
	font-weight: 600;
	font-size: 0.83rem;
	color: var(--focus);
}

.section .closed-label {
	display: none;
}

.section:not([open]) .open-label {
	display: none;
}

.section:not([open]) .closed-label {
	display: inline;
}

.section:not([open]) {
	padding-bottom: 10px;
}

.section:not([open]) > summary {
	margin-bottom: 0;
}

.field {
	display: grid;
	gap: 8px;
	margin-bottom: 16px;
}

.field-row {
	display: grid;
	gap: 12px;
	margin-bottom: 16px;
}

.field-row .field {
	margin-bottom: 0;
}

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

.section .field:last-of-type {
	margin-bottom: 0;
}

.field > label,
.label {
	font-size: 0.92rem;
	font-weight: 600;
	color: var(--muted);
}

.required {
	color: #dc2626;
}

.hint {
	margin: 0;
	font-size: 0.84rem;
	line-height: 1.45;
	color: var(--muted);
}

.price-field {
	border: 2px solid var(--focus);
	border-radius: 12px;
	padding: 12px;
	background: var(--bg);
}

.price-field > label {
	color: var(--text);
	font-weight: 800;
}

.price-field input[readonly] {
	font-size: 1.85rem;
	font-weight: 800;
	background: #fff;
}

.price-breakdown {
	margin: 0;
	font-size: 0.82rem;
	font-weight: 400;
	color: var(--muted);
}

.price-rules {
	margin: 0;
	font-size: 0.82rem;
	line-height: 1.4;
	font-weight: 400;
	color: var(--muted);
}

.radio-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.radio-option {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--text);
	border: 1px solid var(--border);
	border-radius: 999px;
	padding: 7px 12px;
	background: #fff;
	cursor: pointer;
}

.radio-option input {
	width: auto;
	margin: 0;
	accent-color: var(--focus);
}

input,
select,
button {
	width: 100%;
	font: inherit;
	border-radius: 10px;
}

input,
select {
	border: 1px solid var(--border);
	background: #fff;
	color: var(--text);
	padding: 11px 12px;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus {
	border-color: var(--focus);
	box-shadow: 0 0 0 4px var(--focus-ring);
}

button {
	border: 0;
	color: #fff;
	padding: 12px 14px;
	margin-top: 2px;
	font-weight: 700;
	cursor: pointer;
	background: linear-gradient(135deg, var(--button-start), var(--button-end));
	box-shadow: 0 12px 24px rgba(29, 78, 216, 0.28);
	transition: transform 0.08s ease, filter 0.2s ease;
}

button:hover {
	filter: brightness(1.04);
}

button:active {
	transform: translateY(1px);
}

@media (max-width: 640px) {
	body {
		padding: 16px;
	}

	.card {
		padding: 20px;
	}

	.field-row-2 {
		grid-template-columns: 1fr;
	}
}