@font-face {
  font-family: "Exo 2";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/exotwo/7cHmv4okm5zmbtYlK-4E4Q.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: "Exo 2";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/exotwo/7cHmv4okm5zmbtYsK-4E4Q.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Exo 2";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/exotwo/7cHmv4okm5zmbtYnK-4E4Q.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: "Exo 2";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/exotwo/7cHmv4okm5zmbtYmK-4E4Q.woff2") format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Exo 2";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/exotwo/7cHmv4okm5zmbtYoK-4.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Exo 2";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/exotwo/7cHov4okm5zmbtYtG-Ec5UIo.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: "Exo 2";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/exotwo/7cHov4okm5zmbtYtG-gc5UIo.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Exo 2";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/exotwo/7cHov4okm5zmbtYtG-Mc5UIo.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: "Exo 2";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/exotwo/7cHov4okm5zmbtYtG-Ic5UIo.woff2") format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Exo 2";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/exotwo/7cHov4okm5zmbtYtG-wc5Q.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #212529;
  --panel: #272c2f;
  --panel-2: #24292c;
  --surface: #1f2427;
  --surface-2: #32373c;
  --stroke: rgba(255, 255, 255, 0.08);
  --stroke-strong: rgba(255, 255, 255, 0.16);
  --text: #f0f0f0;
  --muted: #aaafb4;
  --muted-2: #9a9d9f;
  --red: #ed2637;
  --red-2: #f02420;
  --blue: #2697ff;
  --accent-button-text: #f0f0f0;
  --interactive-blue-bg: rgba(38, 151, 255, 0.12);
  --interactive-blue-bg-strong: rgba(38, 151, 255, 0.16);
  --interactive-blue-stroke: rgba(38, 151, 255, 0.45);
  --interactive-blue-focus: 0 0 0 3px rgba(38, 151, 255, 0.16);
  --blue-icon-filter: brightness(0) saturate(100%) invert(50%) sepia(91%) saturate(2337%) hue-rotate(184deg) brightness(104%) contrast(101%);
  --interactive-red-bg: rgba(237, 38, 55, 0.12);
  --interactive-red-bg-strong: rgba(237, 38, 55, 0.16);
  --interactive-red-stroke: rgba(237, 38, 55, 0.45);
  --interactive-red-focus: 0 0 0 3px rgba(237, 38, 55, 0.16);
  --red-icon-filter: brightness(0) saturate(100%) invert(25%) sepia(86%) saturate(3105%) hue-rotate(338deg) brightness(101%) contrast(91%);
  --green: #3abc70;
  --body-pattern-blend: soft-light;
  --body-pattern-opacity: 0.5;
  --shadow-popover: 0 18px 40px rgba(0, 0, 0, 0.32);
  --download-card-border-glow: rgba(38, 151, 255, 0.94);
  --download-card-sheen: rgba(38, 151, 255, 0.1);
  --download-card-hover-shadow:
    0 18px 48px rgba(38, 151, 255, 0.17),
    0 0 40px rgba(38, 151, 255, 0.22),
    0 0 84px rgba(92, 80, 255, 0.13);
  --hover-surface: rgba(255, 255, 255, 0.06);
  --release-card-bg: #212529;
  --release-card-border: rgba(255, 255, 255, 0.08);
  --release-visual-blend: color-dodge;
  --release-visual-opacity: 0.55;
  --release-visual-overlay: linear-gradient(257.54deg, #000 9.51%, rgba(115, 129, 143, 0) 63.79%);
  --release-meta-separator: rgba(255, 255, 255, 0.95);
  --section-lead-color: #aaafb4;
  --card-lead-color: #bcbebf;
  --step-bg: rgba(31, 36, 39, 0.78);
  --step-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  --help-grid-blend: overlay;
  --help-grid-opacity: 1;
  --help-visual-blend: color-dodge;
  --help-visual-opacity: 1;
  --help-visual-overlay: linear-gradient(254.349deg, #000 0.789%, rgba(39, 44, 47, 0) 79.004%);
  --info-bg: rgba(38, 151, 255, 0.24);
  --info-text: #cdcecf;
  --command-bg: #212529;
  --version-details-bg: rgba(33, 37, 41, 0.72);
  --footer-icon-muted: #686b6e;
  --nav-hover-bg: #1d2125;
  --logo-word-filter: none;
  --muted-asset-filter: none;
  --radius-lg: 32px;
  --radius-md: 16px;
  --shell: 1344px;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f6f8;
  --panel: #ffffff;
  --panel-2: #f7f9fb;
  --surface: #eef2f5;
  --surface-2: #e8edf2;
  --stroke: rgba(31, 42, 54, 0.1);
  --stroke-strong: rgba(31, 42, 54, 0.16);
  --text: #232a31;
  --muted: #5d6670;
  --muted-2: #737d87;
  --blue: #167fd4;
  --accent-button-text: #ffffff;
  --interactive-blue-bg: rgba(22, 127, 212, 0.11);
  --interactive-blue-bg-strong: rgba(22, 127, 212, 0.16);
  --interactive-blue-stroke: rgba(22, 127, 212, 0.34);
  --interactive-blue-focus: 0 0 0 3px rgba(22, 127, 212, 0.16);
  --interactive-red-bg: rgba(237, 38, 55, 0.08);
  --interactive-red-bg-strong: rgba(237, 38, 55, 0.12);
  --interactive-red-stroke: rgba(237, 38, 55, 0.28);
  --interactive-red-focus: 0 0 0 3px rgba(237, 38, 55, 0.16);
  --green: #238955;
  --body-pattern-blend: multiply;
  --body-pattern-opacity: 0.14;
  --shadow-popover: 0 18px 44px rgba(31, 42, 54, 0.14);
  --download-card-border-glow: rgba(22, 127, 212, 0.8);
  --download-card-sheen: rgba(22, 127, 212, 0.07);
  --download-card-hover-shadow:
    0 18px 46px rgba(22, 127, 212, 0.15),
    0 0 34px rgba(22, 127, 212, 0.13),
    0 0 72px rgba(81, 111, 230, 0.09);
  --hover-surface: rgba(31, 42, 54, 0.06);
  --release-card-bg: #ffffff;
  --release-card-border: rgba(31, 42, 54, 0.12);
  --release-visual-blend: multiply;
  --release-visual-opacity: 0.13;
  --release-visual-overlay: linear-gradient(257.54deg, #fff 8%, rgba(255, 255, 255, 0.72) 51%, rgba(255, 255, 255, 0) 78%);
  --release-meta-separator: rgba(31, 42, 54, 0.2);
  --section-lead-color: #66717c;
  --card-lead-color: #68737e;
  --step-bg: #f6f8fa;
  --step-shadow: inset 0 0 0 1px rgba(31, 42, 54, 0.08);
  --help-grid-blend: multiply;
  --help-grid-opacity: 0.3;
  --help-visual-blend: multiply;
  --help-visual-opacity: 0.16;
  --help-visual-overlay: linear-gradient(254.349deg, #fff 0.789%, rgba(255, 255, 255, 0.66) 49%, rgba(255, 255, 255, 0) 79.004%);
  --info-bg: rgba(22, 127, 212, 0.12);
  --info-text: #405466;
  --command-bg: #f7f9fb;
  --version-details-bg: #f7f9fb;
  --footer-icon-muted: #7b858f;
  --nav-hover-bg: rgba(237, 38, 55, 0.08);
  --logo-word-filter: brightness(0) saturate(100%) invert(16%) sepia(12%) saturate(896%) hue-rotate(169deg) brightness(90%) contrast(92%);
  --muted-asset-filter: brightness(0) saturate(100%) invert(42%) sepia(9%) saturate(615%) hue-rotate(169deg) brightness(92%) contrast(87%);
}

:root {
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  min-width: 320px;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Exo 2", Arial, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 662px;
  pointer-events: none;
  mix-blend-mode: var(--body-pattern-blend);
  opacity: var(--body-pattern-opacity);
}

body::before {
  background: url("assets/bg-vector.svg") 18px 18px / 2576px 1171px no-repeat;
}

body::after {
  background: url("assets/bg-vector-2.svg") 0 0 / 2611px 1206px no-repeat;
}

main,
.site-header,
.footer {
  position: relative;
  z-index: 1;
}

.site-header {
  z-index: 30;
}

a {
  color: inherit;
  text-decoration: none;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.svg-icon,
.button-icon,
.contact-icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  color: currentColor;
  fill: currentColor;
  stroke: none;
}

.brand-mark-svg {
  display: inline-block;
  flex: 0 0 auto;
  width: 39px;
  height: 36px;
  color: var(--red);
  fill: currentColor;
}

button,
input {
  font: inherit;
}

.shell {
  width: min(var(--shell), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  height: 96px;
  background: var(--panel);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  min-height: 48px;
  font-size: 0;
  font-weight: 700;
  line-height: 1;
}

.header-inner > .brand {
  padding-right: 20px;
}

.brand-mark-img,
.brand-word-img {
  display: block;
  flex: 0 0 auto;
}

.brand-mark-img {
  width: 38.385px;
  height: 35.464px;
}

.brand-word-img {
  width: 158.754px;
  height: 27.161px;
  filter: var(--logo-word-filter);
}

.brand-update {
  position: absolute;
  left: 209px;
  top: -6px;
  background: linear-gradient(24.88deg, #f02420 30.84%, #ffa048 103.05%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 16px;
  font-weight: 400;
  line-height: 32px;
}

.brand-mark {
  position: relative;
  width: 39px;
  height: 39px;
  border: 4px solid var(--red);
  border-right-color: transparent;
  border-radius: 50%;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  background: var(--red);
  border-radius: 999px;
}

.brand-mark::before {
  width: 15px;
  height: 4px;
  left: 9px;
  top: 17px;
  transform: rotate(-18deg);
}

.brand-mark::after {
  width: 8px;
  height: 8px;
  right: 2px;
  top: 5px;
}

.header-actions,
.link-icon,
.icon-button {
  display: flex;
  align-items: center;
}

.header-actions {
  gap: 17px;
}

.link-icon,
.icon-button {
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.link-icon {
  gap: 8px;
  font-size: 13px;
}

.link-icon .svg-icon {
  color: var(--muted);
}

.language-switcher {
  position: relative;
}

.language-button {
  min-height: 32px;
  padding: 4px 0;
}

.language-globe {
  width: 17px;
  height: 17px;
  color: var(--muted-2);
}

.language-current {
  color: var(--text);
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.link-icon .chevron-icon {
  width: 10px;
  height: 6px;
  color: var(--red);
  transition: transform 0.18s ease;
}

.language-switcher.open .chevron-icon {
  transform: rotate(180deg);
}

.language-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  z-index: 20;
  display: grid;
  gap: 4px;
  min-width: 180px;
  padding: 8px;
  border: 1px solid var(--stroke);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: var(--shadow-popover);
  opacity: 0;
  transform: translateY(-6px);
  visibility: hidden;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.language-switcher.open .language-menu {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.language-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  color: var(--text);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0.2px;
}

.language-menu a:hover,
.language-menu a:focus-visible,
.language-menu a.active {
  background: var(--surface-2);
}

.language-menu a.active {
  color: var(--red);
}

.language-menu a .language-code {
  color: var(--muted-2);
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
}

.language-menu a.active .language-code {
  color: var(--red);
}

.language-menu a .language-name {
  min-width: 0;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
}

.icon-button {
  width: 24px;
  height: 24px;
  justify-content: center;
}

.bs-theme-switcher--one-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  line-height: 1;
  cursor: pointer;
}

.bs-theme-switcher--one-icon:hover,
.bs-theme-switcher--one-icon:focus-visible {
  background: var(--hover-surface);
}

.bs-theme-switcher__icon {
  --theme-toggle-duration: 0.4s;
  width: 24px;
  height: 24px;
  color: currentColor;
}

.bs-theme-switcher__icon :first-child path {
  d: path("M0-11h25a1 1 0 0017 13v30H0Z");
  transition-duration: calc(var(--theme-toggle-duration) * 0.6);
  transition-property: transform, d;
  transition-timing-function: cubic-bezier(0, 0, 0.5, 1);
}

.bs-theme-switcher__icon g circle,
.bs-theme-switcher__icon g path {
  transform-origin: center;
  transition: transform calc(var(--theme-toggle-duration) * 0.65) cubic-bezier(0, 0, 0, 1.25) calc(var(--theme-toggle-duration) * 0.35);
}

.bs-theme-switcher__icon--moon g circle {
  transform: scale(1.4);
  transition-delay: 0s;
}

.bs-theme-switcher__icon--moon g path {
  transform: scale(0.75);
  transition-delay: 0s;
}

.bs-theme-switcher__icon--moon :first-child path {
  d: path("M-9 3h25a1 1 0 0017 13v30H0Z");
  transition-delay: calc(var(--theme-toggle-duration) * 0.4);
  transition-timing-function: cubic-bezier(0, 0, 0, 1.25);
}

@supports not (d: path("")) {
  .bs-theme-switcher__icon--moon :first-child path {
    transform: translate3d(-9px, 14px, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bs-theme-switcher__icon :first-child path,
  .bs-theme-switcher__icon g circle,
  .bs-theme-switcher__icon g path {
    transition-duration: 0.01ms;
  }
}

.moon-icon {
  width: 15px;
  height: 16px;
  color: var(--text);
}

.sun-icon {
  width: 20px;
  height: 20px;
  color: #949ba2;
}

.globe,
.moon,
.gear,
.home-dot,
.chevron,
.chevron-up,
.row-chevron,
.download-glyph,
.book,
.play,
.pin,
.mail,
.phone,
.telegram {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
}

.globe {
  width: 15px;
  height: 15px;
  border: 1.5px solid var(--muted);
  border-radius: 50%;
}

.globe::before,
.globe::after {
  content: "";
  position: absolute;
  inset: 3px 5px;
  border-left: 1px solid var(--muted);
  border-right: 1px solid var(--muted);
  border-radius: 50%;
}

.globe::after {
  inset: 6px 1px auto;
  height: 1px;
  border: 0;
  background: var(--muted);
}

.moon {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  box-shadow: -5px 2px 0 0 var(--text);
}

.gear {
  width: 16px;
  height: 16px;
  border: 3px dotted var(--muted);
  border-radius: 50%;
}

.chevron,
.row-chevron,
.chevron-up {
  width: 10px;
  height: 10px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.chevron.red {
  color: var(--red);
}

.chevron-up {
  transform: rotate(225deg);
}

.hero {
  position: relative;
  padding-top: 64px;
  padding-bottom: 68px;
}

.hero-panel {
  height: 504px;
  padding: 48px 64px;
  border-radius: 20px;
  background: var(--panel);
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 40px;
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}

.crumb-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

.crumb-current {
  color: var(--text);
}

.home-dot {
  width: 15px;
  height: 15px;
  border: 1.4px solid var(--muted);
  border-radius: 4px 4px 2px 2px;
  transform: rotate(45deg);
}

.crumb-icon {
  width: 17px;
  height: 17px;
  color: var(--muted-2);
  fill: none;
}

.hero-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  margin-top: 8px;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: 48px;
  line-height: 54px;
  font-weight: 600;
}

.hero h1 span {
  color: var(--red);
}

.channel-badge {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 28px;
  padding: 4px 12px;
  border: 1px solid var(--interactive-blue-stroke);
  border-radius: 999px;
  color: var(--blue);
  background: var(--interactive-blue-bg);
  font-size: 13px;
  line-height: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

:root[data-release-channel="beta"] .channel-badge {
  border-color: var(--interactive-red-stroke);
  color: var(--red);
  background: var(--interactive-red-bg);
}

:root[data-release-channel="preview"] .channel-badge {
  border-color: var(--stroke-strong);
  color: var(--muted);
  background: var(--surface-2);
}

.hero p {
  max-width: 570px;
  margin: 24px 0 0 24px;
  color: var(--muted);
  font-size: 18px;
  line-height: 26px;
  font-weight: 500;
}

.red-button,
.blue-button,
.help-actions a,
.file-actions a,
.subscribe {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.red-button {
  min-width: 205px;
  height: 48px;
  padding: 0 24px;
  background: var(--red-2);
  color: var(--accent-button-text);
  font-size: 16px;
  line-height: 24px;
}

.release-card {
  position: absolute;
  left: 50%;
  top: 374px;
  width: min(1240px, calc(100% - 104px));
  height: 262px;
  padding: 32px 48px;
  transform: translateX(-50%);
  border: 2px solid var(--release-card-border);
  border-radius: 32px;
  background: var(--release-card-bg);
  overflow: hidden;
}

.release-visual {
  position: absolute;
  left: -150px;
  top: calc(50% + 11px);
  width: 679px;
  height: 626px;
  transform: translateY(-50%);
  mix-blend-mode: var(--release-visual-blend);
  opacity: var(--release-visual-opacity);
  pointer-events: none;
  z-index: 0;
}

.release-visual::before,
.release-visual::after {
  content: "";
  position: absolute;
  inset: 0;
}

.release-visual::before {
  background: url("assets/release-visual.png") center / cover no-repeat;
}

.release-visual::after {
  background: var(--release-visual-overlay);
}

.release-pill,
.release-main {
  position: relative;
  z-index: 1;
}

.release-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  height: 40px;
  padding: 0 12px;
  border: 1.25px solid var(--stroke);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}

.release-main {
  display: flex;
  align-items: baseline;
  margin-top: 16px;
}

.release-main strong {
  font-size: 64px;
  line-height: 72px;
  font-weight: 600;
}

.latest-release-info {
  position: relative;
  z-index: 1;
  max-width: 420px;
  margin-top: 8px;
}

.latest-release-info p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 20px;
  font-weight: 500;
}

.latest-release-info .latest-release-title {
  color: var(--text);
  font-weight: 700;
}

.release-main span,
.release-meta dd span,
.release-meta .server-url {
  background: linear-gradient(7deg, #f02420 30.84%, #ffa048 103.05%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.release-meta {
  position: absolute;
  right: 48px;
  bottom: 32px;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 58px;
  margin: 0;
}

.release-meta div {
  display: grid;
  grid-template-columns: 48px auto;
  column-gap: 16px;
  align-content: center;
  align-items: center;
  justify-items: start;
}

.release-meta div + div {
  margin-left: 30px;
  padding-left: 30px;
  border-left: 1px solid var(--release-meta-separator);
}

.release-meta-icon {
  grid-row: 1 / span 2;
  width: 48px;
  height: 48px;
  margin: 0;
}

.release-meta dt,
.release-meta dd {
  margin: 0;
  color: var(--text);
  font-weight: 600;
}

.release-meta dt {
  font-size: 18px;
  line-height: 26px;
}

.release-meta dd {
  font-size: 20px;
  line-height: 20px;
}

.section {
  margin-top: 74px;
}

.downloads {
  margin-top: 111px;
}

.usage {
  margin-top: 77px;
}

.section-heading {
  margin-bottom: 64px;
}

.downloads .section-heading {
  margin-bottom: 64px;
}

.usage .section-heading {
  margin-bottom: 24px;
}

.section-heading.centered {
  text-align: center;
}

h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(32px, 3vw, 48px);
  line-height: 1.12;
  font-weight: 800;
}

.downloads h2 {
  font-size: 48px;
  line-height: 54px;
  font-weight: 600;
}

.usage h2,
.terminal h2,
.history h2 {
  font-size: 48px;
  line-height: 54px;
  font-weight: 600;
}

.section-heading p,
.history > p,
.terminal-lead {
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.section-heading p {
  max-width: 620px;
}

.downloads .section-heading p {
  max-width: 855px;
  margin-top: 24px;
  color: var(--section-lead-color);
  font-size: 18px;
  line-height: 26px;
  font-weight: 500;
  letter-spacing: 0.15px;
}

.usage .section-heading p {
  max-width: 958px;
  margin-top: 24px;
  color: var(--section-lead-color);
  font-size: 18px;
  line-height: 26px;
  font-weight: 500;
  letter-spacing: 0.15px;
}

.download-grid,
.usage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.download-card {
  position: relative;
  min-width: 0;
  padding: 78px 40px 48px;
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  background-color: var(--panel);
  background-image: linear-gradient(110deg, transparent 38%, var(--download-card-sheen) 50%, transparent 62%);
  background-position: 125% 0;
  background-size: 260% 100%;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  text-align: center;
  transform: translateY(0);
  transition:
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.32s ease;
}

.download-card[data-platform-card="linux-x64"] {
  --download-card-border-glow: #f02420;
  --download-card-hover-shadow:
    0 18px 48px rgba(240, 36, 32, 0.18),
    0 0 40px rgba(240, 36, 32, 0.22),
    0 0 84px rgba(255, 160, 72, 0.16);

  background-image: linear-gradient(
    110deg,
    transparent 36%,
    rgba(240, 36, 32, 0.12) 47%,
    rgba(255, 160, 72, 0.14) 53%,
    transparent 64%
  );
}

:root[data-theme="light"] .download-card[data-platform-card="linux-x64"] {
  --download-card-hover-shadow:
    0 18px 46px rgba(240, 36, 32, 0.14),
    0 0 34px rgba(240, 36, 32, 0.13),
    0 0 72px rgba(255, 160, 72, 0.11);

  background-image: linear-gradient(
    110deg,
    transparent 36%,
    rgba(240, 36, 32, 0.08) 47%,
    rgba(255, 160, 72, 0.1) 53%,
    transparent 64%
  );
}

.download-card:hover,
.download-card:focus-within {
  border-color: var(--download-card-border-glow);
  box-shadow: var(--download-card-hover-shadow);
  transform: translateY(-6px);
  animation: download-card-sheen 3.2s ease-in-out infinite;
}

@keyframes download-card-sheen {
  0% {
    background-position: 125% 0;
  }

  58%,
  100% {
    background-position: -25% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .download-card {
    transition-duration: 0.01ms;
  }

  .download-card:hover,
  .download-card:focus-within {
    animation: none;
  }
}

.platform-icon {
  display: block;
  margin: 0 auto 42px;
  fill: currentColor;
}

.download-platform-icon {
  position: relative;
  display: block;
  width: 90px;
  height: 90px;
  margin: 0 auto 24px;
}

.platform-layer {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.28s ease;
}

.linux-platform .platform-layer {
  inset: 50% auto auto 50%;
  width: 73.447px;
  height: 86.5px;
  transform: translate(-50%, -50%);
}

.platform-layer--default {
  opacity: 1;
}

.platform-layer--active {
  opacity: 0;
}

.download-card:hover .platform-layer--default,
.download-card:focus-within .platform-layer--default {
  opacity: 0;
}

.download-card:hover .platform-layer--active,
.download-card:focus-within .platform-layer--active {
  opacity: 1;
}

.windows-icon {
  width: 74px;
  height: 74px;
  color: #101417;
  opacity: 0.72;
}

.windows-icon::before {
  content: "";
  position: absolute;
  inset: 13px;
  background:
    linear-gradient(90deg, transparent 47%, #101417 47% 53%, transparent 53%),
    linear-gradient(0deg, transparent 47%, #101417 47% 53%, transparent 53%),
    #171c20;
  transform: skewY(-9deg);
}

.linux-icon {
  width: 74px;
  height: 74px;
  color: var(--text);
  opacity: 0.9;
}

.linux-icon::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 7px;
  width: 36px;
  height: 54px;
  border: 3px solid var(--text);
  border-radius: 19px 19px 14px 14px;
}

.linux-icon::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 7px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid var(--text);
  border-top: 0;
}

.windows-icon::before,
.windows-icon::after,
.linux-icon::before,
.linux-icon::after {
  content: none;
}

.download-card h3,
.usage-card h3,
.help-panel h3,
.terminal h3 {
  margin: 0;
  color: var(--text);
  font-weight: 700;
}

.download-card h3 {
  font-size: 28px;
  line-height: 34px;
  font-weight: 600;
}

.status,
.date-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.25px solid var(--green);
  border-radius: 8px;
  color: var(--green);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: 0.3px;
}

.status {
  display: flex;
  width: fit-content;
  min-width: 96px;
  height: 32px;
  margin: 16px auto 0;
  padding: 0 12px;
}

.status[data-state="loading"],
.status[data-state="warning"] {
  border-color: var(--blue);
  color: var(--blue);
}

.status[data-state="error"] {
  border-color: var(--red);
  color: var(--red);
}

.card-lead {
  min-height: 74px;
  margin: 64px auto 32px;
  color: var(--card-lead-color);
  font-size: 18px;
  line-height: 26px;
  font-weight: 500;
  letter-spacing: 0.15px;
}

.download-card:first-child .card-lead {
  width: min(434px, 100%);
}

.spec-list {
  display: grid;
  gap: 16px;
  margin: 0 0 32px;
}

.spec-list > div {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 68px;
  padding: 10px 20px;
  border-radius: 14px;
  background: var(--surface);
}

.spec-list .spec-copy {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  margin: 0;
  column-gap: 16px;
  row-gap: 2px;
}

.spec-list dt,
.spec-list dd {
  display: flex;
  align-items: center;
  margin: 0;
  color: var(--text);
}

.spec-list dt {
  flex: 0 0 auto;
  font-size: 18px;
  line-height: 26px;
  font-weight: 500;
  letter-spacing: 0.15px;
  white-space: nowrap;
}

.spec-list dd {
  flex: 0 0 auto;
  font-size: 20px;
  line-height: 20px;
  font-weight: 600;
  white-space: nowrap;
}

.spec-icon {
  display: grid;
  flex: 0 0 48px;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--text);
}

.spec-icon svg,
.spec-icon img {
  display: block;
  width: 24px;
  height: 24px;
  color: var(--text);
  fill: none;
}

.rocket::before,
.calendar::before,
.package::before {
  content: "";
  position: absolute;
}

.rocket {
  position: relative;
}

.rocket::before {
  left: 18px;
  top: 14px;
  width: 13px;
  height: 20px;
  border: 2px solid var(--text);
  border-radius: 10px 10px 3px 3px;
  transform: rotate(38deg);
}

.calendar {
  position: relative;
}

.calendar::before {
  left: 14px;
  top: 15px;
  width: 20px;
  height: 18px;
  border: 2px solid var(--text);
  border-radius: 4px;
}

.package {
  position: relative;
}

.package::before {
  left: 14px;
  top: 15px;
  width: 20px;
  height: 18px;
  border: 2px solid var(--text);
  border-radius: 3px;
  transform: perspective(30px) rotateX(10deg);
}

.blue-button {
  width: 100%;
  height: 60px;
  gap: 8px;
  padding: 0 24px;
  background: var(--blue);
  color: var(--accent-button-text);
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
}

.blue-button.is-disabled {
  pointer-events: none;
  opacity: 0.58;
}

.downloads .blue-button .button-icon {
  width: 24px;
  height: 24px;
}

.download-glyph {
  width: 15px;
  height: 15px;
  border-bottom: 1.5px solid currentColor;
}

.download-glyph::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 0;
  width: 1.5px;
  height: 10px;
  background: currentColor;
}

.download-glyph::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 5px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.file-note {
  margin: 32px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 26px;
  font-weight: 500;
  letter-spacing: 0.15px;
}

.file-actions {
  display: flex;
  justify-content: center;
  gap: 26px;
  margin-top: 16px;
}

.file-actions a {
  flex: 1 1 0;
  min-width: 0;
  height: 48px;
  padding: 0 24px;
  border-radius: 16px;
  background: var(--surface-2);
  color: var(--text);
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  letter-spacing: 0.3px;
  gap: 8px;
  transition: color 0.2s ease;
}

.file-actions .button-icon {
  width: 24px;
  height: 24px;
  transition: filter 0.2s ease;
}

.file-actions a:hover,
.file-actions a:focus-visible {
  color: var(--blue);
}

.file-actions a:hover .button-icon,
.file-actions a:focus-visible .button-icon {
  filter: var(--blue-icon-filter);
}

.usage {
  margin-top: 77px;
}

.tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 64px;
  min-height: 64px;
  margin-bottom: 24px;
  border-radius: 12px;
  background: var(--panel);
  overflow: hidden;
}

.tab {
  position: relative;
  border: 0;
  background: transparent;
  color: var(--muted-2);
  font-size: 20px;
  line-height: 20px;
  font-weight: 600;
  cursor: pointer;
  transition:
    color 0.2s ease;
}

.tab:hover,
.tab:focus-visible {
  color: var(--text);
  outline: none;
}

.tab.active {
  color: var(--text);
}

.tab.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 163px;
  max-width: calc(100% - 24px);
  transform: translateX(-50%);
  height: 2px;
  border-radius: 20px;
  background: var(--red);
}

.usage-panels {
  position: relative;
}

.usage-panel {
  display: grid;
  gap: 24px;
}

.usage-panel[hidden] {
  display: none;
}

.usage-panel .usage-grid {
  align-items: stretch;
}

.usage-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: auto;
  min-height: 430px;
  padding: 32px;
  border-radius: 20px;
  background: var(--panel);
  overflow: hidden;
}

.usage-card-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 48px;
}

.usage-platform-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
}

.usage-card h3 {
  font-size: 28px;
  line-height: 34px;
  font-weight: 600;
}

.usage-platform-icon img {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.usage-platform-icon .usage-linux-icon {
  width: 39.172px;
  height: 46.133px;
}

.usage-platform-icon--svg {
  color: var(--muted);
}

.usage-platform-icon--svg svg {
  display: block;
  width: 48px;
  height: 48px;
  fill: currentColor;
}

.usage-card p {
  margin: 0;
  color: var(--muted-2);
  font-size: 18px;
  line-height: 26px;
  font-weight: 500;
  letter-spacing: 0.15px;
}

.usage-card > p {
  height: 52px;
  overflow: hidden;
}

.mini-steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mini-steps li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  min-height: 76px;
  padding: 14px;
  border-radius: 16px;
  background: var(--step-bg);
  box-shadow: var(--step-shadow);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--interactive-red-bg);
  color: var(--red);
  font-size: 15px;
  line-height: 1;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px var(--interactive-red-stroke);
}

.mini-steps p {
  color: var(--muted);
  font-size: 16px;
  line-height: 23px;
  letter-spacing: 0.1px;
}

.mini-steps strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 17px;
  line-height: 23px;
  font-weight: 700;
}

