/* Page sections (Home blocks, reused on other pages). Sizes are given as desktop / tablet / mobile. */

/* Shared bits ------------------------------------------------------------- */

.ae-muted {
	color: var(--ae-text-secondary);
}

.ae-section__eyebrow {
	margin-bottom: 36px;
}

.ae-eyebrow--accent {
	color: var(--ae-signal);
}

.ae-split__action {
	margin-top: 24px;
}

.ae-arrow-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--ae-ink);
	font-size: 12px;
	font-weight: 500;
	line-height: 16px;
	letter-spacing: var(--ae-tracking-tight);
	text-transform: uppercase;
}

.ae-arrow-link .ae-icon {
	transition: transform var(--ae-duration-base) var(--ae-ease);
}

.ae-arrow-link:hover .ae-icon {
	transform: translateX(4px);
}

/* Horizontal scroller: grid on tablet/desktop, swipeable row of 78% cards on mobile. */
@media (max-width: 640px) {
	.ae-scroller {
		display: flex !important;
		gap: 12px !important;
		padding-bottom: 8px;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		scrollbar-width: thin;
	}

	.ae-scroller > * {
		flex: 0 0 78%;
		scroll-snap-align: start;
	}
}

/* Card rows without links are made focusable so keyboard users can scroll them (WCAG 2.1.1). */
.ae-scroller[tabindex]:focus-visible {
	outline: 2px solid var(--ae-signal);
	outline-offset: 4px;
}

/* Hero -------------------------------------------------------------------- */

.ae-hero {
	--ae-hero-height: 840px;
	--ae-hero-inset: 64px;
	--ae-hero-bottom: 96px;
	--ae-hero-gap: 44px;

	padding-top: 12px;
}

@media (max-width: 1279px) {
	.ae-hero {
		--ae-hero-height: 660px;
		--ae-hero-inset: 36px;
		--ae-hero-bottom: 64px;
		--ae-hero-gap: 36px;
	}
}

@media (max-width: 640px) {
	.ae-hero {
		--ae-hero-inset: 16px;
		--ae-hero-bottom: 48px;
		--ae-hero-gap: 28px;
	}
}

.ae-hero__frame {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: var(--ae-hero-height);
	overflow: hidden;
	background: var(--ae-ink);
}

/* Real <img> filling the frame once: no CSS background, so no tiling. */
.ae-hero__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/* Hero photos often have a bright sky or wall behind the eyebrow and the heading; dark ramps from
   the top and the left keep the white text column readable. */
.ae-hero__shade {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(to bottom, rgb(9 9 11 / 0.35) 0%, rgb(9 9 11 / 0) 35%),
		linear-gradient(to right, rgb(9 9 11 / 0.7) 0%, rgb(9 9 11 / 0.5) 50%, rgb(9 9 11 / 0) 85%),
		linear-gradient(to top, rgb(9 9 11 / 0.94) 0%, rgb(9 9 11 / 0.7) 34%, rgb(9 9 11 / 0.12) 72%, rgb(9 9 11 / 0) 100%),
		linear-gradient(133.66deg, rgb(0 0 0 / 0) 45%, rgb(0 0 0 / 0.85) 105%);
}

.ae-hero__content {
	position: relative;
	padding: 0 var(--ae-hero-inset) var(--ae-hero-bottom);
}

.ae-hero__eyebrow {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-bottom: 24px;
	color: var(--ae-white);
	font-size: 12px;
	font-weight: 700;
	line-height: 16px;
	letter-spacing: var(--ae-tracking-tight);
	text-transform: uppercase;
}

.ae-hero__slash {
	color: var(--ae-steel);
}

.ae-hero__title {
	max-width: 1280px;
	color: var(--ae-white);
}

@media (max-width: 1279px) {
	.ae-hero__title {
		line-height: 1.033; /* 62 / 60 */
	}
}

@media (max-width: 640px) {
	.ae-hero__title {
		line-height: 1.12; /* 38 / 34 */
	}
}

.ae-hero__text {
	max-width: 760px;
	margin-top: 28px;
	color: var(--ae-white);
}

.ae-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: var(--ae-hero-gap);
}

.ae-hero__btn {
	flex: 0 0 auto;
	min-width: 200px;
	height: 44px;
}

@media (max-width: 640px) {
	/* Full-width stacked buttons on mobile; a long label wraps. */
	.ae-hero__btn {
		flex: 1 1 100%;
		min-width: 0;
		height: auto;
		min-height: 36px;
		white-space: normal;
		text-align: center;
	}
}

/* Numbers ----------------------------------------------------------------- */

.ae-numbers__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0;
	padding: 0;
	border-bottom: 1px solid var(--ae-border-light);
	list-style: none;
}

.ae-numbers__item {
	container-type: inline-size;
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 64px 24px;
}

.ae-numbers__item:not(:last-child) {
	border-right: 1px solid var(--ae-border-light);
}

.ae-numbers__value {
	color: var(--ae-ink);
	/* Capped by the column width, so a six-character value such as "1,000+" never spills over the rule. */
	font-size: min(var(--ae-fs-num), 29cqi);
	font-weight: 300;
	line-height: 1;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.ae-numbers__label {
	color: var(--ae-text-secondary);
	font-size: 12px;
	font-weight: 700;
	line-height: 16px;
	text-transform: uppercase;
}

@media (max-width: 1279px) {
	.ae-numbers__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ae-numbers__item {
		padding: 44px 24px;
	}

	.ae-numbers__item:nth-child(2n) {
		border-right: 0;
	}

	.ae-numbers__item:nth-child(-n + 2) {
		border-bottom: 1px solid var(--ae-border-light);
	}
}

@media (max-width: 640px) {
	.ae-numbers__item {
		padding: 28px 24px;
	}
}

/* Loan program cards ------------------------------------------------------ */

.ae-cards {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (max-width: 1279px) {
	.ae-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.ae-card {
	/* Contains absolutely positioned hidden link text inside the mobile scroller. */
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--ae-mist);
}

.ae-card__img {
	width: 100%;
	height: 260px;
	object-fit: cover;
}

@media (max-width: 1279px) {
	.ae-card__img {
		height: 220px;
	}
}

.ae-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	padding: 24px;
}

.ae-card__text {
	flex: 1;
	min-height: 96px;
	margin: 16px 0 24px;
}

/* Process steps ----------------------------------------------------------- */

.ae-steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Four steps fill one row on desktop instead of leaving the last one alone. */
.ae-steps--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1279px) {
	.ae-steps--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.ae-steps,
	.ae-steps--4 {
		grid-template-columns: minmax(0, 1fr);
	}
}

.ae-step {
	padding: 24px 24px 0 0;
	border-top: 1px solid var(--ae-fog);
}

.ae-step .ae-num {
	display: block;
}

.ae-step__title {
	margin: 36px 0 16px;
}

/* Why us ------------------------------------------------------------------ */

.ae-why__title {
	max-width: 1100px;
	margin-bottom: var(--ae-section-gap);
}

.ae-why {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ae-why__card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	border-top: 1px solid var(--ae-fog);
}

.ae-why__img {
	width: 100%;
	height: 320px;
	margin-top: 24px;
	object-fit: cover;
}

@media (max-width: 1279px) {
	.ae-why__img {
		height: 240px;
	}
}

@media (max-width: 640px) {
	.ae-why__img {
		height: 200px;
	}
}

.ae-why__card-title {
	margin-top: 24px;
}

.ae-why__text {
	margin: 16px 0 24px;
}

