/* OVERCLOCK — сайт игры. Тема заставки: чистый чёрный, символы кода, свечение.
   Янтарь — тепло завода, голубой «азот» — атом, розовый — шифр названия обновления. */
@font-face { font-family: "Russo One"; src: url(fonts/russo-one-cyrillic-400-normal.woff2) format("woff2"); font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Russo One"; src: url(fonts/russo-one-latin-400-normal.woff2) format("woff2"); font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212; }
@font-face { font-family: "Manrope"; src: url(fonts/manrope-cyrillic-wght-normal.woff2) format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; src: url(fonts/manrope-latin-wght-normal.woff2) format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212; }
@font-face { font-family: "JetBrains Mono"; src: url(fonts/jetbrains-mono-cyrillic-500-normal.woff2) format("woff2"); font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "JetBrains Mono"; src: url(fonts/jetbrains-mono-latin-500-normal.woff2) format("woff2"); font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212; }

:root {
  --bg: #000;
  --bg2: #030405;
  --card: #08090b;
  --card2: #0d0f12;
  --line: rgba(255, 178, 62, 0.13);
  --line2: rgba(255, 178, 62, 0.3);
  --cline: rgba(127, 212, 255, 0.16);
  --cline2: rgba(127, 212, 255, 0.38);
  --ink: #f3ede3;
  --dim: #a39d93;
  --mute: #6d6961;
  --acc: #ffb23e;
  --acc2: #f07a24;
  --acc-ink: #1c1206;
  --cyan: #7fd4ff;
  --cyan2: #9fd8ff;
  --pink: #ff8ac8;
  --ok: #7fd4ff;
  --glow: 0 0 18px rgba(255, 170, 60, 0.35);
  --cglow: 0 0 18px rgba(127, 212, 255, 0.3);
  --display: "Russo One", "Arial Black", Impact, sans-serif;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --r: 12px;
  --wrap: 1200px;
  --gut: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --noise: none;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; background: var(--bg) var(--noise) 0 0 / 420px 420px repeat; color: var(--ink); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--acc); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; line-height: 1.15; font-weight: 400; }