.help-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 156px;
  min-height: 156px;
  margin-top: 24px;
  padding: 40px;
  border-radius: 20px;
  background: var(--panel);
  overflow: hidden;
}

.help-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/usage-grid.svg") -163px -75px / 2050px 1299px no-repeat;
  mix-blend-mode: var(--help-grid-blend);
  opacity: var(--help-grid-opacity);
  pointer-events: none;
}

.help-visual {
  position: absolute;
  inset: 0;
  contain: paint;
  mix-blend-mode: var(--help-visual-blend);
  opacity: var(--help-visual-opacity);
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.help-visual::before,
.help-visual::after {
  content: "";
  position: absolute;
  left: 1017px;
  top: -35px;
  width: 386px;
  height: 356px;
  transform: rotate(180deg) scaleY(-1);
}

.help-visual::before {
  background: url("assets/usage-help-visual.png") center / cover no-repeat;
}

.help-visual::after {
  background: var(--help-visual-overlay);
}

.help-panel > :not(.help-visual) {
  position: relative;
  z-index: 1;
}

.help-panel h3 {
  font-size: 28px;
  line-height: 34px;
  font-weight: 600;
}

.help-panel p {
  margin: 16px 0 0;
  color: var(--muted-2);
  font-size: 18px;
  line-height: 26px;
  font-weight: 500;
  letter-spacing: 0.15px;
}

.help-actions {
  display: flex;
  gap: 24px;
}

.help-actions a {
  height: 48px;
  min-height: 48px;
  gap: 8px;
  padding: 0 24px;
  border-radius: 16px;
  background: var(--surface-2);
  color: var(--text);
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.help-actions .button-icon {
  width: 24px;
  height: 24px;
  transition:
    color 0.2s ease,
    filter 0.2s ease;
}

.help-actions a:hover,
.help-actions a:focus,
.help-actions a:focus-visible {
  background: var(--interactive-red-bg);
  color: var(--red);
  box-shadow: inset 0 0 0 1px var(--interactive-red-stroke);
  outline: none;
}

.help-actions a:focus-visible {
  box-shadow:
    inset 0 0 0 1px var(--interactive-red-stroke),
    var(--interactive-red-focus);
}

.help-actions a:hover img.button-icon,
.help-actions a:focus img.button-icon,
.help-actions a:focus-visible img.button-icon {
  filter: var(--red-icon-filter);
}

.book,
.play,
.pin,
.mail,
.phone,
.telegram {
  width: 16px;
  height: 16px;
}

.book::before {
  content: "";
  position: absolute;
  inset: 2px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
}

.play::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 2px;
  border-left: 10px solid currentColor;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.terminal,
.history {
  border-radius: 20px;
  background: var(--panel);
}

.footer {
  border-radius: 16px;
  background: var(--panel);
}

.terminal {
  height: 732px;
  min-height: 732px;
  margin-top: 57px;
  padding: 40px;
  overflow: hidden;
}

.title-with-bar {
  position: relative;
  padding-left: 26px;
}

.title-with-bar::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 54px;
  border-radius: 20px;
  background: var(--red);
}

.terminal-lead {
  max-width: none;
  margin: 24px 0 0;
  color: var(--muted-2);
  font-size: 18px;
  line-height: 26px;
  font-weight: 500;
  letter-spacing: 0.15px;
}

.info-line {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 48px;
  min-height: 48px;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--info-bg);
  color: var(--info-text);
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.pin::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 6px;
  height: 10px;
  border: 1.5px solid var(--blue);
  border-radius: 6px 6px 6px 0;
  transform: rotate(45deg);
}

