@font-face {
	font-family: Literata;
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(fonts/literata-cyrillic-400-normal.woff2) format('woff2');
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: Literata;
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url(fonts/literata-cyrillic-600-normal.woff2) format('woff2');
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: Literata;
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url(fonts/literata-cyrillic-800-normal.woff2) format('woff2');
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: Literata;
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url(fonts/literata-cyrillic-400-italic.woff2) format('woff2');
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: 'PT Sans';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(fonts/pt-sans-cyrillic-400-normal.woff2) format('woff2');
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: 'PT Sans';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url(fonts/pt-sans-cyrillic-700-normal.woff2) format('woff2');
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: Literata;
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(fonts/literata-latin-400-normal.woff2) format('woff2');
	unicode-range:
		U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
		U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: Literata;
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url(fonts/literata-latin-600-normal.woff2) format('woff2');
	unicode-range:
		U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
		U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: Literata;
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url(fonts/literata-latin-800-normal.woff2) format('woff2');
	unicode-range:
		U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
		U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: Literata;
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url(fonts/literata-latin-400-italic.woff2) format('woff2');
	unicode-range:
		U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
		U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'PT Sans';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(fonts/pt-sans-latin-400-normal.woff2) format('woff2');
	unicode-range:
		U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
		U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'PT Sans';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url(fonts/pt-sans-latin-700-normal.woff2) format('woff2');
	unicode-range:
		U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
		U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Резюме свёрстано как номер делового журнала: обложка, содержание, три статьи-кейса, рубрики. Один мир — холодная газетная бумага. */
:root {
	--paper: #e8ecef; /* газетная бумага, холодная */
	--sheet: #f4f6f7; /* вклейка */
	--ink: #16191d;
	--ink2: #4c545e;
	--soft: #b8c0c9; /* тонкие линейки */
	--spot: #8a1c2b; /* бордовая плашка рубрик */
	--serif: Literata, Georgia, 'Times New Roman', serif;
	--sans: 'PT Sans', 'Segoe UI', Arial, sans-serif;
	color-scheme: light;
}
* {
	box-sizing: border-box;
}
html {
	scroll-behavior: smooth;
	scroll-padding-top: 64px;
}
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 400 18px/1.62 var(--sans);
	font-variant-numeric: tabular-nums;
}
img {
	max-width: 100%;
	height: auto;
	display: block;
}
a {
	color: var(--spot);
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
img[tabindex]:focus-visible {
	outline: 3px solid var(--spot);
	outline-offset: 3px;
}
.in {
	max-width: 1240px;
	margin: 0 auto;
	padding-inline: 32px;
}
h1,
h2,
h3,
h4 {
	font-family: var(--serif);
	text-wrap: balance;
	margin: 0;
}
p {
	margin: 0 0 1em;
}

/* ---------- шапка ---------- */
.mast {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 18px;
	flex-wrap: wrap;
	border-bottom: 3px solid var(--ink);
	padding-block: 26px 12px;
}
.mast .name {
	font: 800 clamp(34px, 4.6vw, 64px)/1 var(--serif);
	letter-spacing: -0.02em;
}
.mast .issue {
	font-size: 15px;
	color: var(--ink2);
	text-align: right;
	line-height: 1.4;
}
.strip {
	position: sticky;
	top: env(safe-area-inset-top, 0px);
	z-index: 20;
	background: var(--paper);
	border-bottom: 1px solid var(--ink);
}
.strip .in {
	display: flex;
	gap: 22px;
	align-items: center;
	overflow-x: auto;
	scrollbar-width: none;
	padding-block: 11px;
	font-size: 15px;
	white-space: nowrap;
}
.strip .in::-webkit-scrollbar {
	display: none;
}
.strip a {
	color: var(--ink);
	text-decoration: none;
}
.strip a:hover {
	color: var(--spot);
}
.strip .tg {
	margin-left: auto;
	font-weight: 700;
	color: var(--spot);
}

.rubric {
	display: inline-block;
	background: var(--spot);
	color: #fff;
	font: 700 14px/1 var(--sans);
	padding: 6px 10px;
	margin-bottom: 18px;
}

/* ---------- обложка ---------- */
.cover {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: 48px;
	padding-block: 44px 60px;
	border-bottom: 1px solid var(--ink);
}
.cover > * {
	min-width: 0;
}
.role {
	font: 400 19px/1.45 var(--sans);
	color: var(--ink2);
	margin: 0 0 22px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--soft);
	max-width: 36em;
}
.role b {
	font: 800 clamp(22px, 2.2vw, 30px)/1.2 var(--serif);
	color: var(--ink);
	display: block;
	margin-bottom: 4px;
	letter-spacing: -0.01em;
}
.cover h1 {
	font: 800 clamp(42px, 5vw, 86px)/0.98 var(--serif);
	letter-spacing: -0.03em;
	margin-bottom: 24px;
}
.deck {
	font: 400 clamp(20px, 1.9vw, 25px)/1.45 var(--serif);
	color: var(--ink2);
	margin: 0 0 28px;
	max-width: 30em;
}
.byline {
	display: flex;
	gap: 18px 28px;
	flex-wrap: wrap;
	align-items: center;
	font-size: 15px;
	color: var(--ink2);
}
.btn {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	padding: 0 22px;
	background: var(--ink);
	color: #fff;
	text-decoration: none;
	font: 700 16px var(--sans);
}
.btn:hover {
	background: var(--spot);
}
.who b {
	display: block;
	color: var(--ink);
	font-size: 16px;
}
.cover figure {
	margin: 0;
}
.cover figcaption,
.cap {
	font-size: 14px;
	color: var(--ink2);
	margin-top: 10px;
	line-height: 1.45;
}
.cover figcaption b,
.cap b {
	color: var(--ink);
}
.cover img,
.framed {
	border: 1px solid var(--ink);
	background: #fff;
}
.stats {
	margin-top: 26px;
	border-top: 3px solid var(--ink);
}
.stats div {
	display: grid;
	grid-template-columns: minmax(9.5rem, max-content) 1fr;
	gap: 14px;
	align-items: baseline;
	padding: 12px 0;
	border-bottom: 1px solid var(--soft);
}
.stats b {
	font: 800 32px/1 var(--serif);
	letter-spacing: -0.02em;
	white-space: nowrap;
}
.stats span {
	font-size: 15px;
	color: var(--ink2);
}

