@font-face {
  font-family: "Druk Wide Cyr";
  src: url("https://db.onlinewebfonts.com/t/e7fa3e0f70e1466b2f73ee1ac39c8c30.woff2") format("woff2"),
       url("https://db.onlinewebfonts.com/t/e7fa3e0f70e1466b2f73ee1ac39c8c30.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-main: #141318;
  --text-primary: #F3F2FA;
  --text-muted: rgba(243, 242, 250, 0.7);
  --fill-card: #1E1D26;
  --fill-btn-outline: rgba(243, 242, 250, 0.1);
  --stroke: #F3F2FA;
  --white: #FFFFFF;
  --font-display: "Druk Wide Cyr", "Bebas Neue", sans-serif;
  --font-body: "Inter", "Suisse Intl", sans-serif;
  --side-padding: 20px;
  --content-width: calc(100% - (var(--side-padding) * 2));
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background: var(--bg-main);
  color: var(--text-primary);
  min-height: 100vh;
}

.page {
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.main-frame,
.download-frame {
  width: 100%;
}
.adapt-content {
  width: var(--content-width) !important;
}

.page-main {
  min-height: 3779px;
}

.main-frame {
  position: relative;
  height: 3779px;
  background: var(--bg-main);
}

.main-frame .logo,
.download-frame .logo {
  position: absolute;
  display: block;
  border-radius: 8px;
}

.main-header-z {
  z-index: 10;
}

.btn-download-outline,
a.btn-download-outline {
  position: absolute;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--fill-btn-outline);
  border-radius: 32px;
  border: none;
  color: inherit;
  cursor: pointer;
}
.btn-download-outline .btn-icon {
  display: block;
  flex-shrink: 0;
}
.btn-download-outline img.btn-icon {
  filter: brightness(0) invert(1);
}
.btn-download-outline .btn-text {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.download-frame .btn-download-outline.download-page-btn {
  left: auto;
  right: 20px;
}
.download-page-btn .btn-text {
  color: var(--text-primary);
}

.mask-group {
  position: absolute;
  display: block;
  width: calc(100% - 10px) !important;
  left: 5px !important;
  border-radius: 36.233768463134766px;
  z-index: 1;
}

.title-main {
  position: absolute;
  font-family: "Druk Wide Cyr", var(--font-display);
  font-weight: 500;
  font-size: 36px;
  line-height: 1em;
  color: var(--text-primary);
}

.description {
  position: absolute;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.4em;
  color: var(--text-muted);
}

.btn-download-primary,
a.btn-download-primary {
  position: absolute;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px 24px;
  background: var(--text-primary);
  border-radius: 32px;
  border: none;
  color: inherit;
  cursor: pointer;
  z-index: 1000;
}
.btn-download-primary .btn-icon {
  display: block;
  flex-shrink: 0;
}
.btn-download-primary img.btn-icon {
  filter: brightness(0);
}
.btn-download-primary .btn-text {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: var(--bg-main);
}

.table-block {
  position: absolute;
  display: flex;
  flex-direction: column;
  border: 3px solid var(--stroke);
  border-radius: 0;
}
.table-row {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  border-bottom: 3px solid var(--stroke);
}
.table-row:last-child {
  border-bottom: none;
}
.table-cell {
  flex: 1;
  padding: 16px 20px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.4em;
  color: var(--text-primary);
  text-align: left;
}
.table-cell:first-child {
  border-right: 3px solid var(--stroke);
}
.table-cell:last-child {
  text-align: left;
}

.cards-block {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.card-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}
.card-icon:not(img) {
  border: 4px solid var(--stroke);
  border-radius: 100px;
  background: transparent;
}
.card-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.4;
  color: var(--text-primary);
}
.card-desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.4em;
  color: var(--text-muted);
}

.block-image {
  position: absolute;
  display: block;
  border-radius: 8px;
}

.nav-icon {
  position: absolute;
  display: block;
  border-radius: 100px;
}

.slider-section {
  position: absolute;
  width: var(--content-width) !important;
  height: auto;
}
.slider-viewport {
  width: 100%;
  aspect-ratio: 350 / 539;
  overflow: hidden;
  border-radius: 8px;
}
.slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.3s ease;
}
.slider-section .slider-track {
  width: 500%;
}
.slider-section .slide {
  flex: 0 0 20%;
  width: 20%;
  height: 100%;
  box-sizing: border-box;
}
.slider-section .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 5;
}
.slider-btn img {
  display: block;
  width: 100%;
  height: 100%;
}
.slider-prev {
  left: 0;
}
.slider-next {
  right: 0;
}

@media (max-width: 379px) {
  .slider-section {
    top: 2275px !important;
    left: 20px !important;
  }
}

