:root {
	--bg: #f4f7fb;
	--ink: #142033;
	--muted: #526277;
	--navy: #0c1c33;
	--navy-2: #163154;
	--line: #d7e1ee;
	--gold: #e6cf9e;
	--gold-deep: #8a6424;
	--teal: #0b5e57;
	--teal-dark: #08443f;
	--white: #ffffff;
	--card: #ffffff;
	--warn: #6d2e2a;
	--shadow: 0 16px 40px rgba(12, 28, 51, 0.08);
	--radius: 18px;
	--max: 1080px;
	--header: 64px;
	font-family: "Segoe UI", Nirmala UI, "Noto Sans", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-size: 1.0625rem;
	line-height: 1.55;
	padding-bottom: 92px;
}

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

a { color: var(--teal); }

a:hover { color: var(--teal-dark); }

:focus-visible {
	outline: 3px solid #c6a15b;
	outline-offset: 3px;
}

.skip {
	position: absolute;
	left: 12px;
	top: -40px;
	background: #fff;
	color: var(--navy);
	padding: 8px 12px;
	z-index: 80;
}

.skip:focus { top: 12px; }

.wrap {
	width: min(var(--max), calc(100% - 32px));
	margin-inline: auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 30;
	background: rgba(12, 28, 51, 0.96);
	color: #fff;
	backdrop-filter: blur(10px);
}

.header-bar {
	min-height: var(--header);
	display: flex;
	align-items: center;
	padding: 6px 0;
	flex-wrap: wrap;
	gap: 8px 12px;
}

.header-tools {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 4px;
}

.logo {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1px;
	color: #fff;
	text-decoration: none;
	line-height: 1;
}

.logo img { width: 46px; height: auto; }

.logo-url {
	color: #f4e4c4;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.01em;
}

.nav-toggle {
	min-width: 48px;
	min-height: 48px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	background: transparent;
	color: #fff;
	border-radius: 12px;
	font: inherit;
}

.primary-nav { display: none; }

.primary-nav.is-open {
	display: block;
	flex: 1 0 100%;
	padding: 0 0 12px;
	order: 5;
}

.primary-nav ul,
.footer-nav ul,
.crumbs ol {
	list-style: none;
	margin: 0;
	padding: 0;
}

.primary-nav a {
	display: flex;
	align-items: center;
	min-height: 48px;
	color: #fff;
	text-decoration: none;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.primary-nav a[aria-current="page"] { color: var(--gold); }

.lang-switch {
	display: flex;
	gap: 8px;
	align-items: center;
}

.lang-switch a {
	color: #d5e2f2;
	text-decoration: none;
	min-height: 48px;
	display: inline-flex;
	align-items: center;
	padding: 0 8px;
	font-size: 0.95rem;
}

.lang-switch a[aria-current="true"] {
	color: var(--gold);
	font-weight: 700;
}

.hero {
	background:
		radial-gradient(900px 320px at 90% -10%, rgba(198, 161, 91, 0.28), transparent 60%),
		linear-gradient(160deg, #0c1c33 0%, #163154 70%, #0e4f4a 100%);
	color: #fff;
	padding: 28px 0 24px;
}

.kicker {
	margin: 0 0 8px;
	color: var(--gold);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	font-size: 0.78rem;
}

.hero h1,
.page-head h1,
.prose h1 {
	font-size: clamp(2rem, 8vw, 3.35rem);
	line-height: 1.12;
	letter-spacing: -0.035em;
	margin: 0 0 10px;
}

.lede,
.page-head p { font-size: 1.125rem; }

.hero .lede { max-width: 38rem; color: #e7eef8; margin: 0 0 14px; }

.hero-actions,
.button-row { display: flex; flex-direction: column; gap: 8px; }

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 22px;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 700;
	border: 0;
	white-space: nowrap;
}

.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); color: #fff; }
.btn-ghost {
	background: transparent;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.45);
}
.btn-ghost.dark {
	color: var(--navy);
	border-color: #b7c6d8;
}
.hero .btn-primary {
	background: #f0d48a;
	color: var(--navy);
}
.hero .btn-primary:hover {
	background: #e4c56e;
	color: var(--navy);
}
.hero .btn-ghost {
	color: #f7f1e4;
	background: transparent;
	border-color: rgba(240, 212, 138, 0.9);
}
.hero .btn-ghost:hover {
	background: rgba(240, 212, 138, 0.14);
	color: #fff;
}
.btn-small { padding: 0 18px; }

.device-note {
	margin: 10px 0 0;
	color: #f4e4c4;
	max-width: 40rem;
}

.trust-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-top: 16px;
	padding: 0;
	list-style: none;
}

.trust-row li {
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 14px;
	padding: 8px 12px;
}