h2 { font-family: var(--display); font-size: clamp(30px, 4.2vw, 50px); letter-spacing: 0.01em; text-wrap: balance; text-shadow: 0 0 30px rgba(255, 170, 60, 0.12); }
h3 { font-family: var(--font); font-weight: 800; font-size: 21px; }
p { margin: 0; }
::selection { background: rgba(127, 212, 255, 0.3); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--wrap), 100%); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--acc); color: var(--acc-ink); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ── кнопки ── */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 46px; padding: 0 22px; border-radius: 10px; border: 0; cursor: pointer;
  background: linear-gradient(180deg, #ffc35e, var(--acc) 55%, #f59a2c); color: var(--acc-ink); font: 800 16px/1.1 var(--font);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.45) inset, 0 -2px 0 rgba(120, 50, 0, 0.35) inset, 0 0 0 1px rgba(255, 190, 90, 0.5), 0 10px 34px -10px rgba(255, 160, 40, 0.7);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), filter 0.18s; }
.btn:hover { text-decoration: none; transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.45) inset, 0 -2px 0 rgba(120, 50, 0, 0.35) inset, 0 0 0 1px rgba(255, 200, 110, 0.7), 0 14px 40px -8px rgba(255, 160, 40, 0.85); }
.btn:active { transform: translateY(1px) scale(0.985); transition-duration: 0.06s; }
.btn-ghost { background: rgba(127, 212, 255, 0.05); color: var(--ink); box-shadow: inset 0 0 0 1px var(--cline2), 0 0 24px -8px rgba(127, 212, 255, 0.35); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(127, 212, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(127, 212, 255, 0.65), 0 0 30px -6px rgba(127, 212, 255, 0.5); }
.btn-ghost .os-ico { color: var(--cyan); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14.5px; border-radius: 9px; }
.btn-big { min-height: 64px; padding: 0 26px 0 20px; border-radius: 12px; text-align: left; }
.btn-big span { display: grid; gap: 3px; }
.btn-big b { font-size: 17.5px; }
.btn-big small { font-size: 12.5px; font-weight: 600; opacity: 0.72; }
.os-ico { width: 26px; height: 26px; flex: none; }

/* ── шапка ── */
.top { position: fixed; inset: 0 0 auto; z-index: 50; transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s; }
.top.solid { background: rgba(0, 0, 0, 0.78); backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 var(--line); }
.top-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--display); font-size: 20px; letter-spacing: 0.06em; }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 7px; box-shadow: 0 0 16px rgba(255, 170, 60, 0.3); }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { position: relative; color: var(--dim); font: 500 13.5px/1 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; padding: 10px 11px; border-radius: 8px; transition: color 0.2s; }
.nav a::before { content: "["; opacity: 0; margin-right: 3px; color: var(--cyan); transition: opacity 0.2s; }
.nav a::after { content: "]"; opacity: 0; margin-left: 3px; color: var(--cyan); transition: opacity 0.2s; }
.nav a:hover, .nav a.on { color: var(--ink); text-decoration: none; }
.nav a:hover::before, .nav a.on::before, .nav a:hover::after, .nav a.on::after { opacity: 1; }
.burger { display: none; width: 42px; height: 42px; border: 0; background: transparent; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2px; background: var(--ink); margin: 6px 0; transition: transform 0.25s; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ── первый экран: продолжение заставки ── */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; padding-top: 64px; isolation: isolate; overflow: hidden; background: #000; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; opacity: 0.42; transform: scale(1.06); animation: hero-zoom 26s var(--ease) forwards; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 70% 55% at 50% 42%, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.45) 70%, rgba(0, 0, 0, 0.2)), linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0) 30%), linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0) 22%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.35;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0 1px, transparent 1px 3px); }
.hero-cv { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
@keyframes hero-zoom { to { transform: scale(1); } }
.hero-in { position: relative; z-index: 1; align-self: center; display: grid; gap: 18px; justify-items: center; text-align: center; padding-top: 28px; padding-bottom: 28px; }
.kicker { display: inline-block; font: 500 12.5px/1.3 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); padding: 8px 14px; border-radius: 99px; background: rgba(0, 0, 0, 0.55); box-shadow: inset 0 0 0 1px var(--cline); }
.dot { display: inline-block; vertical-align: 1px; margin-right: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }
.logo-type { font-family: var(--display); font-size: clamp(42px, min(12.5vw, 21vh), 196px); line-height: 1; letter-spacing: 0.02em; white-space: nowrap; margin-top: clamp(20px, 5vh, 56px);
  color: #ffd38a; background: linear-gradient(180deg, #fff3d6 0%, #ffcb6b 45%, #f08a2a 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 40px rgba(255, 150, 40, 0.35)); }
.logo-type .br { display: none; }
.cv .logo-type { background: none; -webkit-text-fill-color: transparent; color: transparent; filter: none; }
.hero-floor { display: none; }
.cv .hero-floor { display: block; height: clamp(18px, min(4.5vw, 7vh), 70px); margin-top: -18px; }
.hero-by { font: 400 clamp(16px, 1.6vw, 24px)/1.2 var(--display); color: #ffdcaa; letter-spacing: 0.04em; text-shadow: 0 0 16px rgba(255, 170, 60, 0.8); }
.lead { font-size: clamp(16.5px, 1.5vw, 19px); max-width: 46ch; color: #ddd6ca; text-shadow: 0 1px 12px #000; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 4px; }
.hero-alt { font-size: 14px; color: var(--dim); }
.el-card { position: absolute; z-index: 1; right: max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); top: 96px; width: 104px; height: 116px; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr auto; padding: 10px 12px 9px;
  border-radius: 6px; background: rgba(4, 10, 14, 0.6); box-shadow: inset 0 0 0 1px var(--cline2), 0 0 30px -6px rgba(127, 212, 255, 0.45); color: var(--cyan2); font-family: var(--mono); backdrop-filter: blur(6px); animation: el-in 1.2s 0.4s var(--ease) backwards; }
.el-card i { font-style: normal; font-size: 13px; }
.el-card em { font-style: normal; font-size: 10px; opacity: 0.65; justify-self: end; }
.el-card b { grid-column: 1 / -1; align-self: center; justify-self: center; font: 400 42px/1 var(--display); color: #dff4ff; text-shadow: 0 0 16px rgba(127, 212, 255, 0.85); }
.el-card span { grid-column: 1 / -1; justify-self: center; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.85; }
@media (max-width: 1499px), (max-height: 759px) { .el-card { display: none; } }
@keyframes el-in { from { opacity: 0; transform: translateY(-8px); } }

/* цифры — клетки таблицы элементов */
.hero-facts { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; padding-bottom: 32px; }
.tile { position: relative; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto auto; padding: 9px 12px 10px; border-radius: 6px; background: rgba(0, 0, 0, 0.62); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 0.3s, transform 0.3s var(--ease); }
.tile:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--line2), var(--glow); }
.tile i { font: 500 11px/1 var(--mono); font-style: normal; color: var(--mute); }
.tile em { font: 500 11px/1 var(--mono); font-style: normal; color: var(--cyan); justify-self: end; letter-spacing: 0.05em; }
.tile b { grid-column: 1 / -1; font: 400 30px/1.15 var(--display); color: var(--acc); text-shadow: 0 0 18px rgba(255, 170, 60, 0.5); margin-top: 4px; }
.tile span { grid-column: 1 / -1; font-size: 13px; color: var(--dim); }

/* появление первого экрана — после заставки (класс go ставит main.js) */
.js [data-enter] .hero-in > :not(.logo-type):not(.hero-floor), .js [data-enter] .hero-facts, .js [data-enter] .el-card { opacity: 0; }
[data-enter].go .hero-in > :not(.logo-type):not(.hero-floor) { animation: rise 0.9s var(--ease) forwards; }
[data-enter].go .hero-in > .hero-by { animation-delay: 0.1s; } [data-enter].go .hero-in > .lead { animation-delay: 0.2s; }
[data-enter].go .hero-in > .hero-cta { animation-delay: 0.3s; } [data-enter].go .hero-in > .hero-alt { animation-delay: 0.38s; }
[data-enter].go .hero-facts { animation: rise 1s 0.5s var(--ease) forwards; }
[data-enter].go .el-card { animation: rise 1s 0.7s var(--ease) forwards; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ── секции ── */
.sec { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.sec-dark { background: rgba(3, 4, 6, 0.86); box-shadow: 0 1px 0 var(--line) inset, 0 -1px 0 var(--line) inset; }
.sec::before { content: ""; position: absolute; left: 50%; top: 0; width: min(560px, 70%); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgba(127, 212, 255, 0.45), transparent); pointer-events: none; }
.eyebrow { font: 500 13px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--acc); margin-bottom: 16px; display: flex; align-items: center; gap: 0; }
.eyebrow span { color: var(--cyan); text-shadow: var(--cglow); }
.eyebrow span::after { content: "/"; margin: 0 10px; color: var(--mute); text-shadow: none; }
.eyebrow::before { content: "//"; margin-right: 10px; color: var(--mute); }
.sec-lead { margin-top: 18px; max-width: 62ch; color: var(--dim); font-size: 18px; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.dc-g { color: var(--cyan); text-shadow: var(--cglow); }
.dc-h { opacity: 0; }

/* картинки с уголками-HUD */
.feat-pic, .shot { --hc: rgba(127, 212, 255, 0.75); }
.feat-pic::before, .shot::before { content: ""; position: absolute; inset: 8px; z-index: 2; pointer-events: none;
  background: linear-gradient(var(--hc), var(--hc)) 0 0 / 14px 1.5px, linear-gradient(var(--hc), var(--hc)) 0 0 / 1.5px 14px,
    linear-gradient(var(--hc), var(--hc)) 100% 0 / 14px 1.5px, linear-gradient(var(--hc), var(--hc)) 100% 0 / 1.5px 14px,
    linear-gradient(var(--hc), var(--hc)) 0 100% / 14px 1.5px, linear-gradient(var(--hc), var(--hc)) 0 100% / 1.5px 14px,
    linear-gradient(var(--hc), var(--hc)) 100% 100% / 14px 1.5px, linear-gradient(var(--hc), var(--hc)) 100% 100% / 1.5px 14px;
  background-repeat: no-repeat; opacity: 0.7; transition: inset 0.35s var(--ease), opacity 0.3s; }
.feat-pic:hover::before, .shot:hover::before { inset: 5px; opacity: 1; }

/* возможности */
.feat { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; margin-top: clamp(56px, 7vw, 88px); }
.feat.flip { grid-template-columns: 1fr 1.25fr; }
.feat.flip .feat-pic { order: 2; }
.feat-pic { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; box-shadow: 0 0 0 1px var(--line2), 0 0 60px -30px rgba(255, 160, 40, 0.5), 0 30px 60px -30px rgba(0, 0, 0, 0.9); aspect-ratio: 16 / 9; background: var(--card); }
.feat-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.feat-pic:hover img { transform: scale(1.03); }
.feat-pic::after { content: attr(data-tag); position: absolute; left: 14px; bottom: 12px; z-index: 2; font: 500 11px/1 var(--mono); letter-spacing: 0.12em; color: var(--cyan2); padding: 5px 8px; border-radius: 4px; background: rgba(0, 0, 0, 0.6); box-shadow: inset 0 0 0 1px var(--cline); }
.feat-txt { display: grid; gap: 14px; }
.feat-txt p { color: var(--dim); }
.ticks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 28px; font-weight: 600; font-size: 15.5px; }
.ticks li::before { content: ">"; position: absolute; left: 0; top: 1px; width: 18px; height: 20px; font: 500 14px/20px var(--mono); color: var(--cyan); text-shadow: var(--cglow); text-align: center; }

/* эпохи — клетки таблицы элементов */
.eras { list-style: none; margin: clamp(40px, 6vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.eras::before { content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 1px; background: linear-gradient(90deg, #ffb23e, #ff8a3a, #c27dff, #7fd4ff); opacity: 0.6; box-shadow: 0 0 12px rgba(127, 212, 255, 0.4); }
.era { --ec: #ffb23e; position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: var(--r); overflow: hidden; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.era-elec { --ec: #ffd15e; } .era-chem { --ec: #c993ff; } .era-modern { --ec: #7fd4ff; }
.era:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ec) 55%, transparent), 0 0 40px -16px var(--ec); }
.era img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.era:hover img { transform: scale(1.03); }
.era-body { position: relative; display: grid; gap: 8px; padding: 46px 18px 22px; align-content: start; }
.era-cell { position: absolute; left: 16px; top: -40px; width: 72px; height: 78px; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr; padding: 6px 7px; border-radius: 5px;
  background: rgba(0, 0, 0, 0.86); backdrop-filter: blur(6px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ec) 65%, transparent), 0 0 24px -6px var(--ec); font-family: var(--mono); color: var(--ec); }
.era-cell i { font-style: normal; font-size: 11px; }
.era-cell em { font-style: normal; font-size: 9.5px; opacity: 0.7; }
.era-cell b { grid-column: 1 / -1; align-self: center; justify-self: center; font: 400 30px/1 var(--display); color: #fff; text-shadow: 0 0 14px var(--ec); }
.era h3 { font-size: 20px; }
.era p { color: var(--dim); font-size: 15px; }
.era::before { content: ""; position: absolute; left: 18px; top: -28px; width: 13px; height: 13px; border-radius: 50%; background: #000; box-shadow: inset 0 0 0 2px var(--ec), 0 0 10px var(--ec); }
.eras { overflow: visible; }

/* скриншоты */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: clamp(36px, 5vw, 56px); }
.shot { position: relative; display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 9; box-shadow: inset 0 0 0 1px var(--line); background: var(--card); }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease), filter 0.3s; }
.shot:hover img { transform: scale(1.03); filter: brightness(1.08); }
.shot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 178, 62, 0.16); pointer-events: none; transition: box-shadow 0.3s; }
.shot:hover::after { box-shadow: inset 0 0 0 1px rgba(127, 212, 255, 0.55), inset 0 0 40px -10px rgba(127, 212, 255, 0.35); }
.shot-wide { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }

