:root {
  --color-bg: #05070c;
  --color-surface-top: #020617;
  --color-surface-mid: #02040b;
  --color-surface-bot: #010409;
  --color-border: #111827;
  --color-text: #e5e7eb;
  --color-muted: #cbd5f5;
  --color-white: #ffffff;
  --color-black: #000000;
  --page-max: 1100px;
  --page-pad: 20px;
  --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}
html {
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-text-size-adjust: 100%;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
}
body {
  font-family: var(--font-base);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}
.page {
  max-width: var(--page-max);
  margin: 0 auto 40px;
  padding: var(--page-pad) var(--page-pad) 24px;
  background: radial-gradient(circle at top, var(--color-surface-top) 0, var(--color-surface-mid) 55%, var(--color-surface-bot) 100%);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.8);
}
.langbar {
  display: flex;
  justify-content: flex-end;
}
.langbar__in {
  display: flex;
  align-items: center;
}
.lang {
  position: relative;
}
.lang__btn {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 12px 0 8px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  color: var(--color-white);
  font-size: 14px;
  line-height: 1;
  list-style: none;
  cursor: pointer;
}
.lang__btn::-webkit-details-marker {
  display: none;
}
.lang__btn:hover {
  border-color: var(--color-muted);
}
.lang__flag {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 50%;
}
.lang__code {
  letter-spacing: 0.06em;
}
.lang__chev {
  width: 16px;
  height: 16px;
  fill: var(--color-muted);
}
.lang[open] .lang__chev {
  transform: rotate(180deg);
}
.lang__menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 5;
  min-width: 180px;
  padding: 6px;
  background: var(--color-surface-top);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.8);
}
.lang__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--color-muted);
  font-size: 15px;
  white-space: nowrap;
}
.lang__item:hover {
  background: var(--color-border);
  color: var(--color-white);
}
.hero {
  display: block;
  background: var(--color-black);
}
.hero__img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  aspect-ratio: 390 / 9281;
}
html[lang="ru-UA"] .hero__img {
  aspect-ratio: 390 / 8661;
}
html[lang="en-UA"] .hero__img {
  aspect-ratio: 390 / 9281;
}
.article {
  margin-top: 24px;
}

.article h1 {
  margin-top: 4px;
}
.article h1 {
  font-size: 26px;
  line-height: 1.25;
  color: var(--color-white);
  margin-bottom: 16px;
}
.article h2 {
  font-size: 20px;
  line-height: 1.3;
  color: var(--color-white);
  margin: 28px 0 12px;
}
.article p {
  margin-bottom: 14px;
  color: var(--color-muted);
}
.shot {
  max-width: 800px;
  margin: 20px auto 24px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
}
.shot__img {
  width: 100%;
  height: auto;
}
.shot--phone {
  display: block;
  max-width: 390px;
  margin-left: auto;
  margin-right: auto;
}
.article table {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 20px 0 24px;
  background-color: transparent;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.article table::-webkit-scrollbar {
  width: 0;
  height: 0;
}
.article thead,
.article tbody {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 600px;
}
.article tr {
  display: flex;
  width: 100%;
  transition: background-color 0.2s ease;
}
.article tbody tr:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.03);
}
.article tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.07);
}
.article th,
.article td {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 1;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 15px;
  color: var(--color-muted);
  white-space: normal;
  word-wrap: break-word;
  word-break: break-word;
  min-width: 110px;
}
.article th:first-child,
.article td:first-child {
  justify-content: flex-start;
  text-align: left;
}
.article tbody tr:last-child td {
  border-bottom: none;
}
.article thead th {
  background-color: rgba(255, 255, 255, 0.06);
  color: var(--color-white);
  font-weight: 600;
  border-bottom: 2px solid rgba(255, 255, 255, 0.14);
}
.article__langs {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}
.article__lang {
  color: var(--color-muted);
  text-decoration: underline;
}
.article__lang--current {
  color: var(--color-white);
  text-decoration: none;
}
@media (min-width: 480px) {
  .hero__img {
    aspect-ratio: 768 / 8803;
  }
  html[lang="ru-UA"] .hero__img {
    aspect-ratio: 768 / 8243;
  }
  html[lang="en-UA"] .hero__img {
    aspect-ratio: 768 / 8803;
  }
}
@media (min-width: 768px) {
  .article h1 {
    font-size: 34px;
  }
  .article h2 {
    font-size: 24px;
  }
}
@media (min-width: 1024px) {
  .hero__img {
    aspect-ratio: 1280 / 11668;
  }
  html[lang="ru-UA"] .hero__img {
    aspect-ratio: 1280 / 11653;
  }
  html[lang="en-UA"] .hero__img {
    aspect-ratio: 1280 / 11668;
  }
}
@media (min-width: 1600px) {
  .hero__img {
    aspect-ratio: 1920 / 11660;
  }
  html[lang="ru-UA"] .hero__img {
    aspect-ratio: 1920 / 11661;
  }
  html[lang="en-UA"] .hero__img {
    aspect-ratio: 1920 / 11660;
  }
}
