@font-face { font-family: "DejaVu Sans Web"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(/assets/fonts/dejavu-sans-bold-cyrillic.woff2) format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "DejaVu Sans Web"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(/assets/fonts/dejavu-sans-bold-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "DejaVu Sans Web"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(/assets/fonts/dejavu-sans-bold-latin.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 {
  --ink: #0b0c1f;
  --ink-line: rgba(255, 255, 255, 0.12);
  --on-ink: #ffffff;
  --on-ink-muted: #a9adc8;
  --cyan: #23e7ef;
  --magenta: #ee12cb;
  --footer: #07081a;
  --paper: #ffffff;
  --paper-2: #f5f6fa;
  --text: #0e1030;
  --muted: #4a4f6a;
  --line: #e3e5ee;
  --line-strong: #cfd2e0;
  --link: #087a82;
  --tint: #e3f6f7;
  --display: "DejaVu Sans Web", "DejaVu Sans", Verdana, system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --slash: polygon(24.6% 0, 100% 0, 75.4% 100%, 0 100%);
}

* { box-sizing: border-box; }
html { background: var(--footer); -webkit-text-size-adjust: 100%; scrollbar-color: #9a9eb6 var(--paper-2); }
body { margin: 0; background: var(--paper); color: var(--text); font: 16px/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 0.18em; }
::selection { background: var(--magenta); color: #fff; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }
.dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--cyan); }
.site-header .lang-panel :focus-visible { outline-color: var(--link); }

.wrap { max-width: 1160px; margin-inline: auto; padding-inline: 24px; }
.skip { position: absolute; top: 8px; inset-inline-start: 8px; z-index: 30; padding: 10px 16px; border-radius: 8px;
  background: var(--cyan); color: var(--ink); font-weight: 600; text-decoration: none; transform: translateY(-160%); }
.skip:focus { transform: none; outline-color: var(--on-ink); }
[id] { scroll-margin-top: 76px; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.15; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(34px, 4.6vw, 54px); letter-spacing: -0.02em; line-height: 1.1; }
h2 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.01em; }
h3 { font-size: 18px; letter-spacing: -0.01em; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: 0; line-height: 1.35; }

.section h2::before, .contact h2::before { content: ""; display: inline-block; width: 0.6em; height: 0.38em;
  margin-inline-end: 0.34em; vertical-align: 0.16em; background: var(--magenta); clip-path: var(--slash); }

.dark { background: var(--ink); color: var(--on-ink); }
.dark .lead, .dark p { color: var(--on-ink-muted); }
.dark a:not(.btn) { color: var(--cyan); }

.site-header { position: sticky; top: 0; z-index: 20; background: var(--ink); border-bottom: 1px solid var(--ink-line); }
.site-header .wrap { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { display: flex; margin-inline-end: auto; }
.brand img { width: auto; height: 40px; }
.nav { display: flex; gap: 28px; }
.nav a { color: var(--on-ink-muted); font-size: 15px; font-weight: 500; text-decoration: none; }
.nav a:hover, .nav a[aria-current] { color: var(--on-ink); }
.nav a[aria-current] { text-decoration: underline 2px var(--cyan); text-underline-offset: 0.6em; }

.lang { position: relative; }
.lang summary { display: flex; align-items: center; gap: 8px; height: 38px; padding-inline: 12px; border: 1px solid var(--ink-line);
  border-radius: 8px; color: var(--on-ink); font-size: 14px; font-weight: 500; cursor: pointer; list-style: none; user-select: none; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.05); }
.lang .chev { transition: transform 0.15s; }
.lang[open] .chev { transform: rotate(180deg); }
.lang-code { display: none; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.lang-panel { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); width: 360px; max-width: calc(100vw - 32px); padding: 8px;
  background: var(--paper); color: var(--text); border-radius: 12px; box-shadow: 0 18px 44px rgba(5, 6, 20, 0.35), 0 0 0 1px rgba(5, 6, 20, 0.06); }
.lang-title { margin: 6px 10px 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
[dir="rtl"] .lang-title { letter-spacing: 0; }
.lang ul { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin: 0; padding: 0; list-style: none; }
.lang ul a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 10px; border-radius: 8px;
  color: var(--text); font-size: 14.5px; text-decoration: none; }
.lang ul a:hover { background: var(--paper-2); }
.lang ul a[aria-current] { background: var(--tint); font-weight: 600; }
.lang ul a svg { color: var(--link); flex: none; }

.btn { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding-inline: 22px; border: 1px solid transparent; border-radius: 8px;
  font-size: 15px; font-weight: 600; text-decoration: none; transition: background-color 0.15s, border-color 0.15s; }
.btn-primary { background: var(--cyan); color: var(--ink); }
.btn-primary:hover { background: #6ff0f5; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.3); color: var(--on-ink); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.5); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.tag { display: inline-flex; width: fit-content; padding: 4px 11px; border-radius: 999px; background: var(--tint); color: var(--link); font-size: 13px; font-weight: 600; }
.tag-muted { background: none; box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--text); }
.dark .tag { background: rgba(35, 231, 239, 0.12); color: var(--cyan); }
.more { display: inline-flex; align-items: center; gap: 6px; color: var(--link); font-weight: 600; text-decoration: none; }
a.more:hover { text-decoration: underline; }
[dir="rtl"] .more svg { transform: scaleX(-1); }

.hero { background: var(--ink); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding-block: 88px; }
.hero h1 { margin-bottom: 22px; }
.lead { max-width: 34em; margin: 0 0 32px; font-size: 18px; line-height: 1.65; }
.phones { display: flex; justify-content: center; align-items: flex-start; gap: 20px; }
.phone { width: 230px; border: 6px solid #22254a; border-radius: 30px; box-shadow: 0 28px 60px rgba(0, 0, 0, 0.5); }
.app-head { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.app-head img { width: 76px; border-radius: 18px; }
.hero-studio .wrap { grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: end; padding-block: 104px 96px; }
.hero-studio h1 { margin: 0; font-size: clamp(36px, 5vw, 60px); }
.hero-studio .lead { margin-bottom: 28px; }
.hero-page .wrap { grid-template-columns: 1fr; padding-block: 72px; }
.hero-page .lead { margin-bottom: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; color: var(--on-ink-muted); font-size: 14px; }
.crumbs a { font-weight: 600; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { color: var(--on-ink); }

.section { padding-block: 96px; }
.alt { background: var(--paper-2); }
.section-head { margin-bottom: 36px; }
.section-head p { max-width: 40em; margin: 12px 0 0; color: var(--muted); font-size: 17px; }
.section-head-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.split > div > p { max-width: 34em; margin: 16px 0 0; color: var(--muted); font-size: 17px; line-height: 1.7; }

.games { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.game { display: flex; flex-direction: column; height: 100%; overflow: hidden; background: var(--paper); border: 1px solid var(--line);
  border-radius: 16px; color: inherit; text-decoration: none; }
a.game { transition: border-color 0.15s, box-shadow 0.15s; }
a.game:hover { border-color: var(--line-strong); box-shadow: 0 10px 28px rgba(14, 16, 48, 0.08); }
a.game:hover .more { text-decoration: underline; }
.game-cover { width: 100%; aspect-ratio: 1024 / 500; object-fit: cover; background: var(--ink); }
.game-next .game-cover { display: grid; place-items: center; }
.game-next .game-cover img { width: 16%; }
.game-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 12px; padding: 28px; }
.game-body p { margin: 0; color: var(--muted); }
.game h3 { font-size: 24px; }
.game-body > .more { margin-top: auto; padding-top: 4px; }

.game-body .note { margin-top: -4px; font-size: 14.5px; }
.card-title { display: flex; align-items: center; gap: 14px; }
.card-title img { width: 52px; border-radius: 12px; }
.game h2 { font-size: 24px; letter-spacing: -0.01em; }
.section .game h2::before { content: none; }
.meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; width: 100%; margin: 4px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.meta dt { color: var(--muted); font-size: 13.5px; }
.meta dd { margin: 0; font-weight: 600; }
.game-body .entry-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-top: auto; padding-top: 4px; }
.entry-links a { font-weight: 600; }
.entry-links a:not(.more):not(:hover) { text-decoration: none; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; margin: 0; padding: 0; list-style: none; }
.values li { padding-top: 22px; border-top: 1px solid var(--line); }
.values h3 { display: flex; align-items: flex-start; gap: 12px; font-size: 20px; }
.values h3::before { content: ""; flex: none; width: 16px; height: 10px; margin-top: 0.45em; background: var(--magenta); clip-path: var(--slash); }
.values p { margin: 8px 0 0; padding-inline-start: 28px; color: var(--muted); }

.facts { margin: 28px 0 0; }
.split > .facts { margin-top: 0; }
.facts div { display: grid; grid-template-columns: minmax(8em, 13em) 1fr; gap: 16px; padding-block: 12px; border-top: 1px solid var(--line); }
.facts div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; overflow-wrap: break-word; }

.downloads { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.downloads a { display: flex; flex-direction: column; height: 100%; overflow: hidden; background: var(--paper); border: 1px solid var(--line);
  border-radius: 16px; color: inherit; text-decoration: none; transition: border-color 0.15s, box-shadow 0.15s; }
.downloads a:hover { border-color: var(--line-strong); box-shadow: 0 8px 22px rgba(14, 16, 48, 0.07); }
.downloads .preview { display: grid; place-items: center; aspect-ratio: 1024 / 500; background: var(--ink); }
.downloads .preview img { width: 100%; height: 100%; object-fit: cover; }
.downloads .preview .logo { width: 46%; height: auto; }
.downloads .preview-shots { display: flex; justify-content: center; align-items: flex-start; gap: 4%; padding-top: 5%; overflow: hidden; }
.downloads .preview-shots img { width: 24%; height: auto; border: 3px solid #22254a; border-bottom: 0; border-radius: 12px 12px 0 0; }
.downloads .preview-shots img:only-child { width: 32%; }
.dl-body { display: grid; gap: 4px; padding: 20px 24px 22px; }
.downloads strong { font: 700 17px/1.3 var(--display); letter-spacing: -0.01em; }
.dl-body > span { color: var(--muted); font-size: 14.5px; }
.dl-body > .size { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--link); font-size: 13.5px; font-weight: 600; }
.downloads a:hover .size { text-decoration: underline; }
[dir="rtl"] .downloads strong { letter-spacing: 0; }
.press-info { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; margin-top: 56px; }
.press-info p { max-width: 34em; margin: 10px 0 0; color: var(--muted); line-height: 1.7; }
.press-info .facts { margin-top: 0; }

.contact .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; padding-block: 88px; }
.contact p { margin: 14px 0 0; }
.contact .email { color: var(--on-ink) !important; font: 700 19px/1.4 var(--display); text-decoration-color: var(--cyan); overflow-wrap: anywhere; }
.email-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.copy { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding-inline: 12px; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 8px;
  background: none; color: var(--on-ink); font: 600 14px/1 var(--body); cursor: pointer; transition: background-color 0.15s, border-color 0.15s; }
.copy:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.5); }
.copy[hidden], .copy .i-done, .copy.done .i-copy { display: none; }
.copy.done .i-done { display: block; }
.copy.done { border-color: var(--cyan); color: var(--cyan); }
.routes { margin: 0; padding: 0; list-style: none; }
.routes li { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 20px; border-top: 1px solid var(--ink-line); }
.routes li:last-child { border-bottom: 1px solid var(--ink-line); }
.routes h3 { color: var(--on-ink); font-size: 17px; }
.routes p { margin: 4px 0 0; font-size: 15px; }
.routes a { display: inline-flex; flex: none; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.routes a:hover { text-decoration: underline; }

.shots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.shots img { border: 1px solid var(--line); border-radius: 18px; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.card { display: flex; flex-direction: column; padding: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.ticks { display: grid; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; color: var(--muted); }
.ticks li { position: relative; padding-inline-start: 28px; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.3em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='%23087a82' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.features + .notice { margin-top: 24px; }
.notice { margin: 0; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper-2); color: var(--muted); }

.doc { max-width: 780px; padding-block: 64px 96px; }
.doc h1 { font-size: clamp(30px, 4.2vw, 42px); margin-bottom: 10px; }
.doc h2 { font-size: 21px; margin: 40px 0 10px; letter-spacing: -0.01em; }
.doc p, .doc li { line-height: 1.75; color: #2b2f4a; }
.doc .meta { margin-top: 0; color: var(--muted); }
.doc .notice { margin-bottom: 32px; }

.site-footer { background: var(--footer); color: var(--on-ink-muted); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 28px; }
.site-footer .brand-small { display: flex; align-items: center; gap: 10px; }
.site-footer .brand-small img { width: 22px; }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer a { color: var(--on-ink-muted); text-decoration: none; }
.site-footer a:hover { color: var(--on-ink); text-decoration: underline; }

@media (max-width: 900px) {
  .hero .wrap, .split, .contact .wrap, .press-info { grid-template-columns: 1fr; }
  .split, .contact .wrap, .press-info { gap: 32px; }
  .hero .wrap { gap: 40px; padding-block: 56px 0; }
  .hero-studio .wrap, .hero-page .wrap { gap: 20px; padding-block: 56px 64px; }
  .phones { max-height: 300px; overflow: hidden; }
  .phone { width: 210px; border-width: 5px; border-radius: 24px; }
  .shots { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .shots img { flex: 0 0 200px; min-width: 0; scroll-snap-align: start; }
}
@media (max-width: 760px) {
  .wrap { padding-inline: 16px; }
  .site-header { position: static; }
  [id] { scroll-margin-top: 0; }
  .site-header .wrap { flex-wrap: wrap; gap: 0 12px; height: auto; padding-top: 11px; }
  .nav { order: 3; width: 100%; flex-wrap: wrap; gap: 0 22px; }
  .nav a { padding-block: 10px 12px; white-space: nowrap; }
  .brand img { height: 34px; }
  .lang-name { display: none; }
  .lang-code { display: inline; }
  .section { padding-block: 64px; }
  .contact .wrap { padding-block: 64px; }
  .features, .values { grid-template-columns: 1fr; }
  .values li { padding-block: 22px; }
  .values li:last-child { border-bottom: 1px solid var(--line); }
  .lead { font-size: 17px; }
  .routes li { flex-direction: column; align-items: flex-start; gap: 10px; }
  .facts div { grid-template-columns: 7.5em minmax(0, 1fr); gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