/* ---------- содержание ---------- */
.toc {
	padding-block: 56px;
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
	gap: 48px;
	border-bottom: 1px solid var(--ink);
}
.toc h2 {
	font: 800 34px/1 var(--serif);
}
.toc ol {
	list-style: none;
	margin: 0;
	padding: 0;
}
.toc li {
	border-top: 1px solid var(--soft);
}
.toc li:first-child {
	border-top: 0;
}
.toc a {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr) auto;
	gap: 22px;
	align-items: baseline;
	padding: 16px 0;
	color: inherit;
	text-decoration: none;
}
.toc li:first-child a {
	padding-top: 0;
}
.toc .pg {
	font: 800 28px/1 var(--serif);
	color: var(--spot);
}
.toc h3 {
	font: 600 25px/1.15 var(--serif);
	margin-bottom: 4px;
}
.toc p {
	margin: 0;
	font-size: 16px;
	color: var(--ink2);
}
.toc .res {
	font: 800 21px/1 var(--serif);
	text-align: right;
	white-space: nowrap;
}
.toc a:hover h3 {
	color: var(--spot);
}

/* ---------- статья ---------- */
.article {
	padding-block: 64px;
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
	gap: 48px;
	border-bottom: 1px solid var(--ink);
}
.article > * {
	min-width: 0;
}
.aside {
	font-size: 15px;
	color: var(--ink2);
	background: var(--sheet);
	border-top: 3px solid var(--ink);
	padding: 16px 18px 20px;
	align-self: start;
	position: sticky;
	top: 72px;
}
.aside dl {
	margin: 0;
}
.aside dt {
	color: var(--ink2);
	font: 700 12px var(--sans);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin-top: 16px;
}
.aside dt:first-child {
	margin-top: 0;
}
.aside dd {
	margin: 3px 0 0;
	color: var(--ink);
}
.aside dd a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 5px;
	background: var(--ink);
	color: #fff;
	text-decoration: none;
	font: 700 14px var(--sans);
	padding: 10px 14px;
	transition: background 0.15s;
}
.aside dd a::after {
	content: '\2197';
	font-size: 13px;
}
.aside dd a:hover,
.aside dd a:focus-visible {
	background: var(--spot);
	color: #fff;
}
@media (max-width: 860px) {
	.aside dd a {
		min-height: 44px;
		padding: 0 16px;
	}
}
.article h2 {
	font: 800 clamp(38px, 4.4vw, 64px)/1.02 var(--serif);
	letter-spacing: -0.025em;
	margin-bottom: 14px;
}
.standfirst {
	font: 400 clamp(20px, 1.8vw, 24px)/1.45 var(--serif);
	color: var(--ink2);
	margin: 0 0 30px;
	max-width: 34em;
}
.cols {
	columns: 2 300px;
	column-gap: 40px;
}
.cols p {
	break-inside: avoid;
	break-inside: avoid-column;
}
.dropcap > p:first-child:first-letter {
	font: 800 4.6em/0.8 var(--serif);
	float: left;
	margin: 0.06em 0.1em 0 0;
	color: var(--spot);
}
.pull {
	font: italic 400 clamp(24px, 2.4vw, 32px)/1.3 var(--serif);
	border-top: 3px solid var(--ink);
	border-bottom: 1px solid var(--ink);
	padding: 18px 0;
	margin: 32px 0;
	max-width: 24em;
}
.pull b {
	font-style: normal;
	font-weight: 800;
	color: var(--spot);
}
.sub {
	font: 800 24px/1.2 var(--serif);
	margin: 44px 0 14px;
}
.grid2 {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
}
.grid3 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}
.grid2 figure,
.grid3 figure,
.wide {
	margin: 0;
}
.wide {
	margin-top: 24px;
}
img[tabindex] {
	cursor: zoom-in;
	display: block;
	transition: filter 0.18s;
}
.zoomable {
	position: relative;
}
.zoomable::after {
	content: 'Нажмите, чтобы рассмотреть';
	position: absolute;
	top: 10px;
	right: 10px;
	font: 700 12px/1 var(--sans);
	letter-spacing: 0.02em;
	color: #fff;
	background: rgba(22, 25, 29, 0.82);
	padding: 7px 10px;
	pointer-events: none;
}
.zoomable:hover img[tabindex] {
	filter: brightness(0.93);
}
.zoomable:hover::after {
	background: var(--spot);
}
img[tabindex]:focus-visible {
	outline: 3px solid var(--spot);
	outline-offset: 2px;
}
.zoomable.zoom-sm::after {
	content: 'Нажмите';
	font-size: 11px;
	padding: 6px 9px;
	top: 8px;
	right: 8px;
}
@media (max-width: 560px) {
	.zoomable::after {
		content: 'Нажмите';
		top: 8px;
		right: 8px;
		font-size: 11px;
		padding: 6px 9px;
	}
}