.trust-row strong { display: block; color: #fff; }
.trust-row span { color: #d5e2f2; font-size: 0.92rem; }

.section { padding: 20px 0; }

.hero + .section { padding-top: 12px; }

.panel {
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 18px;
}

.spec { width: 100%; border-collapse: collapse; table-layout: auto; }
.spec caption {
	text-align: left;
	font-weight: 700;
	margin-bottom: 8px;
	color: var(--ink);
}
.spec th,
.spec td {
	text-align: left;
	vertical-align: middle;
	padding: 10px 8px;
	border-bottom: 1px solid var(--line);
}
.spec th {
	width: 1%;
	white-space: nowrap;
	padding-right: 16px;
	color: var(--muted);
	font-weight: 600;
}
.spec td .btn { max-width: 100%; }
.spec-compare th,
.spec-compare td {
	width: auto;
	white-space: normal;
}
.spec-compare thead th { color: var(--ink); }
.spec-label { display: none; }

.onpage {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 18px;
}
.onpage a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 12px;
	border-radius: 999px;
	background: #e7eef8;
	text-decoration: none;
	color: var(--navy);
	font-size: 0.95rem;
}

.prose h2 {
	font-size: clamp(1.45rem, 4vw, 1.9rem);
	line-height: 1.25;
	letter-spacing: -0.03em;
	margin: 0 0 12px;
}

.prose h3 { margin: 14px 0 6px; font-size: 1.15rem; }

.prose p { margin: 0 0 0.7em; }

.prose p,
.prose li { max-width: 68ch; }

.prose ul,
.prose ol { padding-left: 1.2rem; }

.app-gallery {
	margin: 14px 0 4px;
	max-width: none;
}
.app-gallery figcaption {
	margin: 0 0 10px;
	font-weight: 700;
}
.app-shots {
	display: flex;
	gap: 12px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: 2px;
	padding-bottom: 8px;
	-webkit-overflow-scrolling: touch;
}
.app-shots img {
	flex: 0 0 min(72vw, 260px);
	width: min(72vw, 260px);
	height: auto;
	scroll-snap-align: start;
	border-radius: 16px;
	border: 1px solid var(--line);
	box-shadow: var(--shadow);
	background: #140c08;
}

.card-grid,
.post-grid {
	display: grid;
	gap: 10px;
}

.card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 16px;
	padding: 16px;
}

.card h3,
.post-grid h2 { margin: 0 0 8px; font-size: 1.15rem; }

.card p,
.post-grid p { margin: 0; color: var(--muted); }

.steps { padding-left: 1.2rem; }
.steps li { margin: 8px 0; }

.notice {
	border-left: 4px solid var(--gold-deep);
	background: #fbf6ea;
	padding: 14px 16px;
	border-radius: 12px;
}

.notice strong { color: var(--warn); }

.data-card {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	margin: 18px 0 22px;
	border: 1px solid var(--line);
	border-radius: 16px;
	overflow: hidden;
	background: #fff;
}
.data-card div { padding: 12px 14px; border-bottom: 1px solid var(--line); }
.data-card dt { color: var(--muted); font-size: 0.85rem; }
.data-card dd { margin: 2px 0 0; font-weight: 700; }

.page-head { margin-bottom: 12px; }
.page-head p { color: var(--muted); }

.crumbs { margin-bottom: 14px; font-size: 0.95rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--muted); }

.faq-item { margin: 0 0 16px; }
.faq-item h2 { font-size: 1.3rem; }

.spec-visual { margin: 0 0 18px; border-radius: 20px; }

.site-footer {
	background: var(--navy);
	color: #d5e2f2;
	padding: 24px 0 20px;
	margin-top: 8px;
}

.footer-grid { display: grid; gap: 16px; }
.site-footer a { color: #fff; }
.site-footer h2 { font-size: 1rem; margin: 0 0 8px; color: var(--gold); }
.footer-nav a { display: inline-flex; min-height: 36px; align-items: center; text-decoration: none; }
.share-row { display: flex; flex-wrap: wrap; gap: 8px; }
.share-row a {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	padding: 0 12px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 999px;
	text-decoration: none;
}
.legal-note {
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	color: #f4e4c4;
}
.copyright { color: #9fb0c6; font-size: 0.92rem; }

.float-dl {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 40;
	min-height: 52px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f0d48a;
	color: var(--navy);
	text-decoration: none;
	font-weight: 700;
	border-radius: 999px;
	box-shadow: 0 10px 24px rgba(12, 28, 51, 0.28);
}
.float-dl.is-parked {
	visibility: hidden;
	pointer-events: none;
}

.search-form { display: flex; flex-direction: column; gap: 10px; margin: 16px 0; }
.search-form input[type="search"] {
	min-height: 48px;
	border-radius: 12px;
	border: 1px solid var(--line);
	padding: 0 14px;
	font: inherit;
	font-size: 16px;
}
.empty { color: var(--muted); }

@media (max-width: 700px) {
	.spec-compare thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
	}
	.spec-compare tr {
		display: block;
		padding: 8px 0;
		border-bottom: 1px solid var(--line);
	}
	.spec-compare th,
	.spec-compare td {
		display: block;
		width: auto;
		border-bottom: 0;
		padding: 4px 0;
	}
	.spec-label {
		display: block;
		font-size: 0.85rem;
		font-weight: 600;
	}
}

@media (min-width: 800px) {
	body { padding-bottom: 0; }
	.nav-toggle { display: none; }
	.header-bar { flex-wrap: nowrap; gap: 24px; }
	.primary-nav { display: block; margin-left: auto; }
	.header-tools { margin-left: 0; }
	.primary-nav ul { display: flex; gap: 4px; }
	.primary-nav a {
		border-top: 0;
		padding: 0 10px;
		border-radius: 10px;
	}
	.hero { padding: 36px 0 28px; }
	.hero-actions, .button-row { flex-direction: row; align-items: center; }
	.trust-row { grid-template-columns: repeat(4, 1fr); }
	.card-grid { grid-template-columns: 1fr 1fr; }
	.post-grid { grid-template-columns: 1fr 1fr 1fr; }
	.footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
	.float-dl { display: none; }
	.panel { padding: 16px 18px; }
	.app-shots {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 280px));
		justify-content: start;
		overflow: visible;
		padding-bottom: 0;
	}
	.app-shots img {
		width: 100%;
		flex: none;
	}
	.data-card { grid-template-columns: repeat(3, 1fr); }
	.data-card div:nth-last-child(-n+3) { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}

@media print {
	.site-header, .site-footer, .float-dl { display: none; }
	body { padding: 0; background: #fff; }
}
