/* Base: reset, layout, header, footer, buttons. */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	background: var(--gpp-bg-subtle);
	color: var(--gpp-ink);
	font-family: var(--gpp-font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
.gpp-icon { flex: none; display: inline-block; vertical-align: middle; }

a { color: var(--gpp-primary); text-decoration: none; }
a:hover { color: var(--gpp-primary-600); text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: none; box-shadow: var(--gpp-focus); border-radius: 4px; }

h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3, h4 { color: var(--gpp-ink); letter-spacing: -0.02em; line-height: 1.2; font-weight: 700; }

.gpp-h1 { font-size: clamp(30px, 4vw, 42px); font-weight: 800; }
.gpp-h2 { font-size: clamp(26px, 3vw, 34px); }
.gpp-h3 { font-size: 22px; }
.gpp-h4 { font-size: 18px; }
.gpp-lead { font-size: 18px; }
.gpp-muted { color: var(--gpp-muted); }
.gpp-small { font-size: 13px; }
.gpp-eyebrow {
	font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
	color: var(--gpp-accent); margin-bottom: 8px;
}

.gpp-container {
	width: 100%;
	max-width: calc(var(--gpp-container) + 2 * var(--gpp-gutter));
	margin-inline: auto;
	padding-inline: var(--gpp-gutter);
}
.gpp-container--narrow { max-width: calc(var(--gpp-narrow) + 2 * var(--gpp-gutter)); }

.gpp-main { min-height: 50vh; }

/* Buttons ------------------------------------------------------------- */
.gpp-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 0 20px;
	border: 1px solid transparent; border-radius: var(--gpp-r-btn);
	font: 600 15px/1.2 var(--gpp-font);
	cursor: pointer; text-decoration: none; white-space: nowrap;
	transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s;
}
.gpp-btn:hover { text-decoration: none; }
.gpp-btn--primary { background: var(--gpp-primary); color: #fff; }
.gpp-btn--primary:hover { background: var(--gpp-primary-600); color: #fff; }
.gpp-btn--outline { background: #fff; color: var(--gpp-ink); border-color: var(--gpp-border-strong); }
.gpp-btn--outline:hover { border-color: var(--gpp-primary); color: var(--gpp-primary); }
.gpp-btn--ghost { background: transparent; color: var(--gpp-ink); }
.gpp-btn--ghost:hover { background: var(--gpp-bg-muted); color: var(--gpp-ink); }
.gpp-btn--white { background: #fff; color: var(--gpp-navy-900); }
.gpp-btn--white:hover { background: var(--gpp-primary-50); color: var(--gpp-navy-900); }
.gpp-btn--sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.gpp-btn--block { width: 100%; }
.gpp-btn--icon { padding: 0 10px; }
.gpp-btn[disabled], .gpp-btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }

/* Header -------------------------------------------------------------- */
.gpp-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, .96);
	backdrop-filter: saturate(1.4) blur(8px);
	border-bottom: 1px solid var(--gpp-border);
}
.admin-bar .gpp-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .gpp-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .gpp-header { top: 0; } }

.gpp-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--gpp-header-h); }

.gpp-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; color: var(--gpp-navy-900); }
.gpp-logo:hover { text-decoration: none; color: var(--gpp-navy-900); }
.gpp-logo__mark { display: inline-flex; }
.gpp-logo--light, .gpp-logo--light:hover { color: #fff; }
.custom-logo-link { display: inline-flex; }
.custom-logo { max-height: 48px; width: auto; }

.gpp-header__panel { display: flex; align-items: center; gap: 24px; flex: 1; }
.gpp-nav { flex: 1; }
.gpp-nav__list, .gpp-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 22px; }
.gpp-nav a { color: var(--gpp-ink-2); font-weight: 500; font-size: 15px; padding: 8px 0; display: inline-block; }
.gpp-nav a:hover { color: var(--gpp-primary); text-decoration: none; }
.gpp-nav .current-menu-item > a, .gpp-nav .current_page_item > a { color: var(--gpp-primary); }
.gpp-nav .sub-menu { display: none; }
.gpp-header__actions { display: flex; gap: 8px; }

.gpp-header__toggle {
	display: none; margin-left: auto;
	width: 44px; height: 44px; align-items: center; justify-content: center;
	border: 1px solid var(--gpp-border); border-radius: var(--gpp-r-btn); background: #fff; color: var(--gpp-ink); cursor: pointer;
}
.gpp-header__toggle-close { display: none; }

@media (max-width: 1023px) {
	.gpp-header__toggle { display: inline-flex; }
	.gpp-header__panel {
		display: none;
		position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 16px;
		padding: 16px var(--gpp-gutter) 24px;
		background: #fff; border-bottom: 1px solid var(--gpp-border); box-shadow: var(--gpp-shadow-md);
	}
	.gpp-header.is-open .gpp-header__panel { display: flex; }
	.gpp-header.is-open .gpp-header__toggle-open { display: none; }
	.gpp-header.is-open .gpp-header__toggle-close { display: inline; }
	.gpp-nav__list, .gpp-nav ul { flex-direction: column; gap: 0; }
	.gpp-nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--gpp-bg-muted); }
	.gpp-header__actions .gpp-btn { flex: 1; }
}

/* Footer -------------------------------------------------------------- */
.gpp-footer { background: var(--gpp-navy-900); color: #B8C3DD; font-size: 14px; }
.gpp-footer a { color: #C9D3EA; }
.gpp-footer a:hover { color: #fff; }
.gpp-footer__grid { display: grid; gap: 32px; padding-top: 56px; padding-bottom: 32px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.gpp-footer__brand { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 12px; max-width: 360px; }
@media (min-width: 1024px) {
	.gpp-footer__grid { grid-template-columns: 2fr repeat(4, 1fr); }
	.gpp-footer__brand { grid-column: auto; }
}
.gpp-footer__title { color: #fff; font-size: 14px; font-weight: 700; letter-spacing: 0; margin-bottom: 12px; }
.gpp-footer__links, .gpp-footer__social { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.gpp-footer__social { flex-direction: row; flex-wrap: wrap; gap: 16px; }
.gpp-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 20px; padding-bottom: 24px; font-size: 13px; }

/* Sections ------------------------------------------------------------ */
.gpp-section { padding: 72px 0; }
.gpp-section--white { background: #fff; border-top: 1px solid var(--gpp-border); border-bottom: 1px solid var(--gpp-border); }
.gpp-section--white + .gpp-section--white { border-top: 0; }
.gpp-section--tight-top { padding-top: 0; border-top: 0; }
@media (max-width: 600px) { .gpp-section { padding: 48px 0; } }

.gpp-section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 32px; }
.gpp-section-head > div { max-width: 640px; display: flex; flex-direction: column; gap: 8px; }
.gpp-section-head .gpp-eyebrow { margin-bottom: 0; }
.gpp-link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }

.gpp-two-col { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.gpp-btn--outline.is-saved { color: var(--gpp-primary); border-color: var(--gpp-primary); }
.gpp-btn.is-saved svg path { fill: currentColor; }
