@font-face { font-family: Manrope; font-weight: 200 800; font-display: swap; src: url('/fonts/manrope-latin-wght-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215; }
@font-face { font-family: Manrope; font-weight: 200 800; font-display: swap; src: url('/fonts/manrope-latin-ext-wght-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+1E00-1EFF, U+20A0-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Manrope; font-weight: 200 800; font-display: swap; src: url('/fonts/manrope-cyrillic-wght-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Manrope; font-weight: 200 800; font-display: swap; src: url('/fonts/manrope-cyrillic-ext-wght-normal.woff2') format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F; }
@font-face { font-family: Unbounded; font-weight: 200 900; font-display: swap; src: url('/fonts/unbounded-latin-wght-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: Unbounded; font-weight: 200 900; font-display: swap; src: url('/fonts/unbounded-latin-ext-wght-normal.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+1E00-1EFF, U+20A0-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Unbounded; font-weight: 200 900; font-display: swap; src: url('/fonts/unbounded-cyrillic-wght-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root { --bg: #0b0c11; --surface: #14161e; --surface-2: #1c1f2a; --line: #2a2e3c; --text: #ece9e3; --muted: #a3a5b3; --accent: #ff7a45; --accent-2: #ffb13d; --ok: #5bd49b; --radius: 18px; color-scheme: dark; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.7 Manrope, system-ui, sans-serif; overflow-wrap: break-word; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-2); }
h1, h2, h3, .logo { font-family: Unbounded, Manrope, sans-serif; letter-spacing: -.015em; line-height: 1.2; }
h1 { font-size: clamp(30px, 5.4vw, 58px); margin: 0 0 18px; font-weight: 700; }
h2 { font-size: clamp(20px, 2.6vw, 28px); margin: 0 0 10px; font-weight: 600; }
h3 { font-size: 18px; margin: 0 0 4px; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 30; background: var(--accent-2); color: #1a0d06; padding: 8px 14px; border-radius: 10px; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }

.top { position: sticky; top: 0; z-index: 20; background: rgba(11, 12, 17, .86); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; min-height: 66px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; }
.top nav { display: flex; gap: 22px; margin-left: auto; }
.top nav a, footer a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.top nav a:hover, .top nav a[aria-current], footer a:hover { color: var(--text); }
.langs { display: flex; gap: 2px; background: var(--surface); border: 1px solid var(--line); border-radius: 99px; padding: 3px; }
.langs a { color: var(--muted); text-decoration: none; font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 99px; }
.langs a[aria-current] { background: var(--surface-2); color: var(--text); }

.hero { position: relative; display: flex; align-items: flex-end; min-height: min(78vh, 700px); padding: 90px 0 64px; isolation: isolate; }
.hero.game { min-height: min(62vh, 560px); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(9, 9, 13, .9), rgba(9, 9, 13, .45) 62%, rgba(9, 9, 13, .2)), linear-gradient(0deg, var(--bg), rgba(11, 12, 17, 0) 60%); }
.hero h1 { max-width: 820px; }
.eyebrow { color: var(--accent-2); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 12px; }
.lead { font-size: clamp(16px, 2vw, 19px); color: #d6d3cc; max-width: 640px; margin: 0 0 26px; }
.buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.btn { display: inline-block; padding: 13px 24px; border-radius: 14px; border: 1px solid var(--line); background: rgba(28, 31, 42, .85); color: var(--text); text-decoration: none; font-weight: 800; transition: transform .15s, filter .15s; }
a.btn:hover { transform: translateY(-2px); filter: brightness(1.12); }
.btn.primary { background: linear-gradient(120deg, var(--accent-2), var(--accent)); border-color: transparent; color: #1a0d06; }
.btn.off { color: var(--muted); }

.block { padding: 64px 0 0; }
.sub { color: var(--muted); margin: 0 0 26px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--text); text-decoration: none; display: flex; flex-direction: column; transition: transform .18s, border-color .18s; }
a.card:hover { transform: translateY(-4px); border-color: var(--accent); }
.card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.card-body { display: flex; gap: 14px; justify-content: space-between; align-items: flex-start; padding: 18px 20px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.card.empty { border-style: dashed; justify-content: center; align-items: center; text-align: center; padding: 40px 24px; }
.badge { font-size: 12px; font-weight: 800; padding: 3px 11px; border-radius: 99px; background: rgba(91, 212, 155, .14); color: var(--ok); white-space: nowrap; }
.badge.soon { background: rgba(255, 177, 61, .14); color: var(--accent-2); }
.screen { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 30px 80px -30px rgba(255, 122, 69, .28); width: 100%; }
.points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.points li { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 16px; padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.points span { color: var(--muted); font-size: 14px; }
.callout { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; background: linear-gradient(120deg, rgba(255, 177, 61, .12), rgba(255, 79, 94, .08)); border: 1px solid rgba(255, 122, 69, .35); border-radius: var(--radius); padding: 28px 32px; }
.callout p { margin: 0; color: var(--muted); }

.columns { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; padding-top: 24px; }
.columns article h2 { margin-top: 32px; }
.columns article p { color: #cfccc5; }
.features { padding-left: 20px; color: #cfccc5; }
.features li::marker { color: var(--accent); }
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.shots a { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.shots img { transition: transform .25s; }
.shots a:hover img { transform: scale(1.04); }
.panel { align-self: start; position: sticky; top: 90px; margin-top: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.panel h2 { font-size: 17px; }
dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 0; font-size: 14px; }
dt { color: var(--muted); }
dd { margin: 0; text-align: right; }
.note { font-size: 13px; color: var(--muted); margin: 18px 0 0; }
.zoom { border: 0; padding: 0; background: none; max-width: 94vw; max-height: 94vh; cursor: zoom-out; }
.zoom img { max-height: 90vh; border-radius: 14px; }
.zoom::backdrop { background: rgba(5, 5, 8, .88); }

.page { padding-top: 60px; }
.page > ol { padding-left: 22px; max-width: 760px; }
.page > h2 { margin-top: 40px; }
.page > .screen { margin-top: 44px; }
.page.text { max-width: 820px; }
.page.text h2 { font-size: 19px; margin-top: 32px; }
.page.center { text-align: center; padding-block: 110px; }
.page.center .lead { margin-inline: auto; }
.muted { color: var(--muted); font-size: 14px; }
.notice { border: 1px dashed var(--line); border-radius: var(--radius); padding: 32px; text-align: center; color: var(--muted); margin: 28px 0; }
.downloads { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 18px; }
.dl { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.dl.mine { border-color: var(--accent); }
.hash { font-size: 12px; color: var(--muted); margin: 16px 0 0; }
code { font: 12px ui-monospace, Consolas, monospace; word-break: break-all; display: block; }
pre { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; overflow-x: auto; }
pre code { word-break: normal; font-size: 13px; }
.points.three { margin-bottom: 8px; }
.list { display: grid; gap: 14px; margin: 28px 0; }
.item { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; }
.item p { margin: 0; }

footer { border-top: 1px solid var(--line); margin-top: 90px; padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
footer a { font-size: 14px; }

@media (max-width: 900px) {
  .columns { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .panel { position: static; }
}
@media (max-width: 680px) {
  .top .wrap { flex-wrap: wrap; gap: 8px 12px; padding-block: 10px; }
  .langs { margin-left: auto; }
  .top nav { order: 3; width: 100%; margin: 0; justify-content: space-between; }
  .top nav a { font-size: 14px; }
  html { scroll-padding-top: 110px; }
  .shots { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 40px; }
  .callout { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