.ae-why__text p + p {
	margin-top: 16px;
}

/* Difference (dark plate) ------------------------------------------------- */

.ae-diff {
	position: relative;
	overflow: hidden;
}

.ae-diff__watermark,
.ae-watermark {
	position: absolute;
	top: 50%;
	right: 0;
	left: 0;
	color: var(--ae-white);
	font-size: var(--ae-fs-watermark);
	font-weight: 300;
	line-height: 1;
	letter-spacing: -0.04em;
	text-align: center;
	text-transform: uppercase;
	white-space: nowrap;
	opacity: 0.03;
	transform: translateY(-50%);
	pointer-events: none;
	user-select: none;
}

.ae-diff__inner {
	position: relative;
}

.ae-diff .ae-h2,
.ae-diff__title {
	color: var(--ae-white);
}

.ae-diff__muted {
	color: var(--ae-fog);
}

.ae-diff__rows {
	margin: 0;
	padding: 0;
	border-bottom: 1px solid var(--ae-graphite);
	list-style: none;
}

.ae-diff__row {
	display: grid;
	grid-template-columns: 140px minmax(0, 1fr) minmax(0, 1.2fr);
	gap: 44px;
	align-items: start;
	padding: 36px 24px;
	border-top: 1px solid var(--ae-graphite);
	transition: background var(--ae-duration-base) var(--ae-ease);
}

.ae-diff__row:hover {
	background: var(--ae-on-dark-10);
}

.ae-diff__num {
	color: var(--ae-on-dark-10);
	transition: color var(--ae-duration-base) var(--ae-ease);
}

.ae-diff__row:first-child .ae-diff__num,
.ae-diff__row:hover .ae-diff__num {
	color: var(--ae-on-dark-40);
}

.ae-diff__title {
	line-height: 1.25;
}

@media (max-width: 1279px) {
	.ae-diff__row {
		grid-template-columns: 100px minmax(0, 1fr);
		gap: 24px;
	}

	.ae-diff__body {
		grid-column: 1 / -1;
	}
}

@media (max-width: 640px) {
	.ae-diff__row {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
	}
}

/* Multi-paragraph row text (Our story values). */
.ae-diff__text + .ae-diff__text {
	margin-top: 16px;
}

/* About teaser ------------------------------------------------------------ */

.ae-about {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 64px;
	align-items: start;
}

@media (max-width: 1279px) {
	.ae-about {
		gap: 44px;
	}
}

@media (max-width: 640px) {
	.ae-about {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}
}

.ae-about__img {
	width: 100%;
	height: 520px;
	object-fit: cover;
}

@media (max-width: 1279px) {
	.ae-about__img {
		height: 360px;
	}
}

@media (max-width: 640px) {
	.ae-about__img {
		height: 260px;
	}
}

.ae-about__specs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	margin: 16px 0 0;
}

@media (max-width: 1279px) {
	.ae-about__specs {
		grid-template-columns: 1fr;
	}
}

.ae-about__spec {
	padding: 24px;
	background: var(--ae-mist);
}

.ae-about__spec + .ae-about__spec {
	background: var(--ae-ink);
}

.ae-about__spec-label {
	color: var(--ae-text-secondary);
	font-size: 12px;
	font-weight: 700;
	line-height: 16px;
	text-transform: uppercase;
}

.ae-about__spec + .ae-about__spec .ae-about__spec-label {
	color: var(--ae-steel);
}

.ae-about__spec-value {
	margin: 10px 0 0;
	color: var(--ae-ink);
	font-size: 24px;
	line-height: 1;
}

.ae-about__spec + .ae-about__spec .ae-about__spec-value {
	color: var(--ae-white);
}

.ae-about__lead {
	margin-top: 36px;
	line-height: 1.4;
}

.ae-about__text {
	margin-top: 24px;
}

.ae-about__quote {
	margin-top: 44px;
	padding: 36px;
	border-left: 1px solid var(--ae-fog);
	background: var(--ae-mist);
}

/* Contact form section ---------------------------------------------------- */

.ae-contact {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 64px;
	align-items: start;
}

@media (max-width: 1279px) {
	.ae-contact {
		grid-template-columns: minmax(0, 1fr);
		gap: 44px;
	}
}

@media (max-width: 640px) {
	.ae-contact {
		gap: 40px;
	}
}

.ae-contact__text {
	max-width: 520px;
	margin: 28px 0 44px;
}

.ae-contact__details {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	padding-top: 24px;
	border-top: 1px solid var(--ae-fog);
}

.ae-contact__big {
	color: var(--ae-ink);
	font-size: 24px;
	line-height: 1;
	overflow-wrap: anywhere;
}

.ae-contact__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-top: 8px;
	color: var(--ae-text-secondary);
	font-size: 12px;
	font-weight: 700;
	line-height: 16px;
	text-transform: uppercase;
}

.ae-contact__dot {
	color: var(--ae-fog);
}

.ae-contact__panel {
	padding: 44px;
	background: var(--ae-white);
}

@media (max-width: 1279px) {
	.ae-contact__panel {
		padding: 36px;
	}
}

@media (max-width: 640px) {
	.ae-contact__panel {
		padding: 20px;
	}
}

.ae-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

