* {
	box-sizing: border-box;
	margin: 0;
}

html {
	font: 1rem/1.6 Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
	color: #111;
	margin: 0 auto;
	max-width: 40em;
	padding: 1em;
}

body > header {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem;
}

body > footer {
	padding-top: 4rem;
}

pre {
	white-space: pre-wrap;
}

h1,
h2,
h3 {
	color: #111;
	line-height: calc(0.25em + 1em);
	overflow-wrap: break-word;
}

img {
	height: auto;
	max-width: 100%;
}

[class^='flow'] > h2 + *,
[class^='flow'] > h3 + * {
	margin-top: 0.75rem;
}

[class^='flow'] > p + p {
	margin-top: 1.25rem;
}

.flow > * + * {
	margin-top: 1.5rem;
}

.flow > h2,
.flow > h3,
.flow-large > * + * {
	margin-top: 3rem;
}

.flow-small > * + * {
	margin-top: 0.5rem;
}

a {
	color: #003edb;
}

[hidden] {
	display: none !important;
}

fieldset {
	border: 2px solid #ccc;
	border-radius: 0.2rem;
	margin-top: 3rem;
	padding: 1rem 0.5rem;
}

legend {
	color: #003edb;
	font-size: 1.5rem;
	font-weight: 700;
}

label {
	border: 2px solid #ccc;
	border-radius: 0.2rem;
	display: grid;
	gap: 1rem;
	grid-template-columns: 1fr min-content;
	padding: 0.5rem;
}

label.personal-data {
	grid-template-columns: 1fr;
}

label + label {
	margin-top: 0.5rem;
}

input {
	accent-color: #003edb;
}

input[type='email'],
input[type='tel'],
input[type='text'],
textarea {
	border: 2px solid #ccc;
	border-radius: 0.2rem;
	font-family: inherit;
	font-size: inherit;
	padding: 0.25rem 0.5rem;
}

input[type='radio'] {
	height: 1.5rem;
	width: 1.5rem;
}

textarea {
	height: 20rem;
	max-height: 80vh;
	width: 100%;
}

button {
	background-color: #003edb;
	border: 0;
	color: white;
	font-family: inherit;
	font-size: inherit;
	margin-top: 4.5rem;
	padding: 1rem 2rem;
	width: 100%;
}

button:focus-visible,
button:hover {
	outline: 1px solid #003edb;
	outline-offset: 3px;
}

.has-checked-radio {
	border: 2px solid #003edb;
}

.logo {
	margin-right: 1rem;
	max-width: 100px;
}

.question {
	font-weight: 500;
}

@media (width >= 30em) {
	html {
		font-size: 1.125rem;
	}
}

@media print {
	* {
		display: none !important;
	}
}