/* таблица позиций — как журнальная справка */
.box {
	background: var(--sheet);
	border-top: 3px solid var(--ink);
	padding: 20px 22px 18px;
	margin: 32px 0;
}
.box .box-h {
	font: 800 20px/1.2 var(--serif);
	margin-bottom: 12px;
}
.pos {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0;
	border-bottom: 1px solid var(--soft);
}
.pos div {
	padding: 6px 12px 12px 0;
}
.pos div + div {
	border-left: 1px solid var(--soft);
	padding-left: 12px;
}
.pos span {
	display: block;
	font-size: 14px;
	color: var(--ink2);
}
.pos b {
	font: 800 clamp(26px, 3vw, 40px)/1.05 var(--serif);
	letter-spacing: -0.02em;
	white-space: nowrap;
}
.box .note {
	font-size: 14px;
	color: var(--ink2);
	margin: 10px 0 0;
}
.facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
	margin-top: 14px;
}
.facts div {
	padding: 10px 16px 0 0;
}
.facts b {
	display: block;
	font-weight: 700;
	font-size: 17px;
}
.facts span {
	font-size: 14px;
	color: var(--ink2);
}

.timeline {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--ink);
}
.timeline li {
	display: grid;
	grid-template-columns: 150px minmax(0, 1fr);
	gap: 16px;
	padding: 10px 0;
	border-bottom: 1px solid var(--soft);
	font-size: 16px;
}
.timeline b {
	font-family: var(--serif);
	font-weight: 600;
}
.tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	font-size: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.tags li:before {
	content: '— ';
	color: var(--spot);
}