@media (max-width: 640px) {
	.ae-form__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Pairs with a label that may wrap: label, control and error share rows, so the inputs line up. */
.ae-form__grid--aligned > .ae-field {
	display: grid;
	grid-row: span 3;
	grid-template-rows: subgrid;
	row-gap: 8px;
	align-content: start;
}

.ae-form__grid--aligned > .ae-field > .ae-field__label {
	align-self: end;
}

/* One column on phones: nothing to line up. */
@media (max-width: 640px) {
	.ae-form__grid--aligned > .ae-field {
		display: flex;
		grid-row: auto;
	}
}

.ae-form__row {
	margin-top: 16px;
}

.ae-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ae-field__label {
	color: var(--ae-text-secondary);
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
}

.ae-input:focus-visible {
	outline: 2px solid var(--ae-signal);
	outline-offset: 0;
}

.ae-select {
	position: relative;
	display: flex;
	align-items: center;
}

.ae-select__control {
	padding-right: 48px;
	cursor: pointer;
	appearance: none;
}

.ae-select__icon {
	position: absolute;
	right: 16px;
	color: var(--ae-ink);
	pointer-events: none;
}

/* Radio group (loan application): options side by side, styled like the inputs. */
.ae-choice {
	min-width: 0;
	margin-inline: 0;
	margin-bottom: 0;
	padding: 0;
	border: 0;
}

.ae-choice__legend {
	margin-bottom: 8px;
	padding: 0;
}

.ae-choice__options {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ae-choice__option {
	display: flex;
	flex: 1 1 0;
	align-items: center;
	gap: 12px;
	min-width: 120px;
	height: 56px;
	padding: 0 16px;
	background: var(--ae-white);
	box-shadow: var(--ae-shadow-ring-input);
	color: var(--ae-ink);
	font-size: 14px;
	line-height: 20px;
	cursor: pointer;
}

.ae-choice__input {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--ae-signal);
	cursor: pointer;
}

.ae-choice__option:has(.ae-choice__input:checked) {
	box-shadow: inset 0 0 0 1px var(--ae-signal);
}

.ae-choice__option:has(.ae-choice__input:focus-visible) {
	outline: 2px solid var(--ae-signal);
	outline-offset: 0;
}

.ae-choice[aria-invalid="true"] .ae-choice__option {
	box-shadow: inset 0 0 0 1px var(--ae-destructive);
}

.ae-form .ae-choice__input {
	scroll-margin-top: 160px;
}

/* Checkbox group (several answers): narrower options that wrap into rows. */
.ae-choice--multi .ae-choice__option {
	flex: 1 1 140px;
}

.ae-input--textarea {
	height: auto;
	min-height: 120px;
	padding: 16px;
	resize: vertical;
}

.ae-input--file {
	height: auto;
	padding: 12px 16px;
	cursor: pointer;
}

.ae-input--file::file-selector-button {
	height: 32px;
	margin-right: 16px;
	padding: 0 12px;
	border: 0;
	background: var(--ae-ink);
	color: var(--ae-white);
	font: inherit;
	font-size: 12px;
	font-weight: 500;
	text-transform: uppercase;
	cursor: pointer;
}

.ae-field__hint {
	color: var(--ae-text-secondary);
	font-size: 12px;
	line-height: 16px;
}

/* Conditional fields hidden by form.js (they stay visible without JS). */
.ae-field[hidden] {
	display: none;
}

.ae-form__submit {
	margin-top: 36px;
}

.ae-form__note {
	margin-top: 16px;
}

/* Consent checkbox: small print with the box on its first line, legal links under the text. */
.ae-agree {
	margin-top: 24px;
}

.ae-agree__option {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	color: var(--ae-text-secondary);
	font-size: 12px;
	line-height: 18px;
	cursor: pointer;
}

.ae-agree__input {
	flex: none;
}

.ae-agree__input:focus-visible {
	outline: 2px solid var(--ae-signal);
	outline-offset: 2px;
}

.ae-agree__links {
	padding-left: 30px;
}

.ae-agree__links a {
	color: var(--ae-ink);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.ae-agree + .ae-form__submit {
	margin-top: 24px;
}

.ae-form__privacy {
	margin-top: 12px;
}

.ae-form__privacy a,
.ae-form-sent__text a {
	color: var(--ae-ink);
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* Honeypot: off-screen rather than display:none, which some bots skip. */
.ae-form__hp {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.ae-form {
	position: relative;
}

/* Focus moves to the first invalid field or the "Request received" title: keep it and its label
   clear of the sticky header (80px). */
.ae-form .ae-input,
.ae-form__alert,
.ae-form-sent__title {
	scroll-margin-top: 128px;
}

.ae-form[hidden],
.ae-form-sent[hidden],
.ae-field__error[hidden],
.ae-form__alert[hidden] {
	display: none;
}

.ae-form__alert {
	margin-bottom: 24px;
	padding: 12px 16px;
	background: var(--ae-mist);
	box-shadow: inset 2px 0 0 var(--ae-destructive);
	color: var(--ae-ink);
	font-size: 14px;
	line-height: 20px;
}

.ae-form__alert:focus {
	outline: 2px solid var(--ae-signal);
	outline-offset: 2px;
}

.ae-input[aria-invalid="true"] {
	box-shadow: inset 0 0 0 1px var(--ae-destructive);
}

/* #dc2626 on white: 4.8:1, passes WCAG AA for small text. */
.ae-field__error {
	color: var(--ae-destructive);
	font-size: 14px;
	line-height: 20px;
}

.ae-form__submit:disabled {
	cursor: progress;
	opacity: 0.7;
}

/* "Request received" state: 56px accent square with a rotated plus. */
.ae-form-sent {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
	padding: 44px 0;
}

.ae-form-sent__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	background: var(--ae-signal);
	color: var(--ae-ink);
}

.ae-form-sent__title:focus {
	outline: none;
}

.ae-form-sent__title:focus-visible {
	outline: 2px solid var(--ae-signal);
	outline-offset: 4px;
}

/* ==========================================================================
   Inner pages: loan programs and the /loan-programs/ hub.
   ========================================================================== */

/* Program hero: desktop / tablet: 780 / 660 tall (phones: as tall as the text), smaller display type. */
.ae-hero--program {
	--ae-hero-height: 780px;
	--ae-hero-bottom: 88px;
}

@media (max-width: 1279px) {
	.ae-hero--program {
		--ae-hero-height: 660px;
		--ae-hero-bottom: 60px;
	}
}

@media (max-width: 640px) {
	.ae-hero--program {
		--ae-hero-bottom: 44px;
	}
}

.ae-hero--program .ae-hero__title {
	line-height: 1.02;
}

.ae-hero--program .ae-hero__text {
	max-width: 780px;
}

@media (max-width: 640px) {
	/* On phones the hero is as tall as its text plus a short photo strip, so the text starts in the
	   first screen; a taller dark ramp keeps it readable over the bright top of the photo. */
	.ae-hero .ae-hero__frame {
		min-height: 0;
		padding-top: 112px;
	}

	.ae-hero .ae-hero__shade {
		background:
			linear-gradient(to bottom, rgb(9 9 11 / 0.45) 0%, rgb(9 9 11 / 0) 30%),
			linear-gradient(to top, rgb(9 9 11 / 0.94) 0%, rgb(9 9 11 / 0.82) 55%, rgb(9 9 11 / 0.45) 85%, rgb(9 9 11 / 0.2) 100%),
			linear-gradient(133.66deg, rgb(0 0 0 / 0) 45%, rgb(0 0 0 / 0.85) 105%);
	}
}

@media (min-width: 641px) {
	.ae-hero--program .ae-hero__btn {
		min-width: 240px;
	}
}

/* Overview ---------------------------------------------------------------- */

.ae-overview {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: var(--ae-section-gap);
	align-items: start;
}

@media (max-width: 1279px) {
	.ae-overview {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* List pair --------------------------------------------------------------- */

.ae-lists {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

@media (max-width: 640px) {
	.ae-lists {
		grid-template-columns: minmax(0, 1fr);
	}
}

.ae-lists__panel {
	--ae-list-line: var(--ae-fog);
	--ae-list-num: var(--ae-steel);

	padding: 36px;
	background: var(--ae-mist);
	color: var(--ae-ink);
}

.ae-lists__panel--dark {
	--ae-list-line: var(--ae-graphite);
	--ae-list-num: var(--ae-on-dark-40);

	background: var(--ae-ink);
	color: var(--ae-white);
}

@media (max-width: 1279px) {
	.ae-lists__panel {
		padding: 28px;
	}
}

@media (max-width: 640px) {
	.ae-lists__panel {
		padding: 20px;
	}
}

.ae-lists__title {
	margin-bottom: 28px;
}

.ae-lists__items {
	margin: 0;
	padding: 0;
	border-bottom: 1px solid var(--ae-list-line);
	list-style: none;
}

.ae-lists__item {
	display: flex;
	gap: 20px;
	padding: 20px 0;
	border-top: 1px solid var(--ae-list-line);
	font-size: 16px;
	line-height: 24px;
}

.ae-lists__num {
	flex-shrink: 0;
	color: var(--ae-list-num);
	font-size: 18px;
	font-weight: 300;
	line-height: 1.3;
}

/* Plain photo cards (Why Apollonia): white cards on a muted section. */
.ae-cards--plain .ae-card {
	background: var(--ae-white);
}

.ae-cards--plain .ae-card__img {
	height: 240px;
}

@media (max-width: 1279px) {
	.ae-cards--plain .ae-card__img {
		height: 200px;
	}
}

.ae-cards--plain .ae-card__text {
	min-height: 0;
	margin: 16px 0 0;
}

/* CTA plate --------------------------------------------------------------- */

.ae-plate {
	position: relative;
	overflow: hidden;
}

.ae-plate__inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: var(--ae-split-gap, 44px);
	align-items: end;
}

@media (max-width: 1279px) {
	.ae-plate__inner {
		grid-template-columns: minmax(0, 1fr);
	}
}

.ae-plate .ae-h2 {
	color: var(--ae-white);
}

.ae-plate__text {
	color: var(--ae-fog);
}

.ae-plate__text + .ae-plate__text {
	margin-top: 20px;
}

.ae-plate__text--strong {
	color: var(--ae-white);
	font-weight: 500;
}

.ae-plate__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 28px;
}

.ae-plate__btn {
	flex: 0 0 240px;
	width: 240px;
	height: 44px;
}

@media (max-width: 640px) {
	.ae-plate__btn {
		flex: 1 1 100%;
		width: auto;
		min-width: 0;
		height: 36px;
	}
}

.ae-plate__badges {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-top: 28px;
	color: var(--ae-fog);
	font-size: 12px;
	font-weight: 700;
	line-height: 16px;
	text-transform: uppercase;
}

.ae-plate__badge-accent {
	color: var(--ae-signal);
}

.ae-plate__dot {
	color: var(--ae-graphite);
}

.ae-caption {
	margin-top: 16px;
	color: var(--ae-ink);
}

/* The difference, inner-page geometry (programs, About) ----------------- */

.ae-diff--inner .ae-diff__row {
	grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1.2fr);
	padding: 36px 0;
}

.ae-diff--inner .ae-diff__row:hover {
	background: none;
}

.ae-diff--inner .ae-diff__num {
	font-size: var(--ae-fs-num-inner);
}

.ae-diff--inner .ae-diff__caption {
	color: var(--ae-white);
}

@media (max-width: 1279px) {
	.ae-diff--inner .ae-diff__row {
		grid-template-columns: 90px minmax(0, 1fr);
		gap: 24px;
	}
}

@media (max-width: 640px) {
	.ae-diff--inner .ae-diff__row {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}
}

/* The difference, light variant (programs) ------------------------------- */

.ae-diff--light .ae-h2,
.ae-diff--light .ae-diff__title {
	color: var(--ae-ink);
}

.ae-diff--light .ae-diff__muted {
	color: var(--ae-text-secondary);
}

.ae-diff--light .ae-diff__caption {
	color: var(--ae-ink);
}

.ae-diff--light .ae-diff__rows {
	border-bottom-color: var(--ae-fog);
}

.ae-diff--light .ae-diff__row {
	border-top-color: var(--ae-fog);
}

.ae-diff--light .ae-diff__num,
.ae-diff--light .ae-diff__row:first-child .ae-diff__num,
.ae-diff--light .ae-diff__row:hover .ae-diff__num {
	color: var(--ae-fog);
}

/* FAQ accordion ----------------------------------------------------------- */

.ae-faq {
	--ae-faq-pad: 32px;
	--ae-faq-gap: 36px;
	--ae-faq-num: 24px;
}

@media (max-width: 1279px) {
	.ae-faq {
		--ae-faq-pad: 26px;
		--ae-faq-gap: 20px;
		--ae-faq-num: 20px;
	}
}

@media (max-width: 640px) {
	.ae-faq {
		--ae-faq-pad: 20px;
		--ae-faq-gap: 12px;
		--ae-faq-num: 16px;
	}
}

.ae-faq__item {
	border: 1px solid var(--ae-fog);
	background: var(--ae-white);
}

.ae-faq__item + .ae-faq__item {
	margin-top: 16px;
}

.ae-faq__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: var(--ae-faq-pad);
	cursor: pointer;
	list-style: none;
}

.ae-faq__question::-webkit-details-marker {
	display: none;
}

.ae-faq__question:focus-visible {
	outline: 2px solid var(--ae-signal);
	outline-offset: -2px;
}

.ae-faq__label {
	display: flex;
	align-items: baseline;
	gap: var(--ae-faq-gap);
	min-width: 0;
}

.ae-faq__num {
	flex-shrink: 0;
	color: var(--ae-fog);
	font-size: var(--ae-faq-num);
	font-weight: 300;
	line-height: 1;
}

.ae-faq__text {
	color: var(--ae-ink);
	font-size: var(--ae-fs-h3-inner);
	font-weight: 500;
	line-height: 1.25;
	text-transform: uppercase;
	text-wrap: pretty;
}

.ae-faq__question:hover .ae-faq__text {
	color: var(--ae-signal);
}

.ae-faq__icon {
	display: inline-flex;
	color: var(--ae-ink);
}

.ae-faq__item[open] .ae-faq__icon--plus,
.ae-faq__item:not([open]) .ae-faq__icon--minus {
	display: none;
}

.ae-faq__answer {
	max-width: 1100px;
	padding: 0 var(--ae-faq-pad) var(--ae-faq-pad);
	text-wrap: pretty;
}

.ae-faq__answer p + p {
	margin-top: 16px;
}

/* Program strip ----------------------------------------------------------- */

.ae-strip {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--ae-border-light);
	list-style: none;
}

@media (max-width: 1279px) {
	.ae-strip {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.ae-strip {
		grid-template-columns: minmax(0, 1fr);
	}
}

.ae-strip__link {
	display: block;
	height: 100%;
	padding: 32px 24px;
	border-bottom: 1px solid var(--ae-border-light);
	color: var(--ae-ink);
	font-size: var(--ae-fs-h3-inner);
	font-weight: 500;
	line-height: 1.2;
	text-transform: uppercase;
	transition: color var(--ae-duration-base) var(--ae-ease);
}

.ae-strip__item:first-child .ae-strip__link {
	padding-left: 0;
}

/* More than five programs do not fit one row: two rows of three, each row aligned with the heading. */
@media (min-width: 1280px) {
	.ae-strip--rows {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.ae-strip--rows .ae-strip__item:nth-child(3n + 1) .ae-strip__link {
		padding-left: 0;
	}
}

@media (max-width: 1279px) {
	.ae-strip__link {
		padding-block: 26px;
	}

	/* Two columns: align the whole left column with the heading, not only the first link. */
	.ae-strip__item:nth-child(odd) .ae-strip__link {
		padding-left: 0;
	}
}

@media (max-width: 640px) {
	.ae-strip__link {
		padding: 20px 0;
	}
}

a.ae-strip__link:hover,
.ae-strip__link.is-current {
	color: var(--ae-signal-text);
}

/* Linked row titles (/broker/ "Where capital is deployed"). */
.ae-diff__link {
	color: inherit;
	transition: color var(--ae-duration-base) var(--ae-ease);
}

.ae-diff__link:hover {
	color: var(--ae-signal);
}

.ae-about__action {
	margin-top: 36px;
}

/* ==========================================================================
   About, FAQ, Contact, Privacy, Terms.
   ========================================================================== */

/* Short page hero (About): desktop / tablet: 620 / 480 tall (phones: as tall as the text). */
.ae-hero--page {
	--ae-hero-height: 620px;
	--ae-hero-bottom: 72px;
	--ae-hero-gap: 64px;
}

@media (max-width: 1279px) {
	.ae-hero--page {
		--ae-hero-height: 480px;
		--ae-hero-bottom: 52px;
		--ae-hero-gap: 44px;
	}
}

@media (max-width: 640px) {
	.ae-hero--page {
		--ae-hero-bottom: 40px;
		--ae-hero-gap: 36px;
	}
}

.ae-hero--page .ae-hero__title {
	max-width: 1200px;
	line-height: 1.02;
}

.ae-hero--page .ae-hero__text {
	margin-top: 24px;
}

@media (min-width: 641px) {
	.ae-hero--page .ae-hero__btn {
		min-width: 240px;
	}
}

.ae-overview__text {
	margin-top: 24px;
	line-height: 26px;
}

.ae-numbers--bordered .ae-numbers__list {
	border-top: 1px solid var(--ae-border-light);
}

/* About "What we do" cards: desktop / tablet / mobile: 220 / 200 / 200 photos. */
.ae-cards--about .ae-card__img {
	height: 220px;
}

.ae-cards--about .ae-card__text {
	min-height: 120px;
}

@media (max-width: 1279px) {
	.ae-cards--about .ae-card__img {
		height: 200px;
	}

	.ae-cards--about .ae-card__text {
		min-height: 0;
	}
}

/* Tabs (About, FAQ) ------------------------------------------------------- */

.ae-tabs__nav {
	margin-bottom: var(--ae-section-gap);
}

.ae-tabs__eyebrow {
	margin-bottom: 20px;
}

.ae-tabs__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ae-tabs__tab {
	height: 44px;
	padding: 0 24px;
	border: 1px solid var(--ae-fog);
	background: transparent;
	color: var(--ae-graphite);
	font: inherit;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: -0.03em;
	text-transform: uppercase;
	white-space: nowrap;
	cursor: pointer;
	transition:
		background var(--ae-duration-base) var(--ae-ease),
		color var(--ae-duration-base) var(--ae-ease),
		border-color var(--ae-duration-base) var(--ae-ease);
}

.ae-tabs__tab:hover {
	border-color: var(--ae-ink);
	color: var(--ae-ink);
}

.ae-tabs__tab.is-active {
	border-color: var(--ae-ink);
	background: var(--ae-ink);
	color: var(--ae-white);
}

.ae-tabs__tab:focus-visible {
	outline: 2px solid var(--ae-signal);
	outline-offset: 2px;
}

@media (max-width: 640px) {
	.ae-tabs__tab {
		height: 40px;
		padding: 0 16px;
		font-size: 12px;
	}
}

/* Without JS every panel is shown in turn and the tab list is hidden. */
.no-js .ae-tabs__nav {
	display: none;
}

.no-js .ae-tabs__panel + .ae-tabs__panel {
	margin-top: var(--ae-section-gap);
}

.js .ae-tabs__panel:not(.is-active) {
	display: none;
}

/* About "What sets us apart" panels */
.ae-apart {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
	gap: var(--ae-section-gap);
	align-items: start;
}

@media (max-width: 1279px) {
	.ae-apart {
		grid-template-columns: minmax(0, 1fr);
	}
}

.ae-apart__title {
	color: var(--ae-ink);
	font-size: var(--ae-fs-title-lg);
	font-weight: 500;
	line-height: 1.2;
	text-transform: uppercase;
	text-wrap: pretty;
}

.ae-apart__text {
	max-width: 900px;
	margin-top: 20px;
	color: var(--ae-text-secondary);
	font-size: 16px;
	line-height: 26px;
}

.ae-apart__title + .ae-apart__text {
	margin-top: 28px;
}

.ae-apart__img {
	width: 100%;
	height: 420px;
	object-fit: cover;
}

@media (max-width: 1279px) {
	.ae-apart__img {
		height: 320px;
	}
}

@media (max-width: 640px) {
	.ae-apart__img {
		height: 240px;
	}
}

/* Team -------------------------------------------------------------------- */

.ae-team {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Beyond a pair of people: narrower cards, three to a row. */
.ae-team--compact {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1279px) {
	.ae-team--compact {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.ae-team,
	.ae-team--compact {
		grid-template-columns: minmax(0, 1fr);
	}
}

.ae-team__card {
	position: relative;
	padding-top: 24px;
	border-top: 1px solid var(--ae-fog);
}

.ae-team__frame {
	position: relative;
	aspect-ratio: 9 / 11.2;
	overflow: hidden;
	background: var(--ae-mist);
}

.ae-team__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

/* Card of a person whose headshot has not been supplied yet. */
.ae-team__frame--blank {
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--ae-fog);
}

.ae-team__initials {
	color: var(--ae-steel-text);
	font-size: 48px;
	font-weight: 300;
	line-height: 1;
	letter-spacing: var(--ae-tracking-tight);
}

.ae-team__name {
	margin-top: 24px;
}

.ae-team__role {
	margin-top: 10px;
}

.ae-team__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 28px;
	margin: 16px 0 0;
}

/* Team profile ------------------------------------------------------------ */

.ae-profile__head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
	gap: var(--ae-section-gap);
	align-items: end;
}

@media (max-width: 1279px) {
	.ae-profile__head {
		grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
	}
}

@media (max-width: 640px) {
	.ae-profile__head {
		grid-template-columns: minmax(0, 1fr);
	}

	.ae-profile__photo {
		order: -1;
		max-width: 320px;
	}
}

.ae-profile__role {
	margin-top: 20px;
}

.ae-profile__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 28px;
	margin: 36px 0 0;
	padding-top: 24px;
	border-top: 1px solid var(--ae-fog);
}

.ae-profile__bio {
	padding-top: var(--ae-section-gap);
	/* A rule across the content only, not the side gutters of the wrap. */
	background: linear-gradient(var(--ae-border-light), var(--ae-border-light)) no-repeat center top / calc(100% - 2 * var(--ae-gutter)) 1px;
}

/* Where we lend ----------------------------------------------------------- */

.ae-states-intro {
	padding-top: var(--ae-section-gap);
	border-top: 1px solid var(--ae-border-light);
}

.ae-states {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	column-gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (max-width: 1279px) {
	.ae-states {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.ae-states {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.ae-states__item {
	display: flex;
	align-items: baseline;
	gap: 12px;
	padding: 16px 0;
	border-top: 1px solid var(--ae-fog);
	color: var(--ae-ink);
	font-size: 16px;
	line-height: 24px;
}

.ae-states__code {
	flex-shrink: 0;
	width: 28px;
	color: var(--ae-steel-text);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: var(--ae-tracking-tight);
}

.ae-states-excluded {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: var(--ae-section-gap);
	margin-top: var(--ae-section-gap);
}

@media (max-width: 1279px) {
	.ae-states-excluded {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}
}

.ae-states-excluded__text {
	margin-top: 16px;
	color: rgb(255 255 255 / 0.7);
}

.ae-states--excluded {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-self: start;
}

.ae-states--excluded .ae-states__item {
	border-top-color: var(--ae-graphite);
	color: var(--ae-white);
}

.ae-states--excluded .ae-states__code {
	color: var(--ae-on-dark-40);
}

/* Insights ---------------------------------------------------------------- */

.ae-insights__intro {
	max-width: 1100px;
	margin-bottom: var(--ae-section-gap);
}

.ae-article-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (max-width: 1279px) {
	.ae-article-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.ae-article-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

.ae-article-card__media {
	display: block;
}

.ae-article-card__meta,
.ae-article-card__author {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	color: var(--ae-text-secondary);
	font-size: 12px;
	font-weight: 700;
	line-height: 16px;
	text-transform: uppercase;
}

.ae-article-card__title {
	margin-top: 16px;
}

.ae-article-card__title a {
	color: inherit;
}

.ae-article-card__title a:hover {
	color: var(--ae-signal);
}

.ae-insights__empty {
	max-width: 900px;
	padding-top: 24px;
	border-top: 1px solid var(--ae-fog);
}

.ae-insights__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 28px;
	margin-top: 24px;
}

.ae-pagination {
	margin-top: var(--ae-section-gap);
}

.ae-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ae-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	box-shadow: var(--ae-shadow-ring-input);
	color: var(--ae-ink);
	font-size: 14px;
}

.ae-pagination .page-numbers.current {
	background: var(--ae-ink);
	box-shadow: none;
	color: var(--ae-white);
}

.ae-pagination a.page-numbers:hover {
	color: var(--ae-signal);
}

.ae-article .ae-section__eyebrow a {
	color: inherit;
}

.ae-article .ae-section__eyebrow a:hover {
	color: var(--ae-signal);
}

.ae-article .ae-section__eyebrow {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.ae-article__figure {
	margin: 0 0 var(--ae-section-gap);
}

.ae-article__img {
	width: 100%;
	max-height: 720px;
	object-fit: cover;
}

.ae-article__layout {
	display: grid;
	grid-template-columns: minmax(0, 900px) minmax(0, 320px);
	justify-content: space-between;
	gap: var(--ae-section-gap);
	align-items: start;
	padding-bottom: var(--ae-section-pad);
}

@media (max-width: 1279px) {
	.ae-article__layout {
		grid-template-columns: minmax(0, 1fr);
	}
}

.ae-article__content h2 {
	margin-top: 44px;
	color: var(--ae-ink);
	font-size: 24px;
	font-weight: 500;
	line-height: 1.3;
}

.ae-article__content img {
	max-width: 100%;
	height: auto;
}

.ae-article__author {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	padding: 28px;
	background: var(--ae-mist);
}

@media (min-width: 1280px) {
	.ae-article__author {
		position: sticky;
		top: calc(var(--ae-header-height) + 24px);
	}
}

.ae-article__author-img {
	width: 96px;
	height: 96px;
	object-fit: cover;
	object-position: center top;
}

.ae-article__author-name a {
	color: inherit;
}

.ae-article__author-name a:hover {
	color: var(--ae-signal);
}

/* Working with us --------------------------------------------------------- */

.ae-split-cta__para {
	line-height: 26px;
}

.ae-split-cta__para + .ae-split-cta__para {
	margin-top: 16px;
}

.ae-split-cta__question {
	margin-top: 28px;
	color: var(--ae-ink);
	font-size: var(--ae-fs-lead);
	font-weight: 500;
	line-height: 1.35;
	text-wrap: pretty;
}

.ae-split-cta__text {
	margin-top: 16px;
	line-height: 26px;
}

.ae-split-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 36px;
}

.ae-split-cta__btn {
	flex: 0 0 240px;
	width: 240px;
	height: 44px;
}

@media (max-width: 640px) {
	.ae-split-cta__btn {
		flex: 1 1 100%;
		width: auto;
		min-width: 0;
		height: 36px;
	}
}

/* Muted CTA plate with contacts (About) ----------------------------------- */

.ae-plate--muted {
	padding: 64px;
	background: var(--ae-mist);
}

@media (max-width: 1279px) {
	.ae-plate--muted {
		padding: 44px;
	}
}

@media (max-width: 640px) {
	.ae-plate--muted {
		padding: 24px;
	}
}

.ae-plate--muted .ae-plate__text {
	color: var(--ae-text-secondary);
	line-height: 26px;
}

.ae-plate__contacts {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	margin-top: 28px;
	font-size: var(--ae-fs-lead);
	line-height: 1.2;
}

.ae-plate__contacts a {
	color: var(--ae-ink);
	overflow-wrap: anywhere;
}

.ae-plate__contacts a:hover {
	color: var(--ae-signal);
}

.ae-plate--muted .ae-plate__dot {
	color: var(--ae-fog);
}

/* Page head without photo (FAQ, legal) ----------------------------------- */

.ae-page-head {
	padding-top: 96px;
	padding-bottom: var(--ae-section-pad);
}

@media (max-width: 1279px) {
	.ae-page-head {
		padding-top: 64px;
	}
}

@media (max-width: 640px) {
	.ae-page-head {
		padding-top: 44px;
	}
}

.ae-page-head__split {
	margin-bottom: 0;
}

.ae-page-head--stack {
	padding-top: var(--ae-section-pad);
	padding-bottom: var(--ae-section-gap);
}

.ae-page-head__title {
	max-width: 1200px;
}

.ae-page-head__text {
	margin-bottom: 28px;
	line-height: 26px;
}

.ae-page-head__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.ae-page-head__btn {
	flex: 0 0 200px;
	width: 200px;
	height: 44px;
}

@media (max-width: 640px) {
	.ae-page-head__actions {
		gap: 8px;
	}

	.ae-page-head__btn {
		flex: 1 1 100%;
		width: auto;
		min-width: 0;
		height: 36px;
	}
}

.ae-page-head__tagline,
.ae-page-head__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	color: var(--ae-text-secondary);
	font-size: 12px;
	font-weight: 700;
	line-height: 16px;
	text-transform: uppercase;
}

.ae-page-head__tagline {
	margin-top: 28px;
}

.ae-page-head__meta {
	margin-top: 36px;
	padding-top: 24px;
	border-top: 1px solid var(--ae-fog);
}

.ae-page-head__meta a {
	color: inherit;
}

.ae-page-head__meta a:hover {
	color: var(--ae-signal);
}

.ae-page-head__accent {
	color: var(--ae-signal-text);
}

.ae-page-head__dot {
	color: var(--ae-fog);
}

/* FAQ page ---------------------------------------------------------------- */

.ae-faq-intro {
	padding-top: var(--ae-section-gap);
	border-top: 1px solid var(--ae-border-light);
}

.ae-faq-intro p {
	max-width: 1100px;
}

/* FAQ bottom plate uses 200px-wide buttons, not the 240px of program plates. */
@media (min-width: 641px) {
	.ae-page--compact .ae-plate__btn {
		flex-basis: 200px;
		width: 200px;
	}
}

.ae-faq-tabs .ae-tabs__tab {
	padding: 0 18px;
	font-size: 13px;
}

@media (max-width: 640px) {
	.ae-faq-tabs .ae-tabs__tab {
		padding: 0 14px;
		font-size: 12px;
	}
}

.ae-faq-tabs__head {
	display: flex;
	align-items: baseline;
	gap: 20px;
	margin-bottom: 28px;
}

@media (max-width: 1279px) {
	.ae-faq-tabs__head {
		gap: 16px;
	}
}

@media (max-width: 640px) {
	.ae-faq-tabs__head {
		gap: 12px;
	}
}

.ae-faq-tabs__num {
	flex-shrink: 0;
	color: var(--ae-fog);
	font-size: var(--ae-fs-num-sm);
	font-weight: 300;
	line-height: 1;
}

.ae-faq-tabs__title {
	color: var(--ae-ink);
	font-size: var(--ae-fs-title-lg);
	font-weight: 500;
	line-height: 1.2;
	text-transform: uppercase;
	text-wrap: pretty;
}

/* Accordion without numbers (FAQ page): desktop / tablet / mobile: 28 / 24 / 18 padding, smaller questions. */
.ae-faq--plain {
	--ae-faq-pad: 28px;
}

@media (max-width: 1279px) {
	.ae-faq--plain {
		--ae-faq-pad: 24px;
	}
}

@media (max-width: 640px) {
	.ae-faq--plain {
		--ae-faq-pad: 18px;
	}
}

.ae-faq--plain .ae-faq__text {
	font-size: var(--ae-fs-h3-faq);
	line-height: 1.3;
}

.ae-faq--plain .ae-faq__answer {
	max-width: 1000px;
	line-height: 26px;
}

/* Contact page ------------------------------------------------------------ */

.ae-contact-page .ae-contact__text {
	max-width: 560px;
}

.ae-contact-page .ae-contact__details {
	padding-top: 28px;
}

.ae-contact-page .ae-contact__big {
	font-size: var(--ae-fs-title-lg);
	line-height: 1.1;
}

.ae-contact__tiles {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin: 36px 0 0;
}

@media (max-width: 640px) {
	.ae-contact__tiles {
		grid-template-columns: minmax(0, 1fr);
	}
}

.ae-contact__tile {
	padding: 24px;
	background: var(--ae-white);
}

.ae-contact__tile dd {
	margin: 10px 0 0;
	color: var(--ae-ink);
	font-size: 18px;
	line-height: 1.3;
}

.ae-contact__tile--dark {
	background: var(--ae-ink);
}

.ae-contact__tile--dark .ae-eyebrow {
	color: var(--ae-steel);
}

.ae-contact__tile--dark a {
	color: var(--ae-white);
}

.ae-contact__tile--dark a:hover {
	color: var(--ae-signal);
}

/* Floor and subway note under the office address. */
.ae-contact__directions {
	display: block;
	margin-top: 12px;
	color: rgb(255 255 255 / 0.7);
	font-size: 14px;
	line-height: 20px;
}

/* Map --------------------------------------------------------------------- */

.ae-map {
	position: relative;
	height: 560px;
	overflow: hidden;
	background: var(--ae-mist);
}

@media (max-width: 1279px) {
	.ae-map {
		height: 420px;
	}
}

@media (max-width: 640px) {
	.ae-map {
		height: 460px;
	}
}

.ae-map__frame {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	filter: grayscale(1) contrast(1.05);
}

.ae-map__card {
	position: absolute;
	bottom: 36px;
	left: 36px;
	max-width: 420px;
	padding: 32px;
	background: var(--ae-ink);
}

@media (max-width: 1279px) {
	.ae-map__card {
		bottom: 24px;
		left: 24px;
		padding: 24px;
	}
}

@media (max-width: 640px) {
	.ae-map__card {
		right: 16px;
		bottom: 16px;
		left: 16px;
		padding: 20px;
	}
}

.ae-map__label {
	color: var(--ae-steel);
}

.ae-map__address {
	display: block;
	margin-top: 12px;
	color: var(--ae-white);
	font-size: clamp(18px, 2.4vw, 24px);
	line-height: 1.25;
}

.ae-map__address:hover {
	color: var(--ae-signal);
}

.ae-map__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-top: 20px;
	color: var(--ae-fog);
	font-size: 12px;
	font-weight: 700;
	line-height: 16px;
	text-transform: uppercase;
}

.ae-map__meta a {
	color: var(--ae-signal);
}

.ae-map__dot {
	color: var(--ae-graphite);
}

/* Legal pages ------------------------------------------------------------- */

.ae-legal {
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr);
	gap: var(--ae-section-gap);
	align-items: start;
}

@media (max-width: 1279px) {
	.ae-legal {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (min-width: 1280px) {
	.ae-legal__toc {
		position: sticky;
		top: calc(var(--ae-header-height) + 12px);
		max-height: calc(100vh - var(--ae-header-height) - 24px);
		overflow-y: auto;
	}
}

.ae-legal__toc-label {
	margin-bottom: 20px;
}

.ae-legal__toc-list {
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--ae-fog);
	list-style: none;
}

.ae-legal__toc-link {
	display: flex;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid var(--ae-fog);
	color: var(--ae-text-secondary);
	font-size: 14px;
	line-height: 20px;
}

.ae-legal__toc-link:hover {
	color: var(--ae-signal);
}

.ae-legal__toc-num {
	flex-shrink: 0;
	color: var(--ae-steel);
}

.ae-legal__intro {
	max-width: 900px;
	margin-bottom: var(--ae-section-gap);
	line-height: 1.45;
}

.ae-legal__section {
	padding: 36px 0;
	border-top: 1px solid var(--ae-fog);
	scroll-margin-top: calc(var(--ae-header-height) + 24px);
}

.ae-legal__head {
	display: flex;
	align-items: baseline;
	gap: 24px;
	margin-bottom: 20px;
}

@media (max-width: 1279px) {
	.ae-legal__head {
		gap: 18px;
	}
}

@media (max-width: 640px) {
	.ae-legal__head {
		gap: 12px;
	}
}

.ae-legal__num {
	flex-shrink: 0;
	color: var(--ae-fog);
	font-size: var(--ae-fs-num-sm);
	font-weight: 300;
	line-height: 1;
}

.ae-legal__title {
	color: var(--ae-ink);
	font-size: var(--ae-fs-h3-inner);
	font-weight: 500;
	line-height: 1.25;
	text-transform: uppercase;
	text-wrap: pretty;
}

/* Verbatim legal text from the editor: paragraphs, diamond bullets, sub-headings. */
.ae-prose {
	max-width: 900px;
	color: var(--ae-text-secondary);
	font-size: 16px;
	line-height: 26px;
}

.ae-prose > * + * {
	margin-top: 16px;
}

.ae-prose h3 {
	margin-top: 28px;
	color: var(--ae-ink);
	font-size: 16px;
	font-weight: 500;
	line-height: 26px;
}

.ae-prose ul {
	padding: 0;
	list-style: none;
}

.ae-prose * + ul,
.ae-prose h3 + ul {
	margin-top: 6px;
}

.ae-prose li {
	position: relative;
	padding: 10px 0 10px 22px;
	color: var(--ae-ink);
}

.ae-prose li::before {
	content: "";
	position: absolute;
	top: 20px;
	left: 1px;
	width: 5px;
	height: 5px;
	background: var(--ae-signal);
	transform: rotate(45deg);
}

.ae-prose a {
	color: var(--ae-ink);
	text-decoration: underline;
	text-decoration-color: var(--ae-signal);
	text-underline-offset: 3px;
}

.ae-prose a:hover {
	color: var(--ae-signal);
}

.ae-prose-section--flush .ae-overview {
	padding-top: var(--ae-section-gap);
	/* A rule across the content only, not the side gutters of the wrap. */
	background: linear-gradient(var(--ae-border-light), var(--ae-border-light)) no-repeat center top / calc(100% - 2 * var(--ae-gutter)) 1px;
}

/* Text sections of the Our story page: the arrow link keeps its own look inside the prose. */
.ae-prose-block .ae-prose-block__highlight,
.ae-prose-block .ae-prose-block__link {
	margin-top: 28px;
}

.ae-prose-block .ae-arrow-link {
	color: var(--ae-ink);
	text-decoration: none;
}

.ae-prose-block .ae-arrow-link:hover {
	color: var(--ae-signal);
}

.ae-legal__card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	margin-top: var(--ae-section-gap);
	padding: 32px;
	background: var(--ae-mist);
}

@media (max-width: 1279px) {
	.ae-legal__card {
		padding: 26px;
	}
}

@media (max-width: 640px) {
	.ae-legal__card {
		padding: 20px;
	}
}

.ae-legal__card .ae-eyebrow {
	margin-bottom: 6px;
}

.ae-legal__card a {
	color: var(--ae-ink);
	font-size: 20px;
	line-height: 1.2;
	overflow-wrap: anywhere;
}

.ae-legal__card a:hover {
	color: var(--ae-signal);
}

/* Lending parameters table on the program pages: label/value rows on a muted panel, with the
   legal note under it. */
.ae-params {
	padding: 36px;
	background: var(--ae-mist);
}

@media (max-width: 1279px) {
	.ae-params {
		padding: 28px;
	}
}

@media (max-width: 640px) {
	.ae-params {
		padding: 20px;
	}
}

.ae-params__eyebrow {
	margin-bottom: 12px;
}

.ae-params__title {
	margin-bottom: 28px;
}

.ae-params__rows {
	margin: 0;
	border-bottom: 1px solid var(--ae-fog);
}

.ae-params__row {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 11fr);
	gap: 20px;
	padding: 20px 0;
	border-top: 1px solid var(--ae-fog);
}

