:root {
	--staffs-ink: #2b2b2b;
}

/*
 * The legacy site floats paragraph elements globally. New-site layouts use
 * flexbox and grid, so every paragraph should remain in normal document flow.
 */
body p {
	float: none !important;
}

body {
	color: var(--staffs-ink);
}

/*
 * Tutor portraits are transparent circular assets. Keep their surrounding
 * wrappers transparent so they read as floating portraits instead of circles
 * placed inside colored squares.
 */
.instructors-section .instructors .img,
.instructors-section .instructors .img .el-image,
.instructors-section .instructors .img .lazy-container {
	background: transparent !important;
}

.instructors-section .instructors .img img {
	border: 0 !important;
	border-radius: 50% !important;
	background: transparent !important;
	object-fit: contain !important;
}

.mobile-nav-shell {
	display: none;
}

/*
 * Mobile navigation has its own fixed shell. Keeping it independent from the
 * legacy animated header prevents scroll direction and reveal classes from
 * removing the logo or menu control from the compositor layer.
 */
@media (max-width: 1000px) {
	html body .top-header {
		display: none !important;
	}

	html body .relative-top-header {
		display: none !important;
		float: none !important;
		height: 0 !important;
		min-height: 0 !important;
	}

	html body .mobile-nav-shell {
		display: flex !important;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 70px;
		box-sizing: border-box;
		align-items: center;
		justify-content: space-between;
		padding: 0 5vw;
		background-color: #00ca64;
		background-image:
			url('/new-site/lib/images/staffs-wordmark-white.svg'),
			linear-gradient(#fff, #fff),
			linear-gradient(#fff, #fff),
			linear-gradient(#fff, #fff);
		background-repeat: no-repeat;
		background-position:
			left 5vw top 20px,
			right 5vw top 24px,
			right 5vw top 33px,
			right 5vw top 42px;
		background-size: 100px auto, 30px 3px, 30px 3px, 30px 3px;
		z-index: 10000;
	}

	html body .mobile-nav-logo {
		display: block;
		width: 100px;
		height: 30px;
		flex: 0 0 auto;
		line-height: 0;
	}

	html body .mobile-nav-logo img {
		display: block;
		width: 100% !important;
		height: auto !important;
		opacity: 1 !important;
	}

	html body button.mobile-nav-trigger {
		-webkit-appearance: none;
		appearance: none;
		display: block;
		position: relative;
		width: 30px;
		height: 24px;
		min-width: 0;
		min-height: 0;
		flex: 0 0 30px;
		padding: 0;
		margin: 0;
		border: 0;
		border-radius: 0;
		background: transparent;
		box-shadow: none;
		font-size: 0;
		line-height: 0;
		cursor: pointer;
	}

	html body .mobile-nav-trigger span {
		display: block;
		position: absolute;
		left: 0;
		width: 30px;
		height: 3px;
		border-radius: 2px;
		background: #fff;
		opacity: 1 !important;
		transform-origin: center;
		transition: transform 180ms ease, opacity 180ms ease;
	}

	html body .mobile-nav-trigger span:nth-child(1) {
		top: 1px;
	}

	html body .mobile-nav-trigger span:nth-child(2) {
		top: 10px;
	}

	html body .mobile-nav-trigger span:nth-child(3) {
		top: 19px;
	}

	html body .mobile-nav-shell:has(.mobile-nav-trigger.close) {
		background-image:
			url('/new-site/lib/images/staffs-wordmark-white.svg'),
			linear-gradient(45deg, transparent 45%, #fff 45%, #fff 55%, transparent 55%),
			linear-gradient(-45deg, transparent 45%, #fff 45%, #fff 55%, transparent 55%);
		background-position: left 5vw top 20px, right 5vw top 20px, right 5vw top 20px;
		background-size: 100px auto, 30px 30px, 30px 30px;
	}

	html body .mobile-nav-trigger.close span:nth-child(1) {
		transform: translateY(9px) rotate(45deg);
	}

	html body .mobile-nav-trigger.close span:nth-child(2) {
		opacity: 0 !important;
	}

	html body .mobile-nav-trigger.close span:nth-child(3) {
		transform: translateY(-9px) rotate(-45deg);
	}
}

/*
 * Keep foreground contrast explicit on every current dark new-site surface.
 * This final stylesheet loads after page-specific and legacy styles.
 */
.home-duration-card,
.home-duration-card p,
.home-support-card.featured,
.home-support-card.featured h3,
.home-support-card.featured p,
.home-support-card.featured li,
.home-support-card.featured .home-support-price,
.home-filter-result,
.home-filter-result p,
.app-story-questions,
.app-story-questions h2,
.app-story-questions p,
.app-story-founder-caption,
.app-story-founder-caption strong,
.app-story-final-cta,
.app-story-final-cta h2,
.app-story-final-cta p,
.sat-product-promise,
.sat-product-promise p,
.sat-feature-dark,
.sat-feature-dark h2,
.sat-feature-dark p,
.sat-result-strip-dark,
.sat-result-strip-dark blockquote,
.sat-result-strip-dark cite,
.guarantee-hero,
.guarantee-hero h1,
.guarantee-hero p,
.guarantee-ceiling-explainer,
.guarantee-ceiling-explainer h3,
.guarantee-ceiling-explainer p,
.guarantee-remedy-featured,
.guarantee-remedy-featured h3,
.guarantee-remedy-featured p,
.guarantee-claim-section,
.guarantee-claim-section h2,
.guarantee-claim-section p,
.guarantee-claim-section strong {
	color: #fff;
}

.guarantee-ceiling-explainer .guarantee-example {
	color: #bfc6c6;
}

.guarantee-remedy-featured p {
	color: #cbd1d1;
}

.guarantee-claim-grid > div > p {
	color: #cdd2d2;
}

/*
 * Keep tutoring distinct from the SAT and ACT apps in the shared navigation.
 * The same markup becomes a two-column dropdown on desktop and a stacked
 * callout beneath the app links in the mobile menu.
 */
.top-header .prep-apps-submenu-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 30px;
	width: 100%;
}

.top-header .prep-apps-submenu-grid .method-submenu-list {
	min-width: 0;
}

.top-header .prep-apps-submenu-grid .method-submenu-list::after {
	display: none !important;
	content: none !important;
}

.top-header .prep-tutoring-callout {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
	padding-left: 30px;
	border-left: 1px solid #e5e5e5;
}

.top-header .prep-tutoring-callout strong {
	float: none;
	width: auto;
	margin: 0 0 12px;
	color: #2b2b2b;
	font-family: "Raleway", sans-serif;
	font-size: 14px;
	font-variation-settings: normal;
	font-weight: 700;
	line-height: 1.35;
	text-transform: none;
}

.top-header .prep-tutoring-callout > a {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	gap: 8px;
	padding: 10px 15px;
	border-radius: 999px;
	background: #00ca64;
	color: #2b2b2b !important;
	font-family: "Raleway", sans-serif;
	font-size: 14px;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
	text-transform: none;
}

.top-header .prep-tutoring-callout > a:hover {
	background: #a5fee8;
	color: #2b2b2b !important;
}

.top-header .prep-tutoring-callout > a span {
	color: inherit;
	font-family: inherit;
	font-size: 18px;
	font-variation-settings: normal;
	font-weight: 800;
	line-height: 1;
}

.megamenu .top-menu-mobile .prep-apps-submenu-grid {
	display: block !important;
	width: 100%;
}

.megamenu .top-menu-mobile .prep-apps-submenu-grid .method-submenu-list {
	min-width: 0;
	margin-bottom: 0;
}

.megamenu .top-menu-mobile .prep-apps-submenu-grid .method-submenu-list::after {
	display: none !important;
	content: none !important;
}

.megamenu .top-menu-mobile .prep-tutoring-callout {
	float: left;
	width: 100%;
	margin-top: 22px;
	padding-top: 22px;
	border-top: 1px solid rgba(255, 255, 255, .3);
}

.megamenu .top-menu-mobile ul li .prep-tutoring-callout strong {
	float: none;
	width: 100%;
	margin: 0 0 12px;
	color: #bbffca;
	font-family: "Raleway", sans-serif;
	font-size: 14px !important;
	font-variation-settings: normal;
	font-weight: 700;
	line-height: 1.35;
	text-transform: none;
}

.megamenu .top-menu-mobile ul li .prep-tutoring-callout > a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	width: auto;
	padding: 0;
	color: #fff !important;
	font-family: "Raleway", sans-serif;
	font-size: 16px !important;
	font-variation-settings: normal;
	font-weight: 800;
	line-height: 1.3;
	text-decoration: none;
	text-transform: none;
}

.megamenu .top-menu-mobile ul li .prep-tutoring-callout > a:hover {
	color: #bbffca !important;
}

.megamenu .top-menu-mobile ul li .prep-tutoring-callout > a span {
	color: inherit;
	font-family: inherit;
	font-size: 20px;
	font-variation-settings: normal;
	font-weight: 800;
	line-height: 1;
}

/* Keep the footer's apps, tutoring, login, and resources easy to scan. */
.main-footer .infos .left {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: clamp(24px, 3vw, 52px);
}

.main-footer .infos .right {
	width: 25%;
}

.main-footer .infos .left .footer-tutoring-callout {
	clear: both;
	float: left;
	width: 100%;
	margin-top: 14px;
}

.main-footer .infos .left .footer-tutoring-callout > a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 14px;
	border-radius: 999px;
	background: #00ca64;
	color: #2b2b2b !important;
	font-family: "Raleway", sans-serif;
	font-size: 15px;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
}

.main-footer .infos .left .footer-tutoring-callout > a:hover {
	background: #bbffca;
	text-decoration: none;
}

.main-footer .infos .left .footer-tutoring-callout > a span {
	color: inherit;
	font-family: inherit;
	font-size: 19px;
	font-weight: 800;
	line-height: 1;
}

@media (max-width: 1100px) and (min-width: 801px) {
	.main-footer .infos .left {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 38px;
	}

	.main-footer .infos .right {
		width: 26%;
	}
}

@media (max-width: 800px) {
	.main-footer .infos .left,
	.main-footer .infos .right {
		width: 100%;
	}

	.main-footer .infos .left {
		grid-template-columns: 1fr;
	}

	.main-footer .infos .left .footer-tutoring-callout {
		max-width: 360px;
	}
}