/* ---------- рубрика ИИ ---------- */
.geo {
	padding-block: 64px;
	border-bottom: 1px solid var(--ink);
}
.geo-head {
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
	gap: 48px;
	margin-bottom: 28px;
}
.geo-head h2 {
	font: 800 clamp(34px, 3.8vw, 52px)/1.05 var(--serif);
	letter-spacing: -0.02em;
}
.geo-head p {
	font: 400 21px/1.5 var(--serif);
	color: var(--ink2);
	margin: 0;
	max-width: 34em;
}
.geo-rows {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-top: 3px solid var(--ink);
}
.geo-rows div {
	padding: 18px 24px 0 0;
}
.geo-rows div + div {
	border-left: 1px solid var(--soft);
	padding-left: 24px;
}
.geo-rows b {
	display: block;
	font: 800 clamp(48px, 5.4vw, 80px)/1 var(--serif);
	letter-spacing: -0.03em;
	color: var(--spot);
}
.geo-rows h3 {
	font: 600 22px/1.2 var(--serif);
	margin: 8px 0 6px;
}
.geo-rows p {
	font-size: 15px;
	color: var(--ink2);
	margin: 0;
}

/* ---------- ещё ниши ---------- */
.niches {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 34px 24px;
}
.niche figure {
	margin: 0;
}
.niche .th {
	aspect-ratio: 4/3;
	overflow: hidden;
	border: 1px solid var(--ink);
	background: #fff;
}
.niche .th img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
}
.niche h3 {
	font: 600 20px/1.2 var(--serif);
	margin: 12px 0 2px;
}
.niche .where {
	font-size: 14px;
	color: var(--ink2);
}
.niche p {
	font-size: 15px;
	margin: 6px 0 0;
	line-height: 1.5;
}
.sites {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 40px;
	border-top: 3px solid var(--ink);
}
.sites li {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr);
	gap: 14px;
	padding: 14px 0;
	border-bottom: 1px solid var(--soft);
}
.sites .y {
	font: 800 20px/1.2 var(--serif);
}
.sites b {
	font-family: var(--serif);
	font-weight: 600;
	font-size: 19px;
}
.sites small {
	display: block;
	font-size: 15px;
	color: var(--ink2);
}

/* ---------- как работаю ---------- */
.steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	counter-reset: s;
}
.steps li {
	border-top: 3px solid var(--ink);
	padding-top: 12px;
	font-size: 16px;
	color: var(--ink2);
}
.steps li:before {
	counter-increment: s;
	content: counter(s);
	display: block;
	font: 800 40px/1 var(--serif);
	color: var(--spot);
	margin-bottom: 8px;
}
.steps h3 {
	font: 800 21px/1.2 var(--serif);
	color: var(--ink);
	margin-bottom: 6px;
}
.steps p {
	margin: 0;
}
.three {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 40px;
	margin-top: 48px;
}
.three h3 {
	font: 800 22px/1.2 var(--serif);
	margin-bottom: 10px;
}
.three p {
	font-size: 16px;
	color: var(--ink2);
}
.three ul {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--ink);
}
.three li {
	padding: 9px 0;
	border-bottom: 1px solid var(--soft);
	font-size: 15.5px;
}
.three li b {
	font-weight: 700;
}
.small {
	font-size: 14px;
	color: var(--ink2);
	margin-top: 20px;
}

/* ---------- инструменты и образование ---------- */
.tools {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px 40px;
}
.tools h4 {
	font: 800 19px/1.2 var(--serif);
	border-top: 3px solid var(--ink);
	padding-top: 10px;
	margin-bottom: 8px;
}
.tools p {
	font-size: 16px;
	line-height: 1.75;
	margin: 0;
}
.tools strong {
	font-weight: 700;
}
.legend-note {
	font-size: 14px;
	color: var(--ink2);
	margin: 0 0 22px;
}
.edu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 40px;
	border-top: 3px solid var(--ink);
}
.edu li {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr);
	gap: 14px;
	padding: 13px 0;
	border-bottom: 1px solid var(--soft);
}
.edu .y {
	font: 800 20px/1.25 var(--serif);
}
.edu b {
	font-weight: 700;
	display: block;
}
.edu small {
	font-size: 15px;
	color: var(--ink2);
}

