.ff-site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	display: flex;
	align-items: center;
	height: 68px;
	background: #fff;
	border-bottom: 1px solid var(--ff-border-default);
}

body.admin-bar .ff-site-header {
	top: 32px;
}

.ff-site-header__inner,
.ff-footer__inner,
.ff-container {
	width: min(100% - 32px, var(--ff-container));
	margin-inline: auto;
}

.ff-site-header__inner {
	min-height: 68px;
	display: flex;
	align-items: center;
	gap: 40px;
	justify-content: flex-start;
}

.ff-brand {
	display: inline-flex;
	align-items: center;
	flex: none;
	gap: 10px;
	color: var(--ff-text-primary);
	font-weight: 900;
	text-decoration: none;
}

.ff-brand:hover {
	color: var(--ff-text-primary);
}

body.ff-renewal-page .ff-site-header .ff-brand,
body.ff-renewal-page .ff-site-header .ff-brand:hover {
	color: #0b1220;
}

.ff-brand__mark {
	position: relative;
	display: block;
	width: 34px;
	height: 34px;
	flex: none;
	border-radius: 8px;
	background: #0b1220;
}

.ff-brand__line {
	position: absolute;
	top: 17px;
	right: 6px;
	left: 6px;
	height: 1px;
	background: rgba(255, 255, 255, .35);
}

.ff-brand__circle {
	position: absolute;
	top: 17px;
	left: 50%;
	width: 10px;
	height: 10px;
	border: 1px solid rgba(255, 255, 255, .55);
	border-radius: 50%;
	transform: translate(-50%, -50%);
}

.ff-brand__dot {
	position: absolute;
	top: 8px;
	left: 7px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #16a34a;
}

.ff-brand__pin {
	position: absolute;
	right: 6px;
	bottom: 6px;
	width: 8px;
	height: 8px;
	border-radius: 50% 50% 50% 0;
	background: #f59e0b;
	transform: rotate(-45deg);
}

.ff-brand__name {
	display: block;
	color: #0b1220;
	font-size: 18px;
	font-weight: 800;
	line-height: 1;
}

.ff-brand__tagline {
	display: block;
	margin-top: 2px;
	color: var(--ff-text-muted);
	font-size: 9px;
	font-weight: 700;
	line-height: 1.2;
}

.ff-site-nav {
	display: flex;
	align-items: center;
	flex: 1;
	gap: 30px;
}

.ff-site-nav__link {
	display: block;
	min-height: auto;
	padding: 0;
	border-radius: 0;
	color: #374151;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	transition: color var(--ff-transition), background var(--ff-transition);
}

body.ff-renewal-page .ff-site-nav__link {
	color: #374151;
}

.ff-site-nav__link:hover,
.ff-site-nav__link[aria-current="page"] {
	background: transparent;
	color: #0b1220;
}

body.ff-renewal-page .ff-site-nav__link:hover,
body.ff-renewal-page .ff-site-nav__link[aria-current="page"] {
	color: #0b1220;
}

.ff-site-header__actions {
	display: flex;
	align-items: center;
	flex: none;
	gap: 18px;
}

.ff-site-header__search {
	position: relative;
	display: block;
	width: 18px;
	height: 18px;
	border: 2px solid #6b7280;
	border-radius: 50%;
	color: #6b7280;
	text-decoration: none;
}

.ff-site-header__search::after {
	position: absolute;
	right: -6px;
	bottom: -6px;
	width: 7px;
	height: 2px;
	background: #6b7280;
	content: "";
	transform: rotate(45deg);
}

.ff-site-header__guide {
	display: block;
	padding: 11px 20px;
	border: 0;
	border-radius: 8px;
	background: #0b1220;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
}

.ff-site-header__guide:hover {
	color: #fff;
	background: #1a2740;
}

body.ff-renewal-page .ff-site-header__guide,
body.ff-renewal-page .ff-site-header__guide:hover {
	color: #fff;
	text-decoration: none;
}

body.ff-renewal-page .ff-site-header__search,
body.ff-renewal-page .ff-site-header__search:hover {
	color: #6b7280;
	text-decoration: none;
}

.ff-mobile-menu {
	position: relative;
	display: none;
}

.ff-mobile-menu summary {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 6px 0;
	cursor: pointer;
	list-style: none;
}

.ff-mobile-menu summary::-webkit-details-marker {
	display: none;
}

.ff-mobile-menu summary span {
	display: block;
	width: 20px;
	height: 2px;
	border-radius: 2px;
	background: #111827;
}

.ff-mobile-menu__panel {
	position: absolute;
	top: calc(100% + 1px);
	right: calc((100vw - 100%) / -2);
	z-index: 10;
	display: none;
	width: 100vw;
	border-bottom: 1px solid var(--ff-border-default);
	background: #fff;
	box-shadow: 0 12px 24px rgba(0, 0, 0, .1);
}

.ff-mobile-menu[open] .ff-mobile-menu__panel {
	display: block;
}

.ff-mobile-menu__title-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 56px;
	padding: 0 16px;
	border-bottom: 1px solid var(--ff-border-default);
}

.ff-mobile-menu__title {
	color: #0b1220;
	font-size: 15px;
	font-weight: 800;
	line-height: 1;
}

.ff-mobile-menu__close {
	padding: 0;
	border: 0;
	background: transparent;
	color: #6b7280;
	font-size: 20px;
	font-weight: 400;
	line-height: 1;
}

.ff-mobile-menu__links {
	display: flex;
	flex-direction: column;
}

.ff-mobile-menu__links a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 44px;
	padding: 0 16px;
	border-bottom: 1px solid #f3f4f6;
	color: #111827;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
}

body.ff-renewal-page .ff-mobile-menu__links a {
	color: #111827;
}

