:root {
  color-scheme: light;
  --ink: #17211f;
  --muted: #5f6d69;
  --paper: #f6f8f7;
  --surface: #ffffff;
  --line: #d8e0dd;
  --teal: #0f4a43;
  --teal-soft: #dcece7;
  --coral: #ff6862;
  --yellow: #ffc95f;
  --mint: #67cfb4;
  --blue: #3e6c9f;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.55; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; letter-spacing: 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 68px;
  border-bottom: 1px solid rgba(216, 224, 221, .9);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(14px);
}

.nav-inner, .content, .footer-inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.nav-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 800; }
.brand img { width: 38px; height: 38px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: #44534f; text-decoration: none; font-size: .9rem; font-weight: 650; }
.nav-links a:hover { color: var(--teal); }
.language-control { position: relative; display: inline-flex; align-items: center; }
.language-control::before { content: "A"; position: absolute; left: 10px; z-index: 1; color: var(--teal); font-size: .7rem; font-weight: 900; pointer-events: none; }
.language-control select { width: 142px; min-height: 38px; padding: 0 28px 0 27px; border: 1px solid #b9c7c2; border-radius: 5px; color: #344642; background: #fff; cursor: pointer; }

.button {
  min-height: 46px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--coral);
  color: #201b1a;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}
.button:hover { background: #ff7a74; }
.button.secondary { border-color: #9eb1aa; background: transparent; color: #fff; }
.button.secondary:hover { border-color: #fff; }
.button.dark { background: var(--teal); color: #fff; }
.button.dark:hover { background: #176157; }

.hero {
  position: relative;
  min-height: min(720px, calc(100vh - 68px));
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #103f3b;
  color: #fff;
}
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .32; }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(8, 34, 31, .62); }
.hero-inner { position: relative; z-index: 1; width: min(1160px, calc(100% - 40px)); margin: 0 auto; padding: 76px 0 70px; }
.kicker { margin: 0 0 16px; color: var(--mint); font-size: .78rem; font-weight: 850; text-transform: uppercase; }
.hero h1 { max-width: 720px; margin: 0; font-size: clamp(2.6rem, 7vw, 5.6rem); line-height: .98; letter-spacing: 0; }
.hero-copy { max-width: 620px; margin: 24px 0 0; color: #dce9e5; font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 22px; margin: 34px 0 0; padding: 0; list-style: none; color: #c9d9d5; font-size: .88rem; }

.band { padding: 86px 0; }
.band.white { background: var(--surface); }
.band.dark { background: #142523; color: #fff; }
.section-head { max-width: 720px; margin-bottom: 38px; }
.section-head h2, .page-title h1 { margin: 0; color: inherit; font-size: 2.15rem; line-height: 1.12; }
.section-head p { margin: 14px 0 0; color: var(--muted); }
.dark .section-head p { color: #b9c8c4; }

.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 28px 24px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { display: block; color: var(--teal); font-size: 2.4rem; line-height: 1; }
.stat span { display: block; margin-top: 10px; color: var(--muted); }

.shots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: start; }
.shot { margin: 0; }
.shot img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; object-position: top; border: 1px solid #bcc9c5; border-radius: 8px; box-shadow: 0 16px 34px rgba(20, 37, 35, .12); }
.shot figcaption { margin-top: 11px; color: var(--muted); font-size: .84rem; }

.game-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #40514d; }
.game { min-height: 116px; padding: 22px 20px; border-bottom: 1px solid #40514d; }
.game:not(:nth-child(3n + 1)) { border-left: 1px solid #40514d; }
.game strong { display: block; font-size: 1rem; }
.game span { display: block; margin-top: 6px; color: #aebeba; font-size: .8rem; }
.game b { display: inline-block; width: 10px; height: 10px; margin-right: 9px; border-radius: 2px; background: var(--coral); }
.game:nth-child(4n + 2) b { background: var(--yellow); }
.game:nth-child(4n + 3) b { background: var(--mint); }
.game:nth-child(4n + 4) b { background: #6f91bb; }

.cta-band { padding: 70px 0; background: var(--yellow); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.cta-inner h2 { margin: 0; font-size: 2rem; }
.cta-inner p { margin: 8px 0 0; color: #5b4b2c; }

.page-title { padding: 72px 0 44px; border-bottom: 1px solid var(--line); background: #fff; }
.page-title p { max-width: 720px; margin: 15px 0 0; color: var(--muted); }
.status-note { margin-top: 20px; padding: 14px 16px; border-left: 4px solid var(--yellow); background: #fff8e6; color: #5c4a27; }
.prose { width: min(780px, 100%); padding: 54px 0 86px; }
.prose h2 { margin: 42px 0 10px; color: var(--teal); font-size: 1.35rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #43514d; }
.prose a { color: var(--teal); font-weight: 700; }
.prose code { padding: 2px 5px; background: #e7eeeb; border-radius: 3px; }

.download-shell { min-height: calc(100vh - 68px); display: grid; align-items: center; padding: 64px 0; background: #f0f4f2; }
.download-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(300px, 1.1fr); gap: 70px; align-items: center; }
.app-icon { width: 96px; height: 96px; border-radius: 8px; box-shadow: 0 12px 24px rgba(15, 74, 67, .2); }
.download-copy h1 { margin: 26px 0 0; font-size: 3.3rem; line-height: 1; }
.download-copy > p { margin: 18px 0 0; color: var(--muted); }
.release-box { margin-top: 28px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.release-box strong, .release-box span { display: block; }
.release-box span { margin-top: 5px; color: var(--muted); font-size: .87rem; }
.preview-release { padding: 22px; border: 1px solid var(--line); border-left: 4px solid var(--coral); border-radius: 6px; background: #fff; }
.release-meta { display: grid; gap: 8px; margin: 18px 0; }
.release-meta div { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 10px; }
.release-meta dt { color: var(--muted); font-size: .76rem; }
.release-meta dd { min-width: 0; margin: 0; color: var(--ink); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .7rem; overflow-wrap: anywhere; }
.download-button { width: 100%; margin-top: 4px; background: var(--coral); color: #201b1a; }
.download-button.disabled { opacity: .55; pointer-events: none; cursor: wait; }
.status-note strong, .status-note span { display: block; }
.status-note span { margin-top: 4px; }
.download-visual { position: relative; min-height: 620px; }
.download-visual img { position: absolute; width: min(310px, 68%); aspect-ratio: 9 / 16; object-fit: cover; object-position: top; border: 1px solid #b9c6c2; border-radius: 8px; box-shadow: 0 22px 50px rgba(22, 45, 41, .18); }
.download-visual img:first-child { left: 0; top: 0; }
.download-visual img:last-child { right: 0; bottom: 0; }

.form-panel { width: min(620px, 100%); margin: 50px 0 86px; padding: 30px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field label { font-weight: 750; }
.field input { width: 100%; min-height: 48px; padding: 0 12px; border: 1px solid #9eaaa6; border-radius: 5px; background: #fff; }
.confirm { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0; color: #495652; }
.confirm input { width: 18px; height: 18px; flex: none; margin-top: 3px; }
.form-status { min-height: 24px; margin: 16px 0 0; color: #8c2f2a; font-weight: 650; }
.form-status.success { color: #126246; }

.policy-page { background: #f6f8f7; }
.policy-page .site-nav { position: relative; }
.policy-hero {
  padding: 58px 0 42px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  text-align: center;
}
.policy-header-inner { width: min(860px, calc(100% - 40px)); margin: 0 auto; }
.policy-product {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 850;
  text-decoration: none;
}
.policy-product img { width: 52px; height: 52px; border-radius: 8px; box-shadow: 0 8px 20px rgba(15, 74, 67, .16); }
.policy-hero .kicker { margin-bottom: 10px; color: var(--teal); }
.policy-hero h1 { margin: 0; color: var(--teal); font-size: 2.75rem; line-height: 1.08; overflow-wrap: anywhere; }
.policy-lede { max-width: 680px; margin: 16px auto 0; color: var(--muted); font-size: 1.02rem; }
.policy-dates {
  display: flex;
  justify-content: center;
  gap: 34px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.policy-dates p { display: grid; gap: 2px; margin: 0; color: var(--muted); font-size: .78rem; }
.policy-dates span { font-weight: 750; }
.policy-dates time { color: var(--ink); font-weight: 650; }
.policy-main { padding-top: 48px; padding-bottom: 88px; }
.policy-layout { display: grid; grid-template-columns: 210px minmax(0, 800px); gap: 54px; justify-content: center; align-items: start; }
.policy-toc { position: sticky; top: 28px; min-width: 0; }
.policy-toc h2 { margin: 0 0 14px; color: var(--ink); font-size: .78rem; text-transform: uppercase; }
.policy-toc nav { display: grid; border-left: 1px solid #bdcac6; }
.policy-toc a {
  margin-left: -1px;
  padding: 7px 0 7px 15px;
  border-left: 2px solid transparent;
  color: #687571;
  font-size: .77rem;
  font-weight: 650;
  line-height: 1.35;
  text-decoration: none;
}
.policy-toc a:hover, .policy-toc a.is-active { border-left-color: var(--coral); color: var(--teal); }
.policy-document { min-width: 0; }
.privacy-summary {
  scroll-margin-top: 24px;
  padding: 26px 28px;
  border: 1px solid #cbd7d3;
  border-left: 5px solid var(--coral);
  border-radius: 6px;
  background: var(--surface);
}
.privacy-summary h2 { margin: 0; color: var(--teal); font-size: 1.42rem; }
.privacy-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; margin: 20px 0 0; padding: 0; list-style: none; }
.privacy-facts li { position: relative; padding-left: 18px; color: #34423f; font-size: .91rem; font-weight: 650; }
.privacy-facts li::before { content: ""; position: absolute; left: 0; top: .56em; width: 8px; height: 8px; border-radius: 2px; background: var(--mint); }
.privacy-facts li:nth-child(2)::before { background: var(--yellow); }
.privacy-facts li:nth-child(3)::before { background: #6f91bb; }
.privacy-facts li:nth-child(4)::before { background: var(--coral); }
.policy-identity { margin-top: 34px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.policy-identity dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 28px; margin: 0; }
.policy-identity dl > div { min-width: 0; }
.policy-identity dt { color: var(--muted); font-size: .72rem; font-weight: 750; text-transform: uppercase; }
.policy-identity dd { min-width: 0; margin: 3px 0 0; color: var(--ink); font-size: .88rem; overflow-wrap: anywhere; }
.policy-identity a, .policy-document a { color: var(--teal); font-weight: 700; }
.policy-identity code { padding: 2px 5px; border-radius: 3px; background: #e7eeeb; font-size: .82rem; }
.policy-section { scroll-margin-top: 24px; padding: 38px 0; border-bottom: 1px solid var(--line); }
.policy-section:last-child { padding-bottom: 0; border-bottom: 0; }
.policy-section h2 { margin: 0 0 14px; color: var(--teal); font-size: 1.42rem; line-height: 1.3; }
.policy-section p { margin: 11px 0 0; color: #43514d; }
.policy-contact { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .9rem; overflow-wrap: anywhere; }

.site-footer { padding: 42px 0; border-top: 1px solid #31423e; background: #142523; color: #dce5e2; }
.footer-inner { display: flex; justify-content: space-between; gap: 28px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: #c1d1cc; text-decoration: none; font-size: .86rem; }
.footer-meta { color: #8fa29d; font-size: .8rem; }

@media (max-width: 880px) {
  .nav-links > a:not(.button) { display: none; }
  .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .game:not(:nth-child(3n + 1)) { border-left: 0; }
  .game:nth-child(even) { border-left: 1px solid #40514d; }
  .download-layout { grid-template-columns: 1fr; gap: 46px; }
  .download-visual { min-height: 560px; width: min(560px, 100%); }
  .policy-layout { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .policy-toc { position: static; }
  .policy-toc h2 { margin-bottom: 10px; }
  .policy-toc nav { display: flex; gap: 6px; padding: 0 0 12px; border-left: 0; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: thin; }
  .policy-toc a { flex: none; margin: 0; padding: 8px 11px; border: 1px solid #c5d1cd; border-radius: 5px; background: #fff; white-space: nowrap; }
  .policy-toc a:hover, .policy-toc a.is-active { border-color: var(--teal); background: var(--teal-soft); }
}

@media (max-width: 600px) {
  .nav-inner, .content, .footer-inner, .hero-inner { width: min(100% - 28px, 1160px); }
  .brand span { max-width: 152px; line-height: 1.05; }
  .nav-links { gap: 8px; }
  .language-control select { width: 112px; min-height: 40px; font-size: .76rem; }
  .nav-links .button { min-height: 40px; padding: 0 13px; font-size: .78rem; }
  .hero { min-height: 680px; }
  .hero-media { object-position: 35% center; opacity: .2; }
  .hero-inner { padding-bottom: 46px; }
  .hero h1 { max-width: 330px; font-size: 2.8rem; line-height: 1.02; }
  .band { padding: 64px 0; }
  .stat-row { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .shots { gap: 10px; }
  .game-grid { grid-template-columns: 1fr; }
  .game:nth-child(even) { border-left: 0; }
  .cta-inner, .footer-inner { align-items: flex-start; flex-direction: column; }
  .page-title { padding: 50px 0 34px; }
  .download-copy h1 { font-size: 2.55rem; }
  .download-visual { min-height: 470px; }
  .download-visual img { width: 62%; }
  .form-panel { padding: 22px 18px; }
  .preview-release { padding: 18px 16px; }
  .release-meta div { grid-template-columns: 62px minmax(0, 1fr); }
  .policy-hero { padding: 42px 0 32px; }
  .policy-header-inner { width: min(100% - 28px, 860px); }
  .policy-product { margin-bottom: 22px; }
  .policy-product img { width: 46px; height: 46px; }
  .policy-hero h1 { font-size: 2.2rem; }
  html[data-policy-locale="ru"] .policy-hero h1 { font-size: 1.75rem; }
  .policy-lede { font-size: .94rem; }
  .policy-dates { flex-direction: column; gap: 10px; margin-top: 22px; padding-top: 17px; }
  .policy-main { padding-top: 30px; padding-bottom: 64px; }
  .policy-layout { gap: 26px; }
  .privacy-summary { padding: 22px 18px; }
  .privacy-facts { grid-template-columns: 1fr; gap: 10px; }
  .policy-identity dl { grid-template-columns: 1fr; gap: 12px; }
  .policy-section { padding: 30px 0; }
  .privacy-summary h2, .policy-section h2 { font-size: 1.28rem; }
}

@media (max-width: 390px) {
  .nav-inner { gap: 8px; }
  .brand img { width: 34px; height: 34px; }
  .brand span { display: none; }
  .language-control select { width: 105px; }
  .nav-links .button { padding-inline: 10px; }
  .hero h1 { font-size: 2.45rem; }
  .section-head h2, .page-title h1 { font-size: 1.85rem; }
}

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