*,
*::before,
*::after {
	box-sizing: border-box;
}

:root {
	--eds-yellow: #f6b827;
	--eds-sand: #f4e2a2;
	--eds-green: #92af61;
	--eds-blue: #4593b5;
	--eds-blue-dark: #367c99;

	--text: #10202a;
	--surface: #ffffff;
	--border: rgba(16, 32, 42, 0.15);
	--shadow: 0 5px 10px rgba(16, 32, 42, 0.12);
}

body {
	margin: 0;
	font-family: "Helvetica Neue", Arial, sans-serif;
	color: var(--text);
	background: var(--surface);
	line-height: 1.5;
	overflow-x: hidden;
}

#wrapper {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.sp-skip-link {
	position: absolute;
	left: 12px;
	top: 12px;
	padding: 10px 12px;
	background: var(--surface);
	color: var(--text);
	border-radius: 10px;
	box-shadow: var(--shadow);
	transform: translateY(-200%);
	transition: transform 0.15s ease-in-out;
	z-index: 1000;
}

.sp-skip-link:focus {
	transform: translateY(0);
	outline: 3px solid rgba(246, 184, 39, 0.6);
	outline-offset: 2px;
}

a {
	color: var(--eds-yellow);
	text-decoration-thickness: 2px;
	text-underline-offset: 2px;
}

a:hover {
	color: var(--eds-blue);
}

.header {
	border-bottom: 1px solid var(--border);
	padding: 1rem;
}

.sp-header-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 18px 0;
}

.sp-logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}

.sp-logo img {
	max-width: min(520px, 100%);
	height: auto;
	max-height: 64px;
}

.sp-container {
	width: 100%;
	max-width: 1170px;
	margin: 0 auto;
	padding-inline: 16px;
}

@supports (padding: max(0px)) {
	.sp-container {
		padding-left: max(16px, calc(16px + env(safe-area-inset-left)));
		padding-right: max(16px, calc(16px + env(safe-area-inset-right)));
	}
}

.sp-content {
	padding-top: 28px;
	padding-bottom: 40px;
}

.sp-page-header {
	margin: 0 0 18px;
}

.sp-row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 18px;
	margin: 0;
}

.sp-col {
	min-width: 0;
}

.sp-col--full {
	flex-basis: 100%;
	max-width: 100%;
}

.sp-col--third {
	flex-basis: 100%;
	max-width: 100%;
}

.sp-col--right {
	margin-left: auto;
}

@media (min-width: 768px) {
	.sp-row {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

h1,
h2,
h3,
h4 {
	margin-top: 0;
	font-weight: 600;
}

.sp-lead {
	font-size: 1.125rem;
}

fieldset {
	border: 1px solid var(--border);
	padding: 16px;
	margin: 0 0 18px;
	background: var(--surface);
	border-radius: 14px;
	box-shadow: var(--shadow);
}

legend {
	padding: 0 5px;
	font-weight: 600;
	color: var(--text);
}

label {
	display: block;
	margin-bottom: 6px;
	font-weight: 600;
}

.sp-field {
	margin-bottom: 16px;
}

.sp-control {
	display: block;
	width: 100%;
	padding: 10px 12px;
	font: inherit;
	font-size: 1rem;
	color: var(--text);
	background-color: #fff;
	border: 1px solid rgba(16, 32, 42, 0.25);
	border-radius: 12px;
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.sp-control:focus {
	border-color: var(--eds-yellow);
	box-shadow: 0 0 0 4px rgba(246, 184, 39, 0.35);
	outline: none;
}

.sp-control:focus-visible {
	border-color: var(--eds-yellow);
	box-shadow: 0 0 0 4px rgba(246, 184, 39, 0.45);
}

textarea.sp-control {
	min-height: 160px;
	resize: vertical;
}

.sp-checkbox label {
	font-weight: bold;
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.sp-checkbox input {
	margin-top: 4px;
}

.sp-checkbox--inline label {
	align-items: center;
}

.sp-checkbox--inline input {
	margin-top: 0;
}

.sp-status {
	margin: 10px 0 0;
	font-size: 0.95rem;
	color: rgba(16, 32, 42, 0.85);
	min-height: 1.2em;
}

.sp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	border: 1px solid transparent;
	font: inherit;
	font-size: 1rem;
	font-weight: 600;
	padding: 0.75rem 1.25rem;
	cursor: pointer;
	text-decoration: none;
	transition: background-color 0.2s, border-color 0.2s, transform 0.05s ease-in-out;
}

.sp-btn:focus-visible {
	outline: 3px solid rgba(246, 184, 39, 0.65);
	outline-offset: 3px;
}

.sp-btn--lg {
	font-size: 1.1rem;
}

.sp-btn--primary {
	background-color: var(--eds-yellow);
	border-color: var(--eds-yellow);
	color: var(--text);
	box-shadow: 0 10px 25px rgba(246, 184, 39, 0.25);
}

.sp-btn--primary:hover,
.sp-btn--primary:focus {
	background-color: var(--eds-sand);
	border-color: var(--eds-yellow);
}

.sp-btn:active {
	transform: translateY(1px);
}

.sp-actions {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 12px;
	padding: 8px 0 0;
}

.sp-actions__left {
	flex: 1 1 auto;
}

.sp-actions__right {
	flex: 0 0 auto;
	width: 100%;
}

@media (min-width: 768px) {
	.sp-actions {
		flex-direction: row;
		align-items: center;
		justify-content: flex-end;
	}

	.sp-actions__right {
		width: auto;
		margin-left: auto;
	}
}

.sp-actions .sp-btn {
	width: 100%;
}

@media (min-width: 768px) {
	.sp-actions .sp-btn {
		width: auto;
	}
}

@media (prefers-reduced-motion: reduce) {

	*,
	*::before,
	*::after {
		transition: none !important;
		animation: none !important;
		scroll-behavior: auto !important;
	}
}

.copyright {
	margin-top: auto;
	padding: 20px 0;
	background: #ddd;
	font-size: 0.9rem;
	border-top: 1px solid var(--border);
}

.copyright .sp-container {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.sp-pull-right {
	margin-left: auto;
}