@media (max-width: 640px) {
	.ae-params__row {
		grid-template-columns: minmax(0, 1fr);
		gap: 6px;
	}
}

.ae-params__label {
	color: var(--ae-steel-text);
	font-size: 12px;
	font-weight: 500;
	line-height: 20px;
	letter-spacing: var(--ae-tracking-tight);
	text-transform: uppercase;
}

.ae-params__value {
	margin: 0;
	font-size: 16px;
	line-height: 24px;
}

.ae-params__note {
	margin-top: 28px;
	color: var(--ae-steel-text);
	font-size: 13px;
	line-height: 20px;
}

/* ==========================================================================
   Brokers page parts, reusable elsewhere: proof bar, program rows with links,
   feature grid, forms side by side, disclosure.
   ========================================================================== */

/* Two buttons under a section intro (Process). */
.ae-split__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* Proof bar: short statements divided by 1px rules; five to a row on desktop. */
.ae-numbers--proof .ae-numbers__list {
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 1px;
	border-top: 1px solid var(--ae-border-light);
	background: var(--ae-border-light);
}

.ae-numbers--proof .ae-numbers__item {
	gap: 12px;
	padding: 36px 24px;
	border: 0 !important;
	background: var(--ae-white);
}

.ae-numbers--proof .ae-numbers__value {
	font-size: 20px;
	font-weight: 500;
	line-height: 1.2;
	text-transform: uppercase;
	white-space: normal;
}