@media (min-width: 381px) {
  .slider-section {
    top: 2167px  !important;
    left: 20px !important;
  }
}

@media (min-width: 449px) {
  .slider-section {
    top: 2053px  !important;
    left: 20px !important;
  }
}

@media (min-width: 599px) {
  .slider-section {
    top: 1950px  !important;
    left: 20px !important;
  }
}

.upsides-downsides {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ud-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 20px;
  background: var(--fill-card);
}
.ud-upsides {
  border-radius: 24px 24px 0 0;
}
.ud-downsides {
  border-radius: 0 0 24px 24px;
}
.ud-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}
.ud-icon {
  width: 27px;
  height: 27px;
  flex-shrink: 0;
}
.ud-header .ud-icon:not(img) {
  background: var(--stroke);
  border-radius: 4px;
}
.ud-header img.ud-icon {
  display: block;
}
.ud-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.4;
  color: var(--text-primary);
}
.ud-text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.4em;
  color: var(--text-muted);
}

.cta-block {
  position: absolute;
  width: var(--content-width) !important;
}
.cta-card {
  background: var(--text-primary);
  border-radius: 32px;
  padding: 24px 20px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
  
  display: block;
}
.cta-icon-left {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: block;
}
.cta-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}
.cta-text {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 21px;
  line-height: 1.1;
  color: var(--bg-main);
  text-align: left;
  margin: 0;
}
.cta-btn-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  background: var(--bg-main);
  color: var(--text-primary);
  border-radius: 32px;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.02em;
}
.cta-btn-inner img {
  display: block;
  filter: brightness(0) invert(1);
}

.footer-text {
  position: absolute;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5em;
  text-align: center;
  color: var(--text-muted);
}

.page-download {
  min-height: 2822px;
}

.download-frame {
  position: relative;
  height: 2822px;
  background: var(--bg-main);
}

.page-download .instruction-hero-wrap {
  position: absolute;
  left: var(--side-padding);
  top: -21px;
  width: var(--content-width) !important;
  height: 750px;
  padding: 8px;
  background: #fff;
  border-radius: 36px;
  box-shadow: 6px 0 24px rgba(0, 0, 0, 0.08);
  z-index: 1;
  box-sizing: border-box;
}
.page-download .instruction-hero-wrap .instruction-hero-img {
  position: static;
  width: 100%;
  height: 100%;
  left: auto;
  top: auto;
  display: block;
  border-radius: 28px;
  object-fit: cover;
}
.instruction-hero-img {
  left: 5px;
  height: 750px;
  object-fit: contain;
  margin: 20px;
  width: stretch;
  position: absolute;
  top: 60px;
}
.instruction-header-z {
  z-index: 10;
}
.instruction-content-z {
  z-index: 5;
}

/* Thank you — Druk 500 36px center */
.thank-you-title {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 35px;
  line-height: 1em;
  text-align: center;
  color: var(--text-primary);
}

/* Steps — column gap 24px */
.steps-block {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.step {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.step-title {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.4em;
  text-align: center;
  color: var(--text-muted);
}
.step-image {
  width: 100%;
  display: block;
}
.step-image-tall {
  height: 434px;
}

.download-footer {
  text-align: center;
}

.page-white.page-main {
  min-height: 100vh;
}
.page-white .main-frame {
  min-height: 2600px;
  height: 2600px;
}

.white-page-simple.page-main {
  min-height: 100vh;
}
.white-page-simple .white-frame {
  min-height: 100vh;
  height: auto;
  padding: 0 var(--side-padding) 40px;
  display: flex;
  flex-direction: column;
}
.white-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
}
.white-header .logo {
  position: static;
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 8px;
}
.white-header-btn {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--fill-btn-outline);
  border-radius: 32px;
  color: inherit;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 17px;
}
.white-header-btn .btn-icon {
  filter: brightness(0) invert(1);
}
.white-content {
  flex: 1;
  max-width: 500px;
  padding: 24px 0 48px;
}
.white-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 36px;
  line-height: 1.1;
  color: var(--text-primary);
  margin: 0 0 20px;
}
.white-desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-primary);
  margin: 0 0 16px;
}
.white-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
  padding: 16px 24px;
  background: var(--text-primary);
  color: var(--bg-main);
  border-radius: 32px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 17px;
  cursor: pointer;
}
.white-cta .btn-icon {
  filter: brightness(0);
}
.white-footer {
  padding-top: 32px;
  border-top: 1px solid rgba(243, 242, 250, 0.15);
}
.white-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-bottom: 20px;
}
.white-footer-links a {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
}
.white-footer-links a:hover {
  color: var(--text-primary);
}
.white-disclaimer {
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0 0 16px;
  max-width: 560px;
}
.white-copyright {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}