/* лайтбокс */
.lb { position: fixed; inset: 0; z-index: 90; display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; background: rgba(0, 0, 0, 0.94); backdrop-filter: blur(6px); animation: fade 0.25s; }
.lb[hidden] { display: none; }
.lb-fig { margin: 0; display: grid; place-items: center; height: 100%; padding: 40px 0; }
.lb-fig img { max-height: calc(100vh - 80px); border-radius: 8px; box-shadow: 0 0 0 1px var(--cline), 0 30px 80px rgba(0, 0, 0, 0.6); }
.lb button { border: 0; background: rgba(127, 212, 255, 0.06); color: var(--ink); font-size: 34px; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; justify-self: center; box-shadow: inset 0 0 0 1px var(--cline); transition: background 0.2s; }
.lb button:hover { background: rgba(127, 212, 255, 0.2); }
.lb-x { position: absolute; top: 14px; right: 14px; }
@keyframes fade { from { opacity: 0; } }

/* скачивание */
.dl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: clamp(36px, 5vw, 56px); }
.dl { min-width: 0; display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--r); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.dl:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--line2); }
.dl.mine { background: linear-gradient(180deg, rgba(255, 178, 62, 0.09), var(--card) 60%); box-shadow: inset 0 0 0 1px rgba(255, 178, 62, 0.55), 0 0 50px -24px rgba(255, 160, 40, 0.7); }
.dl.mine .dl-head::after { content: "ваша система"; margin-left: auto; order: 3; font: 500 11px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--cyan); padding: 5px 8px; border-radius: 99px; white-space: nowrap; box-shadow: inset 0 0 0 1px var(--cline2); }
.dl-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.dl-head h3 { min-width: 0; }
.dl-head svg { width: 30px; height: 30px; color: var(--acc); flex: none; filter: drop-shadow(0 0 8px rgba(255, 170, 60, 0.45)); }
.dl-web .dl-head svg { color: var(--cyan); filter: drop-shadow(0 0 8px rgba(127, 212, 255, 0.45)); }
.dl-head h3 { font-size: 19px; }
.dl-file { font-weight: 700; font-size: 14.5px; }
.dl-note { color: var(--dim); font-size: 14.5px; flex: 1; }
.dl-web .btn { margin-top: auto; }
.dl .btn { order: 5; margin-top: 6px; }
.src-bar { display: flex; align-items: center; gap: 18px; margin-top: 14px; padding: 18px 22px; border-radius: var(--r); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.src-bar:hover { text-decoration: none; transform: translateY(-2px); box-shadow: inset 0 0 0 1px var(--cline2, var(--line2)); }
.src-bar > svg { width: 34px; height: 34px; flex: none; color: var(--cyan); filter: drop-shadow(0 0 8px rgba(127, 212, 255, 0.45)); }
.src-txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.src-txt b { font-size: 17px; }
.src-txt small { color: var(--dim); font-size: 14px; line-height: 1.45; }
.src-go { flex: none; font: 500 13px/1 var(--mono); letter-spacing: 0.04em; color: var(--cyan); padding: 10px 14px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--cline2, var(--line2)); white-space: nowrap; }
@media (max-width: 640px) { .src-bar { flex-wrap: wrap; align-items: flex-start; gap: 12px 14px; padding: 18px; } .src-txt { flex: 1 1 calc(100% - 50px); } .src-go { margin-left: 48px; } }
.dl-sha { font: 500 11px/1.5 var(--mono); color: var(--dim); word-break: break-all; opacity: 0.8; }
.dl-sha span { color: var(--mute); }

