:root {
	--container-width: 1408px;
	--content-width: 1408px;
	--wide-width: 1408px;
	--content-gutter: 16px;
	--color-bg: #000;
	--color-fg: #fff;
	--color-muted: #53554c;
	--color-accent: #1dff60;
	--color-border: rgba(217, 217, 217, 0.33);
	--header-height: 62px;
	--font-ui: 'Sofia Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: var(--color-bg);
	color: var(--color-fg);
	font-family: var(--font-ui);
	-webkit-font-smoothing: antialiased;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

.container {
	width: min(100% - (var(--content-gutter) * 2), var(--container-width));
	margin-inline: auto;
}

/* ========== Header ========== */

body {
	padding-top: var(--header-height);
}

body.home,
body.has-hero-top {
	padding-top: 0;
}

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	background: #fff;
	color: #000;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.site-header .site-header__logo,
.site-header .site-nav--desktop .menu-item a,
.site-header .site-header__toggle {
	color: #000;
}

.site-header .site-nav--desktop .menu-item.current-menu-item::before,
.site-header .site-nav--desktop .menu-item.current_page_item::before,
.site-header .site-header__toggle-indicator {
	background: #000;
}

.site-header a.site-header__logo svg path {
	fill: #000;
	transition: fill 0.3s ease;
}
body.wp-singular {
    background: #fff;
}

body.single .entry-category, body.single h1.entry-title {
    color: #000;
}

/* Dark theme: переключается JS-ом на секциях с data-header-theme="dark" */
.site-header.is-dark {
	background: var(--color-bg);
	color: var(--color-fg);
	border-bottom-color: var(--color-border);
}

.site-header.is-dark .site-header__logo,
.site-header.is-dark .site-nav--desktop .menu-item a,
.site-header.is-dark .site-header__toggle {
	color: var(--color-fg);
}

.site-header.is-dark .site-nav--desktop .menu-item.current-menu-item::before,
.site-header.is-dark .site-nav--desktop .menu-item.current_page_item::before,
.site-header.is-dark .site-header__toggle-indicator {
	background: var(--color-fg);
}

.site-header.is-dark a.site-header__logo svg path {
	fill: #fff;
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 37px;
	height: var(--header-height);
	padding-inline: 16px;
	max-width: var(--container-width);
	margin-inline: auto;
}

.site-header__logo {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	color: var(--color-fg);
}

.site-header__logo svg {
	height: 36px;
	width: auto;
	display: block;
}

.site-header__logo-mark {
	display: none;
}
header.site-header.is-light a.site-header__logo svg path {
    fill: #000;
}
body.page h1.entry-title {
    font-size: 38px;
    font-style: normal;
    font-weight: 400;
    line-height: 38px;
    letter-spacing: -1.9px;
    text-align: center;
    margin: 0;  
}

body.page .entry-header--page {

    padding-bottom: 64px;
}
@media (max-width: 900px) {
    body.page h1.entry-title {
        font-size: 24px;
        font-style: normal;
        font-weight: 400;
        line-height: 24px;
        letter-spacing: -1.2px;
    }
	body.page .entry-header--page {
        padding-top: 29px;
        padding-bottom: 32px;
    }
	.site-header__logo-full {
		display: none;
	}

	.site-header__logo-mark {
		display: inline-flex;
	}
}

.site-nav--desktop {
	flex: 1;
	align-self: stretch;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
}

.site-nav--desktop .menu {
	display: flex;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	align-items: flex-start;
}

.site-nav--desktop .menu-item {
	position: relative;
	height: 35px;
	width: 80px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	padding-top: 25px;
}

.site-nav--desktop .menu-item a {
	display: block;
	width: 100%;
	font-weight: 500;
	font-size: 14px;
	line-height: 18px;
	letter-spacing: -0.05em;
	text-align: center;
	color: var(--color-fg);
	transition: opacity 0.15s ease;
}

.site-nav--desktop .menu-item a:hover {
	opacity: 0.7;
}

.site-nav--desktop .menu-item.current-menu-item::before,
.site-nav--desktop .menu-item.current_page_item::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: var(--color-fg);
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

.site-header__toggle {
	display: none;
	align-items: center;
	gap: 10px;
	background: transparent;
	border: 0;
	padding: 0;
	height: var(--header-height);
	color: var(--color-fg);
	font: inherit;
	cursor: pointer;
	position: relative;
}

.site-header__toggle-indicator {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: var(--color-fg);
	opacity: 0;
	transition: opacity 0.2s ease;
}

.site-header__toggle[aria-expanded='true'] .site-header__toggle-indicator {
	opacity: 1;
}

.site-header__toggle-label {
	font-size: 14px;
	font-weight: 500;
	letter-spacing: -0.05em;
	line-height: 18px;
	min-width: 80px;
	text-align: center;
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 36px;
	padding: 9px 26px;
	border-radius: 22px;
	border: 1.33px solid transparent;
	font-family: inherit;
	font-weight: 500;
	font-size: 14px;
	line-height: 18px;
	letter-spacing: -0.05em;
	cursor: pointer;
	transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn--primary {
	background: var(--color-accent);
	border-color: var(--color-accent);
	color: #000;
}

.btn--primary:hover {
	opacity: 0.9;
}

.btn--ghost {
	background: transparent;
	border-color: rgba(150, 150, 150, 0.33);
	color: var(--color-fg);
	padding: 0 14px 0 4px;
	gap: 10px;
}

.btn__icon {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid rgba(150, 150, 150, 0.33);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.btn__icon svg {
	width: 20px;
	height: 20px;
}

/* Mobile nav overlay */
.site-nav--mobile {
	position: fixed;
	inset: var(--header-height) 0 0 0;
	background: var(--color-bg);
	padding: 32px 12px 13px;
	z-index: 90;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	overflow-y: auto;
}

.site-nav--mobile ul.menu {
	padding-bottom: 62px;
}

.site-nav--mobile[hidden] {
	display: none;
}

.site-nav--mobile .menu {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 28px;
	justify-content: flex-end;
	flex: 1;
}

.site-nav--mobile .menu-item a {
	font-size: 52px;
	line-height: 36px;
	letter-spacing: -0.05em;
	font-weight: 500;
	color: var(--color-muted);
}

.site-nav--mobile .menu-item.current-menu-item a,
.site-nav--mobile .menu-item.current_page_item a,
.site-nav--mobile .menu-item a:hover {
	color: var(--color-fg);
}

.site-nav__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-top: 13px;
	border-top: 1px solid var(--color-border);
}

.site-nav__how {
	color: var(--color-fg);
}

body.page{
	background: #fff;
	    color: #000;
}



/* ========== Responsive ========== */

@media (max-width: 900px) {
	
	.site-nav--desktop,
	.site-header__cta {
		display: none;
	}

	.site-header__inner {
		justify-content: space-between;
		padding-inline: 12px;
	}

	.site-header__toggle {
		display: inline-flex;
	}
}

@media (min-width: 901px) {
	.site-nav--mobile {
		display: none !important;
	}
}

/* ========== Content helpers ========== */

.site-main {
	padding-bottom: 64px;
}

.entry-header--page {
	width: min(100% - (var(--content-gutter) * 2), var(--content-width));
	margin-inline: auto;
	padding-top: 32px;
	padding-bottom: 24px;
}

.entry--no-title .entry-content > *:first-child {
	margin-top: 0;
}

.entry-content > * {
	width: min(100% - (var(--content-gutter) * 2), var(--content-width));
	margin-inline: auto;
}

.entry-content > * + * {
	margin-top: 0;
}

.entry-content > h2,
.entry-content > h3,
.entry-content > h4 {
	margin-top: 1.6em;
	margin-bottom: 0.6em;
	line-height: 1.2;
}

.entry-content > ul,
.entry-content > ol {
	padding-left: 1.25em;
}

.entry-content > figure,
.entry-content > .wp-block-image {
	margin-top: 1.5em;
	margin-bottom: 1.5em;
}

.entry-content > .alignwide {
	width: min(100% - (var(--content-gutter) * 2), var(--wide-width));
}

.entry-content > .alignfull {
	width: 100%;
	max-width: none;
	margin-inline: 0;
}

@media (max-width: 900px) {
	.entry-content > *,
	.entry-content > .alignwide {
		width: 100%;
	}
}

.posts-list {
	display: grid;
	gap: 32px;
}

.entry-title {
	margin: 0 0 16px;
}

body.single .entry-header {
	width: min(100% - (var(--content-gutter) * 2), 565px);
	margin-inline: auto;
	padding-top: 32px;
	padding-bottom: 64px;
	text-align: center;
}

body.single .entry-category {
	margin: 0 0 11px;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	letter-spacing: -0.8px;
	text-transform: uppercase;
}

body.single h1.entry-title {
	margin: 0;
	font-size: 38px;
	font-style: normal;
	font-weight: 400;
	line-height: 38px;
	letter-spacing: -1.9px;
	text-align: center;
}

/* ========== Footer ========== */

.site-footer {
	background: var(--color-bg);
	color: var(--color-fg);
	padding: 16px;
}

.site-footer__inner {
	max-width: var(--container-width);
	margin-inline: auto;
}

.site-footer__grid {
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	gap: 32px;
}

.site-footer__col {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 465px;
	max-width: 100%;
}

.site-footer__col--aside {
	gap: 36px;
}

.site-footer__label {
	margin: 0 0 12px;
	font-size: 12px;
	letter-spacing: -0.05em;
	color: #d9d9d9;
	font-weight: 400;
}

.site-footer__promo {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.site-footer__promo-text {
	font-size: 21px;
	line-height: 21px;
	letter-spacing: -0.05em;
	color: var(--color-fg);
	margin: 0;
}

.site-footer__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	padding: 3px 8px;
	min-width: 125px;
	border: 1.626px solid #d9d9d9;
	border-radius: 8px;
	background: transparent;
	color: var(--color-fg);
	font-size: 12px;
	font-weight: 500;
	line-height: 22px;
	letter-spacing: -0.05em;
	cursor: pointer;
	font-family: inherit;
	text-align: center;
	align-self: flex-start;
}

.site-footer__btn:hover {
	opacity: 0.9;
}

.site-footer__brand {
	display: flex;
	align-items: center;
	gap: 25px;
}

.site-footer__brand-logo svg {
	height: 40px;
	width: auto;
	display: block;
}

.site-footer__copy {
	font-size: 14px;
	font-weight: 500;
	letter-spacing: -0.05em;
	line-height: 18px;
}

.site-footer__subscribe {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.site-footer__form {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.site-footer__form-row {
	display: flex;
	gap: 8px;
	align-items: center;
}

.site-footer__input {
	flex: 1;
	min-width: 0;
	height: 44px;
	padding: 10px 8px;
	border: 1.626px solid #d9d9d9;
	border-radius: 8px;
	background: #fff;
	color: #000;
	font-size: 12px;
	line-height: 22px;
	letter-spacing: -0.05em;
	font-family: inherit;
}

.site-footer__input::placeholder {
	color: #969696;
	font-weight: 500;
}

.site-footer__consent {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 16px;
	line-height: 16px;
	letter-spacing: -0.05em;
	font-weight: 500;
	cursor: pointer;
}

.site-footer__consent input[type='checkbox'] {
	width: 28px;
	height: 28px;
	flex-shrink: 0;
	border: 1.626px solid #d9d9d9;
	border-radius: 7.333px;
	background: #fff;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
	position: relative;
}

.site-footer__consent input[type='checkbox']:checked::after {
	content: '';
	position: absolute;
	inset: 6px;
	background: #000;
	border-radius: 3px;
}

.site-footer__status {
	margin: 0;
	font-size: 12px;
	letter-spacing: -0.05em;
}

.site-footer__status--ok {
	color: var(--color-accent);
}

.site-footer__status--error {
	color: #ff6b6b;
}

.site-footer__links {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

.site-footer__links-col {
	flex: 1 0 0;
	min-width: 0;
}

.site-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.site-footer__list li a,
.site-footer__list a {
	color: var(--color-fg);
	font-size: 14px;
	font-weight: 500;
	line-height: 18px;
	letter-spacing: -0.05em;
	text-decoration: none;
}

.site-footer__list a:hover {
	opacity: 0.7;
}

.site-footer__mobile-brand {
	display: none;
}

.site-fixed-panel {
	display: none;
}

/* Footer responsive */
@media (max-width: 1280px) {
	body {
		padding-bottom: calc(62px + env(safe-area-inset-bottom));
	}

	.site-fixed-panel {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 90;
		display: block;
		padding-bottom: env(safe-area-inset-bottom);
		background: #fff;
	}

	.site-fixed-panel__inner {
		position: relative;
		width: min(100% - 32px, 992px);
		height: 62px;
		margin: 0 auto;
		display: flex;
		align-items: center;
		justify-content: space-between;
		background: #fff;
	}

	.site-fixed-panel__inner::before {
		content: '';
		position: absolute;
		left: 0;
		right: 0;
		top: 0;
		height: 1px;
		background: #d9d9d9;
	}

	.site-fixed-panel__how {
		display: inline-flex;
		align-items: center;
		gap: 7.143px;
		min-width: 0;
		text-decoration: none;
	}

	.site-fixed-panel__how-icon {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 36px;
		height: 36px;
		flex: 0 0 36px;
		border: 1px solid rgba(150, 150, 150, 0.33);
		border-radius: 9.536px;
		color: #000;
	}

	.site-fixed-panel__how-icon svg {
		display: block;
		width: 32.571px;
		height: 32.571px;
	}

	.site-fixed-panel__how-label,
	.site-fixed-panel__start {
		font-size: 14px;
		line-height: 18px;
		letter-spacing: -0.05em;
	}

	.site-fixed-panel__how-label {
		width: 122.562px;
		font-weight: 500;
		color: #000;
	}

	.site-fixed-panel__start {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 97px;
		height: 36px;
		flex: 0 0 97px;
		border: 1.33px solid #1dff60;
		border-radius: 22px;
		background: #1dff60;
		color: #000;
		font-weight: 500;
		text-decoration: none;
		transition: opacity 0.2s ease, transform 0.2s ease;
	}

	.site-fixed-panel__how:hover,
	.site-fixed-panel__start:hover {
		opacity: 0.92;
	}

	.site-fixed-panel__how:active,
	.site-fixed-panel__start:active {
		transform: translateY(0);
		opacity: 0.88;
	}
}

@media (max-width: 900px) {
	body.single .entry-header {
		width: 100%;
		padding-top: 29px;
		padding-bottom: 32px;
	}

	body.single .entry-category {
		margin-bottom: 8px;
		font-size: 12px;
		letter-spacing: -0.6px;
	}

	body.single h1.entry-title {
		font-size: 24px;
		line-height: 24px;
		letter-spacing: -1.2px;
	}

	.site-footer__grid {
		flex-direction: column;
		gap: 62px;
	}

	.site-footer__col {
		width: 100%;
	}

	.site-footer__promo-text {
		font-size: 21px;
		line-height: 21px;
	}

	.site-footer__brand {
		display: none;
	}

	.site-footer__mobile-brand {
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin-top: 36px;
	}

	.site-footer__mobile-brand .site-footer__brand-logo svg {
		height: 108px;
	}

	.site-footer__links {
		gap: 12px;
	}

	.site-fixed-panel__inner {
		width: min(100% - 24px, 351px);
	}
}

