/* Document access gate — mirrors the contact page form (band, green rule, 1.55/0.75 split). */
.maven-document-access {
	background: #f1f5f7;
}
.maven-document-access__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(20rem, 0.75fr);
	gap: clamp(3rem, 8vw, 8rem);
	align-items: start;
}
.maven-document-access__title {
	max-width: 20ch;
	margin: 0 0 1.25rem;
	color: var(--maven-green-ink, #1f7a34);
	font-size: clamp(2rem, 2.8vw, 2.55rem);
	font-weight: 750;
	line-height: 1.1;
	letter-spacing: -0.035em;
}
.maven-document-access__kicker {
	margin: 0 0 0.6rem;
	color: var(--maven-green-ink, #1f7a34);
	font-size: 0.8rem;
	font-weight: 750;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.maven-document-access__intro {
	max-width: 45rem;
	margin: 0 0 3rem;
	color: var(--maven-muted, #64788a);
	font-size: var(--maven-body-lg, 1.22rem);
	line-height: 1.6;
}
.maven-document-access__notice {
	margin: 0 0 2rem;
	padding: 1.25rem;
	border-left: 4px solid #b42318;
	background: #fff0ee;
	color: #102a43;
}
.maven-document-access__notice strong {
	display: block;
	margin-bottom: 0.25rem;
}
.maven-document-access__notice p {
	margin: 0;
}

/* Form: same green rule + field rhythm as .maven-inquiry-form */
.maven-document-access__form {
	position: relative;
	padding-top: 2rem;
	border-top: 3px solid var(--maven-green, #39a845);
}
.maven-document-access__fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
}
.maven-document-access__field {
	min-width: 0;
}
.maven-document-access__field--wide {
	grid-column: 1 / -1;
}
.maven-document-access__field > label,
.maven-document-access__fields label {
	display: block;
	margin-bottom: 0.55rem;
	color: var(--maven-heading, #102a43);
	font-size: 0.875rem;
	font-weight: 750;
}
.maven-document-access__fields label span[aria-hidden='true'] {
	color: #d0342c;
}
.maven-document-access__field input:not([type='checkbox']),
.maven-document-access__field select {
	display: block;
	width: 100%;
	min-width: 0;
	min-height: 3.5rem;
	padding: 0.75rem 1rem;
	border: 1px solid #9eb1bf;
	border-radius: 0;
	background: #fff;
	color: var(--maven-heading, #102a43);
	font: 400 1rem/1.4 var(--maven-font, inherit);
	transition: border-color 180ms ease, box-shadow 180ms ease;
}
.maven-document-access__field input:not([type='checkbox']):hover,
.maven-document-access__field select:hover {
	border-color: #607d91;
}
.maven-document-access__field input:not([type='checkbox']):focus,
.maven-document-access__field select:focus {
	border-color: #0d5ea8;
	box-shadow: 0 0 0 3px rgba(13, 94, 168, 0.15);
	outline: none;
}
.maven-document-access__consent {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	max-width: 44rem;
	margin: 1.35rem 0 0;
	color: var(--maven-muted, #64788a);
	font-size: 0.875rem;
	line-height: 1.55;
}
.maven-document-access__consent input {
	flex: none;
	width: 1.05rem;
	height: 1.05rem;
	margin-top: 0.2rem;
	accent-color: var(--maven-green-ink, #1f7a34);
}
/* Cloudflare Turnstile sits right under the consent line; keep it off the text. */
.maven-document-access__form .cf-turnstile {
	margin: 1.6rem 0 0;
}
/*
 * Mobile header on this page: the theme sets white hamburger bars for inner pages
 * (they sit over a hero photo). This page has a white header, so the bars were
 * invisible. Same specificity as the theme's body:not(.home) rule would lose the
 * tie, hence the extra class in the chain.
 */
body.maven-document-access-page:not(.home)
	.maven-foundation__site
	.maven-header
	.maven-header__toggle
	i {
	background: #062f59 !important;
}
.maven-document-access__status {
	max-width: 44rem;
	margin: 1rem 0 0;
	padding: 0.85rem 1rem;
	border-left: 4px solid #c79a2e;
	background: #fdf7e7;
	color: #6b4e12;
	font-size: 0.9375rem;
	line-height: 1.55;
}
/* Beat the theme-wide button sizing (.maven-foundation__site ... .maven-button). */
.maven-document-access.maven-section .maven-document-access__form .maven-document-access__note {
	max-width: 44rem;
	margin: 1.1rem 0 0;
	color: var(--maven-muted, #64788a);
	font-size: 0.875rem;
	line-height: 1.55;
}
.maven-document-access.maven-section .maven-document-access__form .maven-document-access__submit {
	height: auto;
	min-width: 14rem;
	min-height: 3.5rem;
	padding-inline: 1.75rem;
	margin-top: 1.6rem;
	justify-content: center;
}
.maven-document-access__trap {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
}
.maven-document-access button:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

/* Right rail: navy panel, same as the contact page details card */
.maven-document-access__aside {
	position: sticky;
	top: 7.5rem;
	padding: clamp(2rem, 4vw, 3rem);
	background: #082f57;
	color: #dce8ef;
}
.maven-document-access__aside h2 {
	margin: 0 0 1rem;
	color: #fff;
	font-size: clamp(1.75rem, 2.2vw, 2.4rem);
	font-weight: 750;
	line-height: 1.1;
	letter-spacing: -0.03em;
	overflow-wrap: anywhere;
}
.maven-document-access__aside p {
	margin: 0 0 1.25rem;
	color: #dce8ef;
	font-size: 0.9375rem;
	line-height: 1.6;
}
.maven-document-access__aside h3 {
	margin: 2rem 0 0;
	color: #fff;
	font-size: 1.2rem;
	font-weight: 750;
	line-height: 1.35;
}
.maven-document-access__aside address {
	font-style: normal;
}
.maven-document-access__aside address p {
	color: #dce8ef;
}
.maven-document-access__aside dl {
	margin: 2rem 0 0;
}
.maven-document-access__aside dl > div {
	padding: 1rem 0;
	border-top: 1px solid rgba(220, 232, 239, 0.25);
}
.maven-document-access__aside dl > div:last-child {
	border-bottom: 1px solid rgba(220, 232, 239, 0.25);
}
.maven-document-access__aside dt {
	margin-bottom: 0.25rem;
	color: #a8e4b2;
	font-size: 0.8rem;
	font-weight: 750;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.maven-document-access__aside dd {
	margin: 0;
	color: #fff;
	font-size: 1rem;
	overflow-wrap: anywhere;
}
.maven-document-access__aside dd a {
	color: #fff;
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, 0.45);
	text-underline-offset: 0.22em;
}
.maven-document-access__aside dd a:hover,
.maven-document-access__aside dd a:focus-visible {
	text-decoration-color: #fff;
}
.maven-document-access__social {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem;
	margin-top: 2rem;
}
.maven-document-access__social a {
	color: #fff;
	font-size: 0.95rem;
	font-weight: 700;
	text-decoration: none;
}
.maven-document-access__social a:hover,
.maven-document-access__social a:focus-visible {
	text-decoration: underline;
}

@media (max-width: 62.5rem) {
	.maven-document-access__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 2.5rem;
	}
	.maven-document-access__aside {
		position: static;
	}
}
@media (max-width: 48rem) {
	.maven-document-access__intro {
		margin-bottom: 2rem;
	}
	.maven-document-access__fields {
		grid-template-columns: minmax(0, 1fr);
		gap: 1.1rem;
	}
	.maven-document-access.maven-section .maven-document-access__form .maven-document-access__submit {
		width: 100%;
		min-width: 0;
	}
}