.ae-numbers__text {
	color: var(--ae-text-secondary);
	font-size: 14px;
	line-height: 20px;
}

.ae-numbers__note {
	margin-top: 24px;
}

@media (max-width: 1279px) {
	.ae-numbers--proof .ae-numbers__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	/* An odd last statement spans the row, so no empty cell shows the rule colour. */
	.ae-numbers--proof .ae-numbers__item:last-child:nth-child(odd) {
		grid-column: 1 / -1;
	}
}

@media (max-width: 640px) {
	.ae-numbers--proof .ae-numbers__list {
		grid-template-columns: minmax(0, 1fr);
	}

	.ae-numbers--proof .ae-numbers__item {
		padding: 24px;
	}
}

/* Program rows: terms line and links under the description. */
.ae-diff__meta {
	margin-top: 16px;
	color: var(--ae-ink);
}

.ae-diff__links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 32px;
	margin-top: 20px;
}

.ae-diff__note {
	max-width: 960px;
	margin-top: 36px;
}

.ae-section--inverse .ae-diff__meta {
	color: var(--ae-white);
}

/* Feature grid: cells divided by 1px rules. */
.ae-features__head {
	margin-bottom: 64px;
}

.ae-features {
	display: grid;
	gap: 1px;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--ae-border-light);
	border-bottom: 1px solid var(--ae-border-light);
	background: var(--ae-border-light);
	list-style: none;
}

