* {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	background-color: #D7ECE9;
	color: black;
	font-family: Helvetica, Arial, sans-serif;
	font-weight: 100;
	font-style: normal;
	line-height: 1.45;
	margin: 0 auto;
	max-width: 42rem;
	min-height: 100vh;
	padding: 32px 20px;
	text-align: center;
}

a, strong {
	color: #006269;
}

h1 {
	font-size: clamp(1.75rem, 7vw, 2.5rem);
	line-height: 1.1;
	margin: 0 0 16px;
	overflow-wrap: anywhere;
}

p {
	margin: 0 auto 16px;
	max-width: 38rem;
	overflow-wrap: anywhere;
}

table {
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 32px;
}

table:not(.international) {
	border-spacing: 0 8px;
	max-width: 28rem;
	width: 100%;
}

td {
	text-align: left;
	vertical-align: top;
}

table:not(.international) td:first-child {
	padding-right: 12px;
	white-space: nowrap;
}

.agreements td:first-child {
	width: 1%;
}

input:not([type="checkbox"]):not([type="hidden"]) {
	border: 1px solid rgba(0, 98, 105, 0.35);
	border-radius: 4px;
	font: inherit;
	min-height: 44px;
	padding: 9px 10px;
	width: 100%;
}

input[type="checkbox"] {
	height: 22px;
	margin: 2px 8px 0 0;
	width: 22px;
}

button {
	background: #006269;
	border: 0;
	border-radius: 4px;
	color: white;
	cursor: pointer;
	font: inherit;
	min-height: 44px;
	padding: 10px 18px;
}

.error {
	color: #7A2E3A;
	font-weight: bold;
}

.success {
	margin-top: 75px;
}

table.international {
	border-spacing: 0;
	max-width: 32rem;
	table-layout: fixed;
	width: 100%;
}

table.international td {
	font-size: clamp(1.75rem, 9vw, 3rem);
	padding: 0 12px;
	text-align: center;
	vertical-align: middle;
	width: 50%;
}

table.international a {
	align-items: center;
	display: flex;
	justify-content: center;
	line-height: 1.1;
	min-height: 1.2em;
	overflow-wrap: anywhere;
	text-align: center;
	text-decoration: none;
	width: 100%;
}

table.international td.explanation {
    font-size: clamp(0.875rem, 0.8rem + 0.3vw, 1rem);
}

table.international td.explanation.highlight {
    font-weight: bold;
}

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

@media (max-width: 520px) {
	body {
		font-weight: 400;
		padding: 24px 16px;
	}

	.form-fields,
	.form-fields tbody,
	.form-fields tr,
	.form-fields td {
		display: block;
		width: 100%;
	}

	.form-fields {
		border-spacing: 0;
	}

	.form-fields tr {
		margin-bottom: 14px;
	}

	.form-fields td:first-child {
		padding-right: 0;
		white-space: normal;
	}

	.form-fields label {
		display: block;
		margin-bottom: 4px;
	}

	.agreements {
		border-spacing: 0 10px;
	}

	.agreements td:first-child {
		padding-right: 8px;
	}

	table.international td {
		font-size: clamp(1.5rem, 11vw, 2.5rem);
		padding: 0 6px;
	}

	.success {
		margin-top: 32px;
	}
}

@media (max-height: 480px) and (orientation: landscape) {
	body {
		padding-top: 16px;
		padding-bottom: 16px;
	}

	h1 {
		margin-bottom: 10px;
	}

	p {
		margin-bottom: 10px;
	}

	table:not(.international) {
		border-spacing: 0 4px;
	}

	input:not([type="checkbox"]):not([type="hidden"]),
	button {
		min-height: 38px;
		padding-top: 7px;
		padding-bottom: 7px;
	}

	.success {
		margin-top: 16px;
	}
}