.info-icon {
  position: relative;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
}

.info-icon img {
  position: absolute;
  left: -7.75px;
  top: -0.25px;
  display: block;
  width: 35.5px;
  height: 40.5px;
  max-width: none;
}

.terminal h3 {
  margin: 24px 0 0;
  font-size: 28px;
  line-height: 34px;
  font-weight: 600;
}

.command-list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.command-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
  min-height: 72px;
  padding: 12px 16px 12px 20px;
  border-radius: 16px;
  background: var(--command-bg);
}

.command-row code {
  color: var(--text);
  font-family: "Exo 2", Arial, sans-serif;
  font-size: 18px;
  line-height: 26px;
  font-weight: 500;
  letter-spacing: 0.15px;
}

.copy-button {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 16px;
  background: var(--surface-2);
  color: var(--muted);
  cursor: pointer;
  overflow: hidden;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.copy-button::before,
.copy-button::after {
  content: none;
  position: absolute;
}

.copy-button {
  position: relative;
}

.copy-button::before {
  width: 14px;
  height: 14px;
  left: 16px;
  top: 16px;
  border: 1.5px solid var(--muted);
  border-radius: 3px;
}

.copy-button::after {
  width: 14px;
  height: 14px;
  left: 20px;
  top: 20px;
  border: 1.5px solid var(--muted);
  border-radius: 3px;
  background: var(--surface-2);
}

.copy-button img {
  display: block;
  width: 24px;
  height: 24px;
  transition: filter 0.2s ease;
}

.copy-button:hover,
.copy-button:focus,
.copy-button:focus-visible {
  background: var(--interactive-red-bg);
  color: var(--red);
  box-shadow: inset 0 0 0 1px var(--interactive-red-stroke);
  outline: none;
}

.copy-button:focus-visible {
  box-shadow:
    inset 0 0 0 1px var(--interactive-red-stroke),
    var(--interactive-red-focus);
}

.copy-button:hover img,
.copy-button:focus img,
.copy-button:focus-visible img {
  filter: var(--red-icon-filter);
}

.copy-toast {
  position: fixed;
  left: var(--copy-toast-left, 50%);
  top: var(--copy-toast-top, 50%);
  z-index: 120;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: min(360px, calc(100vw - 32px));
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid var(--interactive-red-stroke);
  border-radius: 16px;
  background: var(--panel);
  color: var(--text);
  box-shadow: var(--shadow-popover);
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.copy-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.copy-toast::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border: 1px solid var(--interactive-red-stroke);
  background: var(--panel);
  transform: rotate(45deg);
}

.copy-toast[data-placement="left"]::before {
  right: -6px;
  top: 50%;
  border-bottom: 0;
  border-left: 0;
  transform: translateY(-50%) rotate(45deg);
}

.copy-toast[data-placement="right"]::before {
  left: -6px;
  top: 50%;
  border-top: 0;
  border-right: 0;
  transform: translateY(-50%) rotate(45deg);
}

.copy-toast[data-placement="top"]::before {
  left: 50%;
  bottom: -6px;
  border-top: 0;
  border-left: 0;
  transform: translateX(-50%) rotate(45deg);
}

.copy-toast__icon {
  position: relative;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--interactive-red-bg);
  box-shadow: inset 0 0 0 1px var(--interactive-red-stroke);
}