.ae-features--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ae-features--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ae-features__item {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 44px 36px 44px 0;
	background: var(--ae-white);
}

.ae-features__item + .ae-features__item {
	padding-left: 36px;
}

.ae-section--muted .ae-features__item {
	background: var(--ae-mist);
}

.ae-features__link {
	margin-top: auto;
	padding-top: 8px;
}

@media (min-width: 641px) {
	/* The first cell of each row starts at the text edge. */
	.ae-features--2 .ae-features__item:nth-child(2n + 1),
	.ae-features--3 .ae-features__item:nth-child(3n + 1) {
		padding-left: 0;
	}
}

@media (max-width: 1279px) {
	.ae-features__head {
		margin-bottom: 44px;
	}

	.ae-features--3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ae-features--3 .ae-features__item:nth-child(3n + 1) {
		padding-left: 36px;
	}

	.ae-features--3 .ae-features__item:nth-child(2n + 1) {
		padding-left: 0;
	}

	.ae-features__item {
		padding-block: 36px;
	}
}

@media (max-width: 640px) {
	.ae-features--2,
	.ae-features--3 {
		grid-template-columns: minmax(0, 1fr);
	}

	.ae-features__item,
	.ae-features__item + .ae-features__item,
	.ae-features--3 .ae-features__item:nth-child(3n + 1) {
		padding: 28px 0;
	}
}