/* требования */
.req { margin-top: clamp(36px, 5vw, 56px); border-radius: var(--r); overflow-x: auto; box-shadow: inset 0 0 0 1px var(--line); background: var(--card); }
.req table { width: 100%; border-collapse: collapse; min-width: 560px; }
.req th, .req td { text-align: left; padding: 16px 22px; border-bottom: 1px solid var(--line); font-size: 15.5px; vertical-align: top; }
.req tbody tr:last-child > * { border-bottom: 0; }
.req thead th { font: 500 12.5px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--cyan); background: var(--card2); }
.req tbody th { color: var(--dim); font-weight: 600; width: 22%; }
.req td:last-child { color: #ffe1b0; }
.req tbody tr:hover > * { background: rgba(255, 178, 62, 0.03); }

/* вопросы */
.faq-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 10px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 0.2s, background 0.2s; }
.faq details[open] { background: var(--card2); box-shadow: inset 0 0 0 1px var(--cline2), 0 0 30px -18px rgba(127, 212, 255, 0.5); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 20px; font-weight: 700; font-size: 16.5px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; font: 500 20px/1 var(--mono); color: var(--cyan); transform: translateY(-50%); transition: transform 0.25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 20px 20px; color: var(--dim); font-size: 15.5px; }
.faq code { display: block; margin: 10px 0; padding: 12px 14px; border-radius: 8px; background: #000; color: #ffd89a; font: 500 13.5px/1.6 var(--mono); overflow-x: auto; white-space: nowrap; box-shadow: inset 0 0 0 1px var(--line); }
.faq code::before { content: "$ "; color: var(--cyan); }
.faq b { color: var(--ink); }

/* изменения */
.log { margin-top: clamp(36px, 5vw, 56px); display: grid; gap: 0; border-left: 1px solid var(--line2); margin-left: 6px; }
.ver { position: relative; padding: 0 0 36px 32px; }
.ver::before { content: ""; position: absolute; left: -7px; top: 4px; width: 13px; height: 13px; border-radius: 50%; background: #000; box-shadow: inset 0 0 0 2px #5d4c36; }
.ver-new::before { box-shadow: inset 0 0 0 2px var(--cyan), 0 0 12px var(--cyan); }
.ver header { display: flex; gap: 14px; align-items: baseline; }
.ver header b { font: 400 18px/1 var(--display); color: var(--acc); }
.ver-new header b { text-shadow: 0 0 14px rgba(255, 170, 60, 0.6); }
.ver time { font: 500 13px/1 var(--mono); color: var(--dim); }
.ver h3 { margin: 8px 0 10px; font-size: 19px; }
.ver ul { margin: 0; padding-left: 18px; color: var(--dim); display: grid; gap: 5px; font-size: 15.5px; max-width: 72ch; }
.ver ul li::marker { color: var(--acc); }

/* финальный экран */
.close { position: relative; min-height: 78svh; display: grid; place-items: center; overflow: hidden; isolation: isolate; text-align: center; }
.close-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; object-position: 50% 30%; opacity: 0.7; }
.close::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 55%, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.9) 75%), linear-gradient(180deg, #000 0%, transparent 25%, transparent 75%, #000); }
.close-in { display: grid; gap: 32px; justify-items: center; }
.close-type { font-size: clamp(40px, 8.5vw, 116px); line-height: 0.95; text-transform: uppercase; filter: drop-shadow(0 6px 30px rgba(0, 0, 0, 0.6)); }
.close-type span { color: var(--cyan); text-shadow: 0 0 40px rgba(127, 212, 255, 0.55); }

/* подвал */
.foot { border-top: 1px solid var(--line); padding: 28px 0; background: #000; }
.foot-in { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot p { color: var(--dim); font-size: 14px; flex: 1; min-width: 240px; }
.foot .brand { font-size: 16px; }

/* ── адаптив ── */
@media (max-width: 1080px) {
  .dl-grid { grid-template-columns: repeat(2, 1fr); }
  .eras { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .eras::before, .era::before { display: none; }
  .nav a { padding: 10px 8px; font-size: 12.5px; }
}
@media (max-width: 860px) {
  .nav { position: fixed; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px var(--gut) 16px; background: rgba(0, 0, 0, 0.96); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s; }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 14px 4px; font-size: 15px; }
  .burger { display: block; margin-left: 4px; }
  .top-in > .btn-sm { margin-left: auto; }
  .top { background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(14px); }
  .feat, .feat.flip { grid-template-columns: 1fr; }
  .feat.flip .feat-pic { order: 0; }
  .faq-wrap { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .hero-facts { grid-template-columns: repeat(3, 1fr); }
  .hero-facts .tile:nth-child(n + 4) { display: none; }
  .el-card { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .dl-grid, .eras { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 8px; }
  .shot-wide { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 9; }
  .hero-cta, .hero-cta .btn { width: 100%; }
  .lb { grid-template-columns: 1fr; }
  .lb-p, .lb-n { display: none; }
  .tile b { font-size: 22px; }
  .logo-type { font-size: min(22vw, 13vh); line-height: 1.18; margin-top: 12px; }
  .logo-type .br { display: block; }
  .tile { padding: 8px 9px; }
  .kicker { font-size: 11px; letter-spacing: 0.05em; }
  .eyebrow { font-size: 12px; letter-spacing: 0.1em; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-enter] .hero-in > *, [data-enter] .hero-facts, [data-enter] .el-card, .reveal { opacity: 1 !important; transform: none; }
  html { scroll-behavior: auto; }
}

/* название обновления шифром */
.cipher { display: inline-flex; font-family: var(--mono, ui-monospace, monospace); letter-spacing: 0.04em; color: var(--pink); text-shadow: 0 0 8px rgba(255, 90, 180, 0.55); vertical-align: baseline; }
.cipher .cz { display: inline-block; min-width: 0.62em; text-align: center; transition: transform 0.18s, color 0.18s; }
.cipher .cz.sp { min-width: 0.4em; }
.cipher .cz.flip { color: var(--cyan2); transform: translateY(-1px) scale(1.12); text-shadow: 0 0 10px rgba(120, 220, 255, 0.9); }
.ver h3 .cipher { font-size: 1.05em; }