.ff-mobile-menu__chevron {
	color: #9ca3af;
	font-size: 20px;
	font-weight: 400;
}

.ff-mobile-menu__cta {
	padding: 12px 16px 16px;
}

.ff-mobile-menu__cta .ff-button {
	display: flex;
	width: 100%;
	min-height: 44px;
	font-size: 14px;
}

.ff-page {
	padding: var(--ff-space-12) 0 var(--ff-space-16);
}

.ff-page--flush {
	padding-top: 0;
}

.ff-section {
	padding: var(--ff-space-12) 0;
}

.ff-section--compact {
	padding: var(--ff-space-8) 0;
}

.ff-section-head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: var(--ff-space-5);
	margin-bottom: var(--ff-space-6);
}

.ff-section-head__body {
	max-width: 720px;
}

.ff-grid {
	display: grid;
	gap: var(--ff-space-5);
}

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

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

.ff-grid--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ff-grid--5 {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.ff-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
	gap: var(--ff-space-8);
	align-items: start;
}

.ff-article-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) var(--ff-sidebar);
	gap: var(--ff-space-8);
	align-items: start;
}

.ff-article-sidebar {
	position: sticky;
	top: calc(var(--ff-header-height) + var(--ff-space-4));
	display: grid;
	gap: var(--ff-space-4);
}

.ff-site-footer {
	margin-top: 76px;
	background: #0b1220;
}

.ff-footer__inner {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 32px;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 56px 40px 28px;
	box-sizing: border-box;
}

.ff-footer__brand {
	display: block;
	margin-bottom: 10px;
	color: #fff;
	font-size: 18px;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
}

.ff-footer__brand:hover {
	color: #fff;
}

body.ff-renewal-page .ff-footer__brand,
body.ff-renewal-page .ff-footer__brand:hover {
	color: #fff;
}

.ff-footer__lead {
	margin: 0;
	color: #8b93a7;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.8;
}

.ff-footer__column {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ff-footer__column a {
	color: #b9c2d6;
	font-size: 13px;
	font-weight: 400;
	line-height: 1;
	text-decoration: none;
}

.ff-footer__column a:hover {
	color: #fff;
}

body.ff-renewal-page .ff-footer__column a {
	color: #b9c2d6;
}

body.ff-renewal-page .ff-footer__column a:hover {
	color: #fff;
}

.ff-footer__bottom {
	margin: 0;
	padding: 18px 40px;
	border-top: 1px solid rgba(255, 255, 255, .08);
	text-align: center;
}

.ff-footer__bottom span {
	color: #6b7280;
	font-size: 12px;
	font-weight: 400;
	line-height: 1;
}

@media (max-width: 980px) {
	.ff-site-nav {
		display: none;
	}

	.ff-site-header__guide {
		display: none;
	}

	.ff-mobile-menu {
		display: block;
	}

	.ff-grid--3,
	.ff-grid--4,
	.ff-grid--5,
	.ff-split,
	.ff-article-layout {
		grid-template-columns: 1fr;
	}

	.ff-article-sidebar {
		position: static;
	}
}

@media (max-width: 640px) {
	.ff-site-header__inner,
	.ff-footer__inner,
	.ff-container {
		width: min(100% - 24px, var(--ff-container));
	}

	.ff-site-header {
		height: 56px;
	}

	.ff-site-header__inner {
		width: 100%;
		min-height: 56px;
		padding: 0 16px;
		gap: 14px;
		justify-content: space-between;
	}

	.ff-brand__tagline {
		display: none;
	}

	.ff-brand {
		gap: 8px;
	}

	.ff-brand__mark {
		width: 28px;
		height: 28px;
		border-radius: 7px;
	}

	.ff-brand__line {
		top: 14px;
		right: 5px;
		left: 5px;
	}

	.ff-brand__circle {
		top: 14px;
		width: 8px;
		height: 8px;
	}

	.ff-brand__dot {
		top: 6px;
		left: 5px;
		width: 5px;
		height: 5px;
	}

	.ff-brand__pin {
		display: none;
	}

	.ff-brand__name {
		font-size: 15px;
	}

	.ff-site-header__actions {
		display: flex;
		gap: 14px;
	}

	.ff-site-header__search {
		width: 17px;
		height: 17px;
	}

	.ff-site-header__search::after {
		right: -5px;
		bottom: -5px;
		width: 6px;
	}

	.ff-section {
		padding: var(--ff-space-10) 0;
	}

	.ff-section-head {
		display: block;
	}

	.ff-grid--2 {
		grid-template-columns: 1fr;
	}

	.ff-site-footer {
		margin-top: 32px;
		padding: 32px 20px 20px;
	}

	.ff-footer__inner {
		display: block;
		width: 100%;
		padding: 0;
	}

	.ff-footer__brand {
		margin-bottom: 8px;
		font-size: 16px;
	}

	.ff-footer__lead {
		margin-bottom: 20px;
		font-size: 12px;
		line-height: 1.7;
	}

	.ff-footer__column {
		gap: 9px;
	}

	.ff-footer__column--1,
	.ff-footer__column--2 {
		float: left;
		width: calc(50% - 8px);
		margin-bottom: 20px;
	}

	.ff-footer__column--1 {
		margin-right: 16px;
	}

	.ff-footer__column--3 {
		clear: both;
		margin-bottom: 20px;
	}

	.ff-footer__column a {
		font-size: 12px;
	}

	.ff-footer__bottom {
		clear: both;
		padding: 14px 0 0;
	}

	.ff-footer__bottom span {
		font-size: 11px;
	}
}

@media screen and (max-width: 782px) {
	body.admin-bar .ff-site-header {
		top: 46px;
	}
}

@media screen and (max-width: 600px) {
	body.admin-bar .ff-site-header {
		top: 0;
	}
}