/* ---------- задняя обложка ---------- */
.back {
	background: var(--ink);
	color: #e8ecef;
	padding-block: 84px 120px;
}
.back .in {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: 48px;
}
.back .in > * {
	min-width: 0;
}
.back .rubric {
	background: #fff;
	color: var(--spot);
}
.back h2 {
	font: 800 clamp(40px, 5vw, 76px)/1 var(--serif);
	color: #fff;
	letter-spacing: -0.025em;
	margin-bottom: 22px;
}
.back p {
	font: 400 21px/1.5 var(--serif);
	color: #c3cad2;
	max-width: 30em;
}
.back dl {
	margin: 0;
	align-self: end;
	border-top: 3px solid #fff;
}
.back dt {
	font-size: 14px;
	color: #9aa4af;
	margin-top: 16px;
}
.back dd {
	margin: 2px 0 0;
	font: 600 24px/1.3 var(--serif);
	color: #fff;
	display: flex;
	gap: 12px;
	align-items: center;
	flex-wrap: wrap;
}
.back dd a {
	color: #fff;
	text-decoration: none;
	border-bottom: 1px solid #6b7480;
}
.back dd a:hover {
	border-color: #fff;
}
.copy {
	font: 700 13px var(--sans);
	background: transparent;
	color: #c3cad2;
	border: 1px solid #6b7480;
	padding: 5px 10px;
	cursor: pointer;
}
.copy:hover {
	color: #fff;
	border-color: #fff;
}
.back .btn {
	background: #fff;
	color: var(--ink);
	margin-top: 10px;
}
.back .btn + .btn {
	margin-left: 10px;
}
@media (max-width: 620px) {
	.back .btn + .btn {
		margin-left: 0;
	}
}
.back .btn:hover {
	background: var(--spot);
	color: #fff;
}
.colophon {
	font-size: 14px;
	color: #9aa4af;
	margin-top: 56px;
	border-top: 1px solid #3a4048;
	padding-top: 16px;
}

/* ---------- просмотр иллюстраций ---------- */
.viewer {
	position: fixed;
	inset: 0;
	z-index: 50;
	background: #0e1013;
	display: flex;
	flex-direction: column;
	padding-top: env(safe-area-inset-top, 0px);
}
.viewer[hidden] {
	display: none !important;
}
.viewer-bar {
	display: flex;
	gap: 10px;
	align-items: center;
	padding: 12px 18px;
	color: #fff;
	font-size: 15px;
}
.viewer-bar span {
	flex: 1;
	min-width: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.viewer-bar button {
	flex: none;
}
@media (max-width: 620px) {
	.viewer-bar span {
		display: none;
	}
	.viewer-bar {
		justify-content: flex-end;
	}
	.viewer-bar button {
		padding: 0 14px;
		font-size: 14px;
	}
}
.viewer-bar button {
	min-height: 44px;
	padding: 0 16px;
	border: 1px solid #fff;
	background: transparent;
	color: #fff;
	font: 700 15px var(--sans);
	cursor: pointer;
}
.viewer-stage {
	flex: 1;
	overflow: auto;
	padding: 8px 18px 24px;
}
.viewer-stage img {
	margin: 0 auto;
	max-width: 100%;
	cursor: zoom-in;
}
.viewer.zoom .viewer-stage img {
	max-width: none;
	width: 200%;
	cursor: zoom-out;
}

/* ---------- адаптив ---------- */
@media (max-width: 980px) {
	.cover,
	.toc,
	.article,
	.geo-head,
	.back .in {
		grid-template-columns: 1fr;
		gap: 28px;
	}
	.aside {
		position: static;
	}
	.niches {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.three,
	.tools {
		grid-template-columns: 1fr 1fr;
	}
}
@media (max-width: 620px) {
	body {
		font-size: 17px;
	}
	.in {
		padding-inline: 18px;
	}
	.mast .issue {
		text-align: left;
	}
	.toc a {
		grid-template-columns: 40px minmax(0, 1fr);
	}
	.toc .res {
		grid-column: 2;
		text-align: left;
	}
	.grid2,
	.grid3,
	.niches,
	.sites,
	.edu,
	.steps,
	.three,
	.tools,
	.geo-rows,
	.facts {
		grid-template-columns: 1fr;
	}
	.geo-rows div + div {
		border-left: 0;
		padding-left: 0;
		border-top: 1px solid var(--soft);
	}
	.pos {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		border-bottom: 0;
	}
	.pos div,
	.pos div + div {
		border-left: 0;
		border-bottom: 1px solid var(--soft);
		padding: 6px 8px 10px 0;
	}
	.pos b {
		white-space: nowrap;
	}
	.timeline li {
		grid-template-columns: 1fr;
		gap: 2px;
	}
	.btn {
		width: 100%;
		justify-content: center;
	}
}
@media print {
	.strip,
	.viewer,
	.copy,
	.btn {
		display: none !important;
	}
	body {
		background: #fff;
	}
	.aside {
		position: static;
	}
}