/* Prose: a heading above the list. */
.ae-prose-block__subhead {
	margin-top: 36px;
}

/* Forms section: two forms side by side on desktop. */
.ae-lead-forms__head {
	margin-bottom: 64px;
}

.ae-lead-forms__grid {
	display: grid;
	gap: 36px;
}

.ae-lead-forms__grid--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: start;
}

.ae-lead-forms__col {
	display: flex;
	flex-direction: column;
	gap: 24px;
	min-width: 0;
}

.ae-lead-forms__panel {
	box-shadow: var(--ae-shadow-ring-light);
	scroll-margin-top: 112px;
}

@media (max-width: 1279px) {
	.ae-lead-forms__head {
		margin-bottom: 44px;
	}

	.ae-lead-forms__grid--2 {
		grid-template-columns: minmax(0, 1fr);
		gap: 56px;
	}
}

/* Page-level disclosure above the footer. */
.ae-disclosure {
	padding: 44px 0;
	border-top: 1px solid var(--ae-border-light);
}

.ae-disclosure__text {
	max-width: 1080px;
}

.ae-disclosure__text + .ae-disclosure__text {
	margin-top: 12px;
}

/* Proof statements: the column count comes from the number of items (see numbers.php). */
@media (min-width: 1280px) {
	.ae-numbers--proof .ae-numbers__list {
		grid-template-columns: repeat(var(--ae-proof-columns, 5), minmax(0, 1fr));
	}
}

/* Rows without counters (a timeline titled by years): title and text only. */
.ae-diff--plain .ae-diff__row {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
}

@media (max-width: 1279px) {
	.ae-diff--plain .ae-diff__row {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}
}

/* One form next to its heading. */
.ae-lead-forms__single {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 64px;
	align-items: start;
}

.ae-lead-forms__text {
	margin-top: 24px;
}

.ae-lead-forms__email {
	display: inline-block;
	margin-top: 28px;
}

@media (max-width: 1279px) {
	.ae-lead-forms__single {
		grid-template-columns: minmax(0, 1fr);
		gap: 44px;
	}
}

/* Hero: a short line under the buttons. */
.ae-hero__note {
	max-width: 720px;
	margin-top: 28px;
	color: var(--ae-fog);
	font-size: 14px;
	line-height: 20px;
}

/* Parameters table: a heading above the text under the table (fund terms waterfall). */
.ae-params__note-title {
	margin-top: 44px;
}
