/* The phone menu inside MarketingHeader. Like marketing-header.css, every
   value is written out and every selector is rooted at div.marketing-mobile-nav,
   so a page stylesheet cannot restyle it: `.pp a { color: inherit }` on the
   agent and compare pages used to turn these links dark. */

div.marketing-mobile-nav {
	display: none;
}

@media (max-width: 900px) {
	div.marketing-mobile-nav {
		display: block;
		margin-left: auto;
		flex: none;
	}
	div.marketing-mobile-nav button.marketing-menu-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-width: 44px;
		min-height: 44px;
		padding: 0;
		border: 1px solid #d5d5cf;
		border-radius: 9px;
		background: #fcfcfb;
		color: #101010;
		font: inherit;
		font-size: 13px;
		font-weight: 600;
		cursor: pointer;
	}
	div.marketing-mobile-nav button.marketing-menu-toggle svg {
		width: 19px;
		height: 19px;
		flex: none;
	}
	div.marketing-mobile-nav button.marketing-menu-toggle[aria-expanded="true"] {
		background: #f6f6f4;
	}
	div.marketing-mobile-nav .marketing-mobile-panel {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		/* Leave room for the beta announcement above the sticky header, including
		   a short landscape viewport before the visitor has scrolled. */
		max-height: calc(100dvh - 160px);
		overflow-y: auto;
		overscroll-behavior: contain;
		padding: 12px 22px 20px;
		background: #fcfcfb;
		border-bottom: 1px solid #e7e7e3;
		box-shadow: 0 12px 24px rgba(16, 16, 16, 0.1);
	}
	div.marketing-mobile-nav .marketing-mobile-panel[hidden] {
		display: none;
	}
	div.marketing-mobile-nav .marketing-mobile-links {
		display: grid;
		gap: 2px;
		max-width: 1136px;
		margin: 0 auto;
	}
	div.marketing-mobile-nav .marketing-mobile-links a {
		display: flex;
		align-items: center;
		min-height: 44px;
		padding: 10px 12px;
		border-radius: 8px;
		color: #3a3a38;
		font-size: 14px;
		font-weight: 500;
		text-decoration: none;
	}
	div.marketing-mobile-nav .marketing-mobile-links a:hover,
	div.marketing-mobile-nav .marketing-mobile-links a[aria-current="page"] {
		background: #f6f6f4;
		color: #101010;
	}
	div.marketing-mobile-nav .marketing-mobile-actions {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 10px;
		max-width: 1136px;
		margin: 12px auto 0;
		padding-top: 16px;
		border-top: 1px solid #e7e7e3;
	}
	div.marketing-mobile-nav .marketing-mobile-actions a {
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 44px;
		padding: 10px 8px;
		border: 1px solid #d5d5cf;
		border-radius: 8px;
		font-size: 13px;
		font-weight: 600;
		text-align: center;
		text-decoration: none;
	}
	div.marketing-mobile-nav .marketing-mobile-actions a.marketing-mobile-signin {
		background: #fff;
		color: #101010;
	}
	div.marketing-mobile-nav .marketing-mobile-actions a.marketing-mobile-cta {
		background: #26463b;
		border-color: #26463b;
		color: #fff;
	}
	div.marketing-mobile-nav button.marketing-menu-toggle:focus-visible,
	div.marketing-mobile-nav .marketing-mobile-panel a:focus-visible {
		outline: 2px solid #26463b;
		outline-offset: 3px;
	}
}
