/* Encapsulate Pharma Access Programs — static notice page
   Palette and type match the previous WordPress/Elementor site. */

:root {
	--base: #f9f9f9;
	--base-2: #ffffff;
	--contrast: #1B3967;
	--contrast-2: #636363;
	--contrast-3: #a4a4a4;
	--accent: #cfcabe;
	--content-width: 640px;
}

* {
	box-sizing: border-box;
}

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

body {
	margin: 0;
	background-color: var(--base);
	color: var(--contrast);
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 1.05rem;
	line-height: 1.55;
}

a {
	color: var(--contrast);
}

a:hover {
	text-decoration: none;
}

h1, h2, h3 {
	font-family: "Poppins", "Inter", sans-serif;
	font-weight: 400;
	line-height: 1.2;
	margin: 0 0 1rem;
}

h1 {
	font-size: clamp(1.85rem, 1.6rem + 1.2vw, 2.6rem);
}

.site-header {
	background-color: var(--base-2);
	padding: 2.5rem 1.5rem 1.5rem;
	text-align: center;
}

.site-header img {
	max-width: 320px;
	width: 100%;
	height: auto;
}

.divider {
	max-width: var(--content-width);
	margin: 0 auto;
	border: none;
	border-top: 1px solid var(--accent);
}

main {
	max-width: var(--content-width);
	margin: 0 auto;
	padding: 3rem 1.5rem;
	text-align: center;
}

main p {
	margin: 0 0 1.2rem;
}

.notice-box {
	background-color: var(--base-2);
	border: 1px solid var(--accent);
	border-radius: 8px;
	padding: 2rem;
	margin-top: 2rem;
	text-align: left;
}

.notice-box h2 {
	font-size: 1.3rem;
	text-align: center;
}

.notice-box ul {
	margin: 0 0 1.2rem;
	padding-left: 1.3rem;
}

.notice-box li {
	margin-bottom: 0.4rem;
}

.email-button {
	display: inline-block;
	margin-top: 0.5rem;
	background-color: var(--contrast);
	color: var(--base) !important;
	font-family: "Poppins", "Inter", sans-serif;
	font-size: 0.95rem;
	font-weight: 500;
	text-decoration: none;
	padding: 0.75rem 1.5rem;
	border-radius: 0.33rem;
}

.email-button:hover {
	background-color: var(--contrast-2);
}

.email-gate {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
	align-items: center;
	margin-top: 1.5rem;
}

.email-gate label {
	width: 100%;
	font-family: "Poppins", "Inter", sans-serif;
	font-size: 0.9rem;
}

.email-gate input[type="email"] {
	flex: 1 1 260px;
	max-width: 320px;
	padding: 0.65rem 0.9rem;
	font-size: 1rem;
	font-family: inherit;
	border: 1px solid var(--contrast-3);
	border-radius: 0.33rem;
}

.email-gate .email-button {
	border: none;
	cursor: pointer;
	margin-top: 0;
}

.form-error {
	color: #a4222c;
}

.switch-email {
	margin-top: 1.5rem;
	font-size: 0.9rem;
}

.site-footer {
	background-color: var(--contrast);
	color: var(--base);
	padding: 2.5rem 1.5rem 1.5rem;
}

.site-footer .footer-inner {
	max-width: 900px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	align-items: flex-start;
	justify-content: space-between;
}

.site-footer img {
	max-width: 220px;
	width: 100%;
	height: auto;
}

.site-footer .legal {
	flex: 1 1 380px;
	font-size: 0.85rem;
	color: var(--contrast-3);
	text-align: right;
}

.site-footer .legal a {
	color: var(--base);
}

.site-footer .copyright {
	max-width: 900px;
	margin: 1.5rem auto 0;
	font-size: 0.85rem;
	color: var(--contrast-3);
	text-align: center;
}

@media (max-width: 640px) {
	.site-footer .footer-inner {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
	.site-footer .legal {
		text-align: center;
	}
}
