:root {
	--background-color: #10182e;
	--default-color: #f5f7ff;
	--heading-color: #ffffff;
	--accent-color: #3ee0c5;
	--surface-color: #171e33;
	--default-font: "Segoe UI", Roboto, system-ui, sans-serif;
	--heading-font: "Segoe UI", system-ui, sans-serif;
	--muted: #c5d0dc;
}

* { box-sizing: border-box; }

body {
	margin: 0;
	min-height: 100vh;
	color: var(--default-color);
	background: var(--background-color);
	font-family: var(--default-font);
	font-size: 17px;
	line-height: 1.7;
}

a { color: var(--accent-color); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
	width: min(920px, calc(100% - 32px));
	margin: 0 auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 40;
	background: rgba(16, 24, 46, 0.92);
	border-bottom: 1px solid rgba(250, 253, 255, 0.08);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: nowrap;
	gap: 16px;
	min-height: 76px;
}

.logo {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 8px;
	color: var(--heading-color);
	text-decoration: none;
	white-space: nowrap;
}

.logo img { width: 40px; height: 40px; border-radius: 10px; }

.logo span {
	font-family: var(--heading-font);
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -0.03em;
}

.header-tools {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 10px;
	margin-left: auto;
}
.nav { display: flex; flex-wrap: nowrap; align-items: center; gap: 8px 18px; }
.nav a, .burger-list a { color: #d8e4f0; font-family: var(--heading-font); font-size: 14px; font-weight: 600; white-space: nowrap; }
.nav a { border-bottom: 2px solid transparent; padding-bottom: 2px; }
.nav a:hover { color: #ffffff; text-decoration: none; }
.nav a[aria-current="page"] { color: #ffffff; border-bottom-color: var(--accent-color); text-decoration: none; }

.nav-burger { display: none; position: relative; }
.nav-burger summary {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(250, 253, 255, 0.16);
	border-radius: 999px;
	background: var(--surface-color);
	cursor: pointer;
	list-style: none;
}
.nav-burger summary::-webkit-details-marker { display: none; }
.nav-burger summary:hover { border-color: rgba(250, 253, 255, 0.32); }
.burger-icon, .burger-icon::before, .burger-icon::after {
	display: block;
	width: 16px;
	height: 2px;
	border-radius: 1px;
	background: #ffffff;
}
.burger-icon { position: relative; }
.burger-icon::before, .burger-icon::after { content: ""; position: absolute; left: 0; }
.burger-icon::before { top: -6px; }
.burger-icon::after { top: 6px; }
.burger-list {
	position: absolute;
	right: 0;
	top: calc(100% + 8px);
	z-index: 30;
	min-width: 168px;
	padding: 6px;
	border: 1px solid rgba(250, 253, 255, 0.12);
	border-radius: 14px;
	background: #141e2b;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.burger-list a { display: block; padding: 8px 12px; border-radius: 8px; }
.burger-list a:hover { color: #ffffff; background: rgba(62, 224, 197, 0.12); text-decoration: none; }
.burger-list a[aria-current="page"] { color: #ffffff; background: rgba(62, 224, 197, 0.28); text-decoration: none; }

.lang-slot { flex: 0 0 auto; }
.lang-menu { position: relative; }
.lang-menu summary {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: 6px 12px;
	border: 1px solid rgba(250, 253, 255, 0.16);
	border-radius: 999px;
	background: var(--surface-color);
	color: #ffffff;
	font-family: var(--heading-font);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	list-style: none;
	white-space: nowrap;
}
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary:hover { border-color: rgba(250, 253, 255, 0.32); }
.lang-chevron {
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid #d8e4f0;
}
.lang-menu[open] .lang-chevron { transform: rotate(180deg); }
.lang-list {
	position: absolute;
	right: 0;
	top: calc(100% + 8px);
	z-index: 30;
	min-width: 196px;
	padding: 6px;
	border: 1px solid rgba(250, 253, 255, 0.12);
	border-radius: 14px;
	background: #141e2b;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.lang-list a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 10px;
	border-radius: 8px;
	color: #d8e4f0;
	font-size: 14px;
	font-weight: 600;
}
.lang-list a[aria-current="true"], .lang-list a:hover {
	background: rgba(62, 224, 197, 0.18);
	color: #ffffff;
	text-decoration: none;
}
.flag {
	width: 20px;
	height: 14px;
	border-radius: 2px;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28);
	flex: 0 0 auto;
}

main { padding: 56px 0 72px; }

.eyebrow {
	display: inline-block;
	margin: 0 0 14px;
	padding: 8px 16px;
	border-radius: 50px;
	background: color-mix(in srgb, var(--accent-color), transparent 82%);
	color: var(--accent-color);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

h1, h2 { font-family: var(--heading-font); color: var(--heading-color); line-height: 1.25; }
h1 { margin: 0 0 16px; font-size: 40px; }
h2 { margin: 32px 0 8px; font-size: 22px; }

.lead { font-size: 18px; }
.updated { color: rgba(250, 253, 255, 0.7); }

.page-links { padding: 0; list-style: none; }
.page-links a {
	display: inline-block;
	margin: 0 0 10px;
	padding: 10px 18px;
	border-radius: 8px;
	background: var(--surface-color);
}

.form, .notice {
	margin-top: 24px;
	padding: 24px;
	border-radius: 16px;
	background: var(--surface-color);
}

label { display: block; margin-bottom: 16px; font-weight: 500; }
input[type="email"], input[type="text"] {
	display: block;
	width: 100%;
	margin-top: 6px;
	padding: 12px 14px;
	border: 1px solid rgba(250, 253, 255, 0.16);
	border-radius: 8px;
	background: #10182e;
	color: var(--default-color);
	font: inherit;
}
.check { display: flex; align-items: center; gap: 10px; }
.check input { width: auto; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

button {
	border: 0;
	border-radius: 8px;
	padding: 12px 22px;
	background: var(--accent-color);
	color: #06221f;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.notice-error { color: #ffd0d0; }

.site-footer {
	border-top: 1px solid rgba(250, 253, 255, 0.08);
	padding: 28px 0 40px;
	color: rgba(250, 253, 255, 0.75);
	text-align: center;
}
.footer-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 0 8px;
}
.footer-name, .footer-mail, .footer-version, .footer-copy { margin: 0; }
.footer-version {
	font-size: 13px;
	line-height: 1.4;
	color: rgba(250, 253, 255, 0.55);
}
.footer-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 16px;
	margin: 0;
}
.skip {
	position: absolute;
	left: 12px;
	top: -48px;
	z-index: 5;
	padding: 8px 12px;
	border-radius: 8px;
	background: #ffffff;
	color: #10182e;
}
.skip:focus { top: 12px; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
	outline: 3px solid #f5c542;
	outline-offset: 2px;
}

.hero, .shots, .cards {
	display: grid;
	gap: 22px;
}
.hero { align-items: center; grid-template-columns: 96px 1fr; margin-bottom: 28px; }
.hero-icon { width: 96px; height: 96px; border-radius: 22px; }
.pill, .status {
	display: inline-block;
	margin: 0 0 12px;
	padding: 6px 12px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--accent-color), transparent 82%);
	color: #d8fff6;
	font-size: 14px;
	font-weight: 700;
}
.status { display: block; border-radius: 16px; background: var(--surface-color); color: var(--default-color); }
.shots {
	grid-template-columns: 1fr 1.31875fr;
	align-items: start;
	gap: 12px 16px;
	max-width: 720px;
	margin: 12px 0 28px;
}
.shots figure { margin: 0; min-width: 0; }
.shots img { display: block; width: 100%; height: auto; border-radius: 22px; background: var(--surface-color); }
.guide-coin {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin: 0 0 16px;
}
.guide-coin img {
	width: 32px;
	height: 32px;
	margin-top: 4px;
	flex: 0 0 auto;
	background: transparent;
}
.guide-coin p { margin: 0; }
.guide-icons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px 22px;
	margin: 4px 0 20px;
	background: transparent;
}
.guide-icons img {
	width: 48px;
	height: 48px;
	flex: 0 0 auto;
	background: transparent;
}
.shots figcaption {
	margin-top: 8px;
	color: var(--muted);
	font-size: clamp(11px, 2.5vw, 15px);
	line-height: 1.35;
	text-align: center;
	overflow-wrap: break-word;
}
.updated { color: var(--muted); }
.crumbs { margin: 0 0 18px; font-size: 14px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0; padding: 0; list-style: none; }
.crumbs li { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.crumbs li + li::before { content: "/"; color: rgba(250, 253, 255, 0.35); }
.crumbs a { color: var(--muted); }
.crumbs [aria-current="page"] { color: var(--default-color); }
.news-tabs { display: flex; flex-wrap: nowrap; align-items: flex-end; gap: 4px; margin: 0 0 18px; border-bottom: 1px solid rgba(250, 253, 255, 0.22); }
.news-tabs input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.news-tabs label { flex: 0 0 auto; margin-bottom: -1px; padding: 8px 12px; border: 1px solid transparent; border-radius: 6px 6px 0 0; background: transparent; color: var(--muted); font-size: 14px; font-weight: 700; line-height: 1.2; text-align: center; white-space: nowrap; cursor: pointer; transition: font-size 0.22s ease, color 0.22s ease, background-color 0.22s ease, border-color 0.22s ease; }
.news-tabs label:hover { color: #ffffff; }
.news-tabs input:checked + label { color: #ffffff; background: var(--background-color); border-color: rgba(250, 253, 255, 0.22) rgba(250, 253, 255, 0.22) var(--background-color); font-size: 17px; }
.news-tabs input:focus-visible + label { outline: 3px solid #f5c542; outline-offset: 2px; }
.news-list { display: grid; gap: 14px; }
.news-list article { padding: 20px; border-radius: 16px; background: var(--surface-color); }
.news-meta { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin: 0 0 8px; color: var(--muted); font-size: 14px; }
.news-type { padding: 2px 8px; border-radius: 999px; background: color-mix(in srgb, var(--accent-color), transparent 78%); color: #d8fff6; font-weight: 700; }
.news-list h2 { margin: 0 0 8px; font-size: 22px; }
.news-list article p { margin: 0 0 8px; }
.news-list article p:last-child { margin-bottom: 0; }
.news-empty { display: none; margin: 0; color: var(--muted); }
.news-board:has(#news-all:checked):not(:has(article)) .news-empty[data-empty="all"] { display: block; }
.news-board:has(#news-new:checked) article:not([data-type="new"]) { display: none; }
.news-board:has(#news-improvement:checked) article:not([data-type="improvement"]) { display: none; }
.news-board:has(#news-optimization:checked) article:not([data-type="optimization"]) { display: none; }
.news-board:has(#news-fix:checked) article:not([data-type="fix"]) { display: none; }
.news-board:has(#news-new:checked):not(:has(article[data-type="new"])) .news-empty[data-empty="type"],
.news-board:has(#news-improvement:checked):not(:has(article[data-type="improvement"])) .news-empty[data-empty="type"],
.news-board:has(#news-optimization:checked):not(:has(article[data-type="optimization"])) .news-empty[data-empty="type"],
.news-board:has(#news-fix:checked):not(:has(article[data-type="fix"])) .news-empty[data-empty="type"] { display: block; }
.cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards article, .form, .notice {
	padding: 20px;
	border-radius: 16px;
	background: var(--surface-color);
}
.cards h3 { margin: 0 0 8px; font-size: 18px; }
.cards p { margin: 0; }
textarea {
	display: block;
	width: 100%;
	margin-top: 6px;
	padding: 12px 14px;
	border: 1px solid rgba(250, 253, 255, 0.16);
	border-radius: 8px;
	background: #10182e;
	color: var(--default-color);
	font: inherit;
}
.button {
	display: inline-block;
	padding: 12px 18px;
	border-radius: 8px;
	background: var(--accent-color);
	color: #06221f;
	font-weight: 700;
}
h3 { font-family: var(--heading-font); color: var(--heading-color); }

@media (max-width: 820px) {
	.nav { display: none; }
	.nav-burger { display: block; }
	.lang-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.shots { gap: 8px 10px; max-width: none; }
	.shots img { border-radius: 16px; }
}
@media (max-width: 560px) {
	.guide-icons { display: grid; grid-template-columns: 48px 48px; width: max-content; gap: 18px 22px; }
}

@media (max-width: 800px) {
	.hero, .cards { grid-template-columns: 1fr; }
	.footer-nav { flex-direction: column; align-items: center; }
}

@media (max-width: 700px) {
	h1 { font-size: 32px; }
	.news-tabs { gap: 4px; }
	.news-tabs label { padding: 7px 6px; font-size: 12px; }
	.news-tabs input:checked + label { font-size: 15px; }
}

@media (max-width: 420px) {
	.news-tabs { gap: 3px; }
	.news-tabs label { padding: 7px 3px; font-size: 10px; }
	.news-tabs input:checked + label { font-size: 12px; }
}

@media (max-width: 360px) {
	.news-tabs { gap: 2px; }
	.news-tabs label { padding: 7px 1px; font-size: 9px; }
	.news-tabs input:checked + label { font-size: 10px; }
}

.loader {
	position: fixed;
	inset: 0;
	z-index: 80;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 16px;
	background: var(--background-color);
	animation: loader-release 0.4s ease 8s forwards;
}
.loader img { width: 72px; height: 72px; border-radius: 18px; }
.loader-spin {
	width: 36px;
	height: 36px;
	border: 3px solid rgba(250, 253, 255, 0.18);
	border-top-color: var(--accent-color);
	border-radius: 50%;
	animation: loader-spin 0.8s linear infinite;
}
.loader-label { margin: 0; color: var(--muted); font-size: 14px; font-weight: 600; }
.loader.is-done {
	opacity: 0;
	pointer-events: none;
	visibility: hidden;
	transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}
@keyframes loader-spin { to { transform: rotate(360deg); } }
@keyframes loader-release { to { opacity: 0; visibility: hidden; } }

.to-top {
	position: fixed;
	right: max(16px, env(safe-area-inset-right));
	bottom: max(16px, env(safe-area-inset-bottom));
	z-index: 45;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid rgba(250, 253, 255, 0.16);
	border-radius: 999px;
	background: var(--accent-color);
	color: #06221f;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}
.to-top svg { width: 22px; height: 22px; }
.to-top.is-visible { opacity: 1; visibility: visible; pointer-events: auto; }
.to-top:hover { transform: translateY(-2px); }

@media (prefers-reduced-motion: reduce) {
	.loader-spin { animation: none; }
	.loader.is-done, .to-top, .news-tabs label { transition: none; }
	.to-top:hover { transform: none; }
}
