/* Static shell adapted from progressiowa.org (Zephyr). No US Core runtime.
   Colors are the site's own: blue #0E3E7D, red #BD2727, Roboto. */
body { margin: 0; background: #fff; }
.pi-header, .pi-footer { font-family: Roboto, system-ui, sans-serif; }
.pi-header *, .pi-footer * { box-sizing: border-box; }

.pi-header {
	background: #0E3E7D;
	color: #fff;
	padding: 14px 20px;
	position: relative;
}
.pi-header-inner {
	/* The live header's content column: 1200px, centered. */
	max-width: 1200px;
	margin: auto;
	display: flex;
	align-items: center;
	gap: 26px;
}
.pi-logo { margin-right: auto; line-height: 0; }
.pi-logo img { width: 187px; height: auto; }
.pi-header a { color: inherit; text-decoration: none; }

.pi-nav { display: flex; align-items: center; gap: 22px; }
.pi-nav-link {
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	white-space: nowrap;
}
.pi-nav-link:hover { opacity: .8; }

.pi-social { display: flex; align-items: center; gap: 14px; }
.pi-social-link { line-height: 0; }
.pi-social-icon { width: 18px; height: 18px; fill: currentColor; }

.pi-button {
	display: inline-block;
	padding: 10px 20px;
	background: #BD2727;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	white-space: nowrap;
}
.pi-button:hover { opacity: .88; }

/* Mobile menu: a checkbox the burger label toggles; the list is a clone of
   the desktop nav, shown below the bar. */
.pi-nav-toggle {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
}
.pi-mobile-menu { display: none; }

@media (max-width: 1024px) {
	.pi-header { padding: 12px 20px; }
	.pi-header-inner { flex-wrap: wrap; gap: 14px; }
	.pi-logo { order: 1; }
	.pi-logo img { width: 150px; }
	.pi-button { order: 2; margin-left: auto; }
	.pi-social { order: 3; width: 100%; justify-content: center; }
	.pi-burger {
		order: 4;
		width: 100%;
		display: flex;
		flex-direction: column;
		align-items: flex-end;
		gap: 5px;
		padding: 8px 0;
		cursor: pointer;
	}
	.pi-burger span {
		display: block;
		width: 26px;
		height: 3px;
		background: currentColor;
		border-radius: 2px;
		transition: transform .2s, opacity .2s;
	}
	.pi-nav-toggle:checked ~ .pi-header-inner .pi-burger span:nth-child(1) {
		transform: translateY(8px) rotate(45deg);
	}
	.pi-nav-toggle:checked ~ .pi-header-inner .pi-burger span:nth-child(2) { opacity: 0; }
	.pi-nav-toggle:checked ~ .pi-header-inner .pi-burger span:nth-child(3) {
		transform: translateY(-8px) rotate(-45deg);
	}
	.pi-nav { display: none; }
	.pi-mobile-menu {
		display: block;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: #0E3E7D;
		padding: 10px 5vw 20px;
		box-shadow: 0 3px 3px rgba(0, 0, 0, .1);
		z-index: 5;
	}
	.pi-mobile-menu a {
		display: block;
		padding: 12px 0;
		font-size: 16px;
		font-weight: 700;
		text-transform: uppercase;
		border-bottom: 1px solid rgba(255, 255, 255, .12);
	}
	.pi-nav-toggle:checked ~ .pi-mobile-menu { display: block; }
}

@media (min-width: 1025px) {
	.pi-burger { display: none; }
}

.pi-footer {
	background: #0E3E7D;
	color: #fff;
	padding: 48px 4vw 36px;
}
.pi-footer-inner {
	max-width: 1500px;
	margin: auto;
	display: grid;
	grid-template-columns: 2fr 1fr 2fr;
	gap: 32px;
}
.pi-footer a { color: inherit; }
.pi-footer-logo img { width: 190px; height: auto; }
.pi-footer-about p { line-height: 1.6; margin: 14px 0 18px; }
.pi-footer .pi-social { justify-content: flex-start; }
.pi-footer-menu a {
	display: block;
	padding: 6px 0;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 14px;
	letter-spacing: .04em;
}
.pi-footer-signup strong { font-size: 17px; }
.pi-footer-signup .pi-signup-link {
	display: inline-block;
	margin-top: 10px;
	font-weight: 700;
	color: #fff;
	text-decoration: underline;
}
.pi-footer-legal {
	grid-column: 1 / -1;
	border-top: 1px solid rgba(255, 255, 255, .2);
	padding-top: 18px;
	font-size: 13px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 24px;
	justify-content: space-between;
}
.pi-footer-legal p { margin: 0; }
.pi-footer-legal a { text-decoration: underline; }

@media (max-width: 1024px) {
	.pi-footer-inner { grid-template-columns: 1fr; gap: 26px; }
}