.copy-toast__icon::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 5px;
  width: 6px;
  height: 10px;
  border-right: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: rotate(45deg);
}

.copy-toast.is-error .copy-toast__icon::before,
.copy-toast.is-error .copy-toast__icon::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 10px;
  width: 10px;
  height: 2px;
  border: 0;
  background: var(--red);
  transform: rotate(45deg);
}

.copy-toast.is-error .copy-toast__icon::after {
  transform: rotate(-45deg);
}

.history {
  min-height: 0;
  margin-top: 56px;
  padding: 40px;
  overflow: visible;
}

.history > p {
  max-width: none;
  margin: 24px 0 0;
  color: var(--muted-2);
  font-size: 18px;
  line-height: 26px;
  font-weight: 500;
  letter-spacing: 0.15px;
}

.history-empty {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid var(--stroke);
  border-radius: 12px;
  background: var(--command-bg);
  color: var(--muted-2);
  font-size: 18px;
  line-height: 26px;
  font-weight: 500;
}

.year-group {
  margin-top: 24px;
}

.year-group + .year-group {
  margin-top: 24px;
}

.year-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 32px;
  line-height: 40px;
  font-weight: 600;
  cursor: pointer;
}

.year-toggle:focus-visible,
.version-row:focus-visible {
  outline: 2px solid rgba(38, 151, 255, 0.7);
  outline-offset: 3px;
}

.year-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
}

.year-icon img {
  display: block;
  width: 24px;
  height: 24px;
}

.year-group.open .year-icon img {
  transform: rotate(180deg);
}

.year-panel {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.year-panel[hidden],
.version-details[hidden] {
  display: none;
}

.version-item {
  display: grid;
  gap: 8px;
}

.version-row {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  width: 100%;
  gap: 12px;
  height: 64px;
  min-height: 64px;
  margin-top: 0;
  padding: 16px;
  border: 1px solid var(--stroke);
  border-radius: 12px;
  background: var(--command-bg);
  color: var(--text);
  font-size: 20px;
  line-height: 20px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.date-badge {
  height: 32px;
  min-height: 32px;
  padding: 0 12px;
  background: var(--panel);
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

svg.row-chevron {
  width: 12px;
  height: 6px;
  border: 0;
  transform: none;
}

.version-row .row-chevron {
  display: block;
  justify-self: end;
  width: 24px;
  height: 24px;
  border: 0;
  transform: none;
  transition: transform 0.18s ease;
}

.version-item.open .row-chevron {
  transform: rotate(180deg);
}

.version-details {
  padding: 16px 20px;
  border: 1px solid var(--stroke);
  border-radius: 12px;
  background: var(--version-details-bg);
  color: var(--muted-2);
}

.version-details p {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.footer {
  height: 328px;
  min-height: 328px;
  margin-top: 108px;
  margin-bottom: 108px;
  padding: 32px 32px 48px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  overflow: hidden;
}

.footer-top,
.footer-nav-row,
.footer-bottom,
.footer-main nav,
.socials {
  display: flex;
  align-items: center;
}

.footer-top {
  justify-content: space-between;
  gap: 40px;
  width: 100%;
}

.subscribe {
  height: 48px;
  min-height: 48px;
  gap: 8px;
  padding: 0 16px;
  border-radius: 16px;
  background: var(--surface-2);
  color: var(--text);
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.subscribe .button-icon {
  width: 24px;
  height: 24px;
  transition: filter 0.2s ease;
}

.subscribe-divider {
  width: 1px;
  height: 20px;
  background: var(--muted-2);
  transition: background-color 0.2s ease;
}

.subscribe:hover,
.subscribe:focus,
.subscribe:focus-visible {
  background: var(--interactive-red-bg);
  color: var(--red);
  box-shadow: inset 0 0 0 1px var(--interactive-red-stroke);
  outline: none;
}

.subscribe:focus-visible {
  box-shadow:
    inset 0 0 0 1px var(--interactive-red-stroke),
    var(--interactive-red-focus);
}

.subscribe:hover .button-icon,
.subscribe:focus .button-icon,
.subscribe:focus-visible .button-icon {
  filter: var(--red-icon-filter);
}

.subscribe:hover .subscribe-divider,
.subscribe:focus .subscribe-divider,
.subscribe:focus-visible .subscribe-divider {
  background: var(--interactive-red-stroke);
}

.socials {
  justify-content: flex-end;
  gap: 12px;
  color: var(--text);
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--surface-2);
  color: var(--footer-icon-muted);
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.socials a svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  transition: fill 0.2s ease;
}

.socials a:hover,
.socials a:focus,
.socials a:focus-visible {
  background: var(--interactive-red-bg);
  color: var(--red);
  box-shadow: inset 0 0 0 1px var(--interactive-red-stroke);
  outline: none;
}

.socials a:focus-visible {
  box-shadow:
    inset 0 0 0 1px var(--interactive-red-stroke),
    var(--interactive-red-focus);
}

.footer-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  padding: 0 32px;
}

.footer-nav-row {
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  height: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  gap: 20.861px;
  min-width: 0;
  height: 48px;
}

.footer-logo-mark {
  display: block;
  width: 38.385px;
  height: 35.464px;
}

.footer-logo-word {
  display: block;
  width: 158.754px;
  height: 27.161px;
  filter: var(--logo-word-filter);
}

.footer-main nav {
  flex: 0 0 auto;
  gap: 4px;
}

.footer-main nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 48px;
  padding: 8px 12px 8px 16px;
  border-radius: 16px;
  color: var(--text);
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  letter-spacing: 0.3px;
  white-space: nowrap;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.footer-main nav img {
  display: block;
  width: 24px;
  height: 24px;
  transform: rotate(-90deg);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.footer-main nav a:hover,
.footer-main nav a:focus,
.footer-main nav a:focus-visible {
  background: var(--nav-hover-bg);
  color: var(--red);
  box-shadow: none;
  outline: none;
}

.footer-main nav a:focus-visible {
  box-shadow: none;
}

.footer-bottom {
  align-items: flex-end;
  justify-content: flex-end;
  gap: 24px;
  width: 100%;
}

.footer-contacts {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--text);
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.footer-contacts li,
.footer-contacts a {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-contacts a {
  min-height: 32px;
  padding: 4px 8px;
  border-radius: 12px;
  color: inherit;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.contact-icon {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  color: var(--text);
  transition: filter 0.2s ease;
}

.footer-contacts a:hover,
.footer-contacts a:focus,
.footer-contacts a:focus-visible {
  background: transparent;
  color: var(--red);
  box-shadow: none;
  outline: none;
}

.footer-contacts a:focus-visible {
  box-shadow: none;
}

.footer-telegram-icon {
  box-sizing: content-box;
  width: 20px;
  height: 16px;
  padding: 4px 2px;
}

.mail::before,
.phone::before,
.telegram::before {
  content: "";
  position: absolute;
}

.mail::before {
  inset: 3px 1px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
}

.mail::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 6px;
  width: 10px;
  height: 7px;
  border-left: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
}

.phone::before {
  left: 4px;
  top: 2px;
  width: 8px;
  height: 12px;
  border: 1.5px solid currentColor;
  border-radius: 8px 8px 4px 4px;
  transform: rotate(-35deg);
}

.telegram::before {
  left: 1px;
  top: 3px;
  border-left: 14px solid currentColor;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  transform: rotate(-20deg);
}

.red {
  color: var(--red);
}

.footer-copy {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  color: var(--muted-2);
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-align: right;
}

:root[data-theme="light"] .site-header {
  border-bottom: 1px solid var(--stroke);
  box-shadow: 0 8px 28px rgba(31, 42, 54, 0.05);
}

:root[data-theme="light"] .hero-panel,
:root[data-theme="light"] .release-card,
:root[data-theme="light"] .download-card,
:root[data-theme="light"] .usage-card,
:root[data-theme="light"] .help-panel,
:root[data-theme="light"] .terminal,
:root[data-theme="light"] .history,
:root[data-theme="light"] .footer {
  border: 1px solid var(--stroke);
  box-shadow: 0 18px 52px rgba(31, 42, 54, 0.08);
}

:root[data-theme="light"] .tabs {
  box-shadow: inset 0 0 0 1px var(--stroke);
}

:root[data-theme="light"] .download-platform-icon img,
:root[data-theme="light"] .release-meta-icon,
:root[data-theme="light"] .usage-platform-icon img,
:root[data-theme="light"] .spec-icon img,
:root[data-theme="light"] .file-actions .button-icon,
:root[data-theme="light"] .copy-button img,
:root[data-theme="light"] .subscribe .button-icon,
:root[data-theme="light"] .help-actions img.button-icon,
:root[data-theme="light"] .contact-icon,
:root[data-theme="light"] .year-icon img {
  filter: var(--muted-asset-filter);
}

:root[data-theme="light"] .help-actions a:hover img.button-icon,
:root[data-theme="light"] .help-actions a:focus img.button-icon,
:root[data-theme="light"] .help-actions a:focus-visible img.button-icon {
  filter: var(--red-icon-filter);
}

:root[data-theme="light"] .copy-button:hover img,
:root[data-theme="light"] .copy-button:focus img,
:root[data-theme="light"] .copy-button:focus-visible img {
  filter: var(--red-icon-filter);
}

:root[data-theme="light"] .download-platform-icon .platform-layer--default,
:root[data-theme="light"] .download-card:hover .platform-layer--default,
:root[data-theme="light"] .download-card:focus-within .platform-layer--default {
  opacity: 0;
}

:root[data-theme="light"] .download-platform-icon .platform-layer--active,
:root[data-theme="light"] .download-card:hover .platform-layer--active,
:root[data-theme="light"] .download-card:focus-within .platform-layer--active {
  opacity: 1;
}

.footer-contacts a:hover .contact-icon,
.footer-contacts a:focus .contact-icon,
.footer-contacts a:focus-visible .contact-icon {
  filter: var(--red-icon-filter);
}

@media (max-width: 1100px) {
  .hero-copy,
  .help-panel,
  .footer-top,
  .footer-main {
    align-items: flex-start;
    flex-direction: column;
  }

  .release-card {
    position: relative;
    top: auto;
    width: 100%;
    height: auto;
    min-height: 262px;
    margin-top: -84px;
    transform: none;
    left: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .release-meta {
    position: static;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    width: 100%;
    margin-top: 32px;
  }

  .release-main {
    justify-content: center;
    width: 100%;
  }

  .release-meta div + div {
    margin-left: 0;
    padding-left: 24px;
  }

  .download-grid,
  .usage-grid {
    grid-template-columns: 1fr;
  }

  .download-card {
    height: auto;
    min-height: auto;
  }

  .usage-card,
  .terminal,
  .history {
    height: auto;
  }

  .usage-card {
    min-height: 0;
  }

  .usage-card > p {
    height: auto;
    overflow: visible;
  }

  .info-line {
    height: auto;
    white-space: normal;
  }

  .help-panel {
    height: auto;
    min-height: 0;
    align-items: flex-start;
    padding: 32px;
  }

  .help-actions {
    flex-wrap: wrap;
    width: 100%;
    gap: 12px;
  }

  .help-actions a {
    flex: 1 1 220px;
  }

  .footer {
    height: auto;
    min-height: 0;
    gap: 32px;
    padding: 32px;
    overflow: visible;
  }

  .footer-top,
  .footer-nav-row,
  .footer-bottom {
    align-items: flex-start;
  }

  .footer-top {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px 32px;
  }

  .footer-main {
    gap: 28px;
    padding: 0;
  }

  .footer-nav-row {
    flex-direction: column;
    height: auto;
  }

  .footer-main nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
  }

  .footer-main nav a {
    justify-content: space-between;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .footer-contacts {
    flex: 0 1 320px;
  }

  .footer-copy {
    flex: 1 1 420px;
  }

  .footer-copy {
    text-align: left;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 32px, var(--shell));
  }

  .site-header {
    height: auto;
    padding: 20px 0;
  }

  .header-inner,
  .hero-copy,
  .release-main,
  .file-actions,
  .help-actions,
  .footer-main nav,
  .socials {
    flex-wrap: wrap;
  }

  .brand {
    font-size: 22px;
  }

  .brand-mark,
  .brand-mark-svg,
  .brand-mark-img {
    width: 30px;
    height: 30px;
    border-width: 3px;
  }

  .brand-word-img {
    width: 132px;
    height: 23px;
  }

  .brand-update {
    display: none;
  }

  .hero {
    padding-top: 32px;
    padding-bottom: 0;
  }

  .hero-panel,
  .release-card,
  .terminal,
  .history,
  .footer {
    padding: 28px 20px;
    border-radius: 16px;
  }

  .hero-panel {
    height: auto;
    min-height: 0;
  }

  .hero h1 {
    font-size: 34px;
    line-height: 40px;
  }

  .release-card {
    margin-top: 20px;
  }

  .release-main strong {
    font-size: 42px;
    line-height: 48px;
  }

  .release-visual {
    display: none;
  }

  .release-meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    width: 100%;
  }

  .release-meta div {
    min-height: 74px;
    padding: 12px 0;
    border-left: 0;
    border-top: 1px solid var(--stroke-strong);
    align-content: center;
    align-items: center;
  }

  .release-meta div + div {
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
  }

  .release-meta div:first-child {
    border-top: 0;
  }

  .section {
    margin-top: 48px;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .downloads h2,
  .usage h2,
  .terminal h2,
  .history h2 {
    font-size: 34px;
    line-height: 40px;
  }

  .downloads .section-heading p,
  .usage .section-heading p,
  .terminal-lead,
  .history > p {
    font-size: 16px;
    line-height: 24px;
  }

  .download-card {
    padding: 40px 20px 28px;
  }

  .blue-button {
    white-space: normal;
    line-height: 1.35;
  }

  .file-actions {
    gap: 12px;
  }

  .file-actions a {
    flex-basis: 100%;
    width: 100%;
    padding: 0 14px;
    white-space: normal;
  }

  .tabs {
    display: flex;
    grid-template-columns: none;
    align-items: stretch;
    gap: 4px;
    height: 60px;
    min-height: 60px;
    padding: 4px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .tab {
    flex: 0 0 auto;
    min-width: min(220px, calc(100vw - 64px));
    min-height: 52px;
    padding: 0 16px;
    border-radius: 8px;
    white-space: nowrap;
    scroll-snap-align: start;
  }

  .tabs::-webkit-scrollbar {
    display: none;
  }

  .tab.active::after {
    left: 12px;
    right: 12px;
    bottom: 4px;
    width: auto;
    transform: none;
  }

  .help-actions a,
  .red-button {
    width: 100%;
  }

  .usage-card {
    padding: 24px 20px;
  }

  .mini-steps li {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }

  .step-number {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 13px;
  }

  .help-panel {
    align-items: flex-start;
    flex-direction: column;
    height: auto;
    min-height: 0;
    padding: 28px 20px;
  }

  .help-visual {
    opacity: 0.4;
  }

  .help-visual::before,
  .help-visual::after {
    left: auto;
    right: -160px;
    top: -48px;
  }

  .title-with-bar {
    padding-left: 18px;
  }

  .title-with-bar::before {
    height: 40px;
  }

  .terminal,
  .history {
    height: auto;
    min-height: 0;
  }

  .command-row {
    align-items: flex-start;
    flex-direction: column;
    height: auto;
    padding: 18px;
  }

  .command-row code {
    overflow-wrap: anywhere;
  }

  .copy-button {
    align-self: flex-end;
  }

  .year-toggle {
    font-size: 28px;
    line-height: 36px;
  }

  .version-row {
    height: auto;
  }

  .footer {
    height: auto;
    min-height: 0;
    gap: 28px;
    margin-top: 64px;
    margin-bottom: 64px;
    overflow: visible;
  }

  .footer-top {
    align-items: stretch;
    gap: 20px;
    width: 100%;
  }

  .subscribe {
    width: 100%;
  }

  .socials {
    justify-content: flex-start;
    width: 100%;
  }

  .socials span {
    flex: 1 0 100%;
  }

  .footer-main {
    gap: 28px;
    padding: 0;
  }

  .footer-nav-row {
    align-items: stretch;
    height: auto;
    width: 100%;
  }

  .footer-logo {
    flex: 0 0 auto;
  }

  .footer-main nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .footer-main nav a {
    justify-content: space-between;
    padding: 8px 12px 8px 16px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .footer-contacts,
  .footer-copy {
    flex: 0 1 auto;
    width: 100%;
  }
}

@media (max-width: 520px) {
  .footer-main nav {
    grid-template-columns: 1fr;
  }
}
