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

a {
  text-decoration: none;
  color: #f5f5f5;
}

html {
  scroll-behavior: smooth;
}

body {
  color: #f5f5f5;
  font-family: "Inter", sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 32px;
}

.container {
  max-width: 1376px;
  margin: 0 auto;
  padding: 0 16px;
}

header {
  background: #101523;
  padding: 16px 0;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

ul.menu {
  list-style-type: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

ul.menu li {
  padding: 8px 24px;
  display: flex;
}

ul.menu li a {
  color: #f5f5f5;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
  transition: all 0.3s ease;
}

ul.menu li a:hover {
  color: #cec1f0;
}

.link {
  display: flex;
  padding: 8px 24px;
  justify-content: center;
  align-items: center;

  border-radius: 10px;
  background: linear-gradient(98deg, #7144e4 0%, #8560e3 100%);

  font-size: 14px;
  font-style: normal;
  font-weight: var(--Font-Wieght-500, 500);
  line-height: 16px;

  transition: all 0.3s ease;
}

.link:hover {
  box-shadow: 0 6px 18px rgba(133, 96, 227, 0.45);
}

section {
  background: #0d1017;
}

.hero {
  padding: 32px 0;
}

.hero .wrapper {
  display: flex;
  align-items: center;
  gap: 48px;
}

.hero .text-wrapper {
  padding: 32px 0;
}

h1 {
  font-size: 80px;
  font-style: normal;
  font-weight: 700;
  line-height: 92px;
  margin-bottom: 16px;
}

h1 span {
  color: #8f6ce8;
}

.subtitle {
  margin-bottom: 32px;
}

.hero .link {
  width: fit-content;
  padding: 16px 32px;
  margin-bottom: 32px;
}

.hero .info {
  color: #a489eb;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

.hero .alert {
  padding-left: 16px;
  border-left: 1px solid #7144e4;
  margin-left: 54px;
}

.hero .alert p {
  color: #b2b3b4;
  font-size: 11px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
}

.benefits {
  padding: 48px 0 32px 0;
}

.benefits .container {
  max-width: 1232px;
}

h2 {
  text-align: center;
  font-size: 48px;
  font-style: normal;
  font-weight: 600;
  line-height: 64px;
  margin-bottom: 32px;
}

.what {
  padding: 48px 0 32px 0;
}

.what .container {
  max-width: 1068px;
}

.what .wrapper {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.what .item {
  width: 50%;
  padding: 32px;
  border-radius: 10px;
  background: #101523;
}

.what .item .title {
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 32px;
  margin-bottom: 16px;
}

.what ul {
  list-style-type: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.what ul li {
  padding-left: 40px;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 32px;
  position: relative;
}

.what ul li::before {
  content: url("./img/done.svg");
  position: absolute;
  left: 0;
}

.what ul.dont-list li::before {
  content: url("./img/check.svg");
  position: absolute;
  left: 0;
}

.benefits .wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 16px;
}

.benefits .wrapper .top {
  display: flex;
  justify-content: space-between;

  gap: 16px;
  width: 100%;
}

.benefits .wrapper .bottom {
  display: flex;
  justify-content: center;

  gap: 16px;
  width: 100%;
}

.benefits .item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;

  padding: 32px;
  border-radius: 10px;
  background: #101523;
  width: 33%;
  max-width: 390px;
}

.started {
  padding: 48px 0;
}

.started .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1400px;
}

.started .wrapper {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.started .item {
  padding: 24px;
  border-radius: 16px;
  background: #101523;

  display: flex;
  align-items: center;
  gap: 16px;
  width: 33%;
}

.started .item p {
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
  text-transform: capitalize;
}

.started .item p span {
  color: #8f6ce8;
}

.started .link {
  padding: 16px 32px;
  width: fit-content;
}

.accordion {
  padding: 48px 0 32px 0;
}

.accordion .container {
  max-width: 992px;
}

.accordion-item {
  padding: 16px;
  border-radius: 10px;
  background: #101523;
  overflow: hidden;
  margin-bottom: 16px;
  transition: all 0.2s ease;
}

.accordion-header {
  margin: 0;
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #f5f5f5;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.icon {
  display: flex;
}

.icon img {
  transition: all 0.3s ease;
}

.is-open .icon img {
  transform: rotate(45deg);
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.2, 0, 0.2, 1);
  will-change: max-height;
}

.accordion-panel__inner {
  padding-top: 8px;
  color: #d3d4d4;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

.accordion-item.is-open .accordion-panel {
}

footer {
  padding: 32px 0;
  background: #101523;
}

footer .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

footer .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer .bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

footer .bottom p {
  color: #6d6f73;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  text-align: center;
}

.home-link {
  display: flex;
}

.footer-menu {
  list-style-type: none;
  display: flex;
  align-items: center;
  gap: 32px;
}

.footer-menu a {
  color: #b2b3b4;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  transition: all 0.2s ease;
}

.footer-menu a:hover {
  color: #f5f5f5;
}

/* ===== Popup styles ===== */
:root {
  --dl-bg: #1f1b24;
  --dl-fg: #f5f5f5;
  --dl-muted: #bdbdc7;
  --dl-overlay: rgba(0, 0, 0, 0.5);
  --dl-radius: 16px;
}

body.scroll-locked {
  overflow: hidden;
}

.dl-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 1000;
}
.dl-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.dl-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.64);
  backdrop-filter: blur(2px);
}

.dl-modal__dialog {
  position: relative;
  width: min(92vw, 512px);
  border-radius: 25px;
  background: #1c1c1e;
  padding: 32px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35), 0 8px 24px rgba(0, 0, 0, 0.25);

  /* анімація появи */
  transform: translateY(10px) scale(0.98);
  opacity: 0;
  transition: transform 0.26s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.26s ease;
}

.dl-modal.is-open .dl-modal__dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.dl-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.dl-modal__title {
  text-align: center;
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: 130%;
  text-transform: capitalize;
  margin-bottom: 16px;
}
.dl-modal__text {
  color: #d3d4d4;
  text-align: center;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  margin-bottom: 32px;
}

.dl-modal .link {
  padding: 16px 32px;

  color: #f5f5f5;
  font-size: 16px;
  font-style: normal;
  font-weight: 800;
  line-height: 24px;
  margin-bottom: 24px;
}

.dl-modal__legal {
  max-width: 360px;
  margin: 0 auto;
  text-align: center;

  color: #d3d4d4;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
}

.dl-modal__legal a {
  color: #d3d4d4;
  text-decoration: underline;
}

.policy {
  background: #0d1017;
  padding: 48px 0 56px 0;
  min-height: calc(100vh - 160px);

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.policy .container {
  max-width: 1232px;
  width: 100%;
}

.policy p {
  color: #f5f5f5;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
}

.mobile {
  display: none;
}

@media (max-width: 768px) {
  header .menu {
    display: none;
  }
  header .menu.is-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;

    position: absolute;
    top: 64px;
    left: 0;
    padding: 32px;
    width: 100%;
    background: #101523;
    height: calc(100vh - 64px);
  }

  ul.menu li {
    padding: 8px 0;
    display: flex;
  }

  ul.menu li a {
    font-size: 18px;
    line-height: 18px;
  }

  .toggle-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: inherit;
    border: none;
  }

  .toggle-btn span {
    width: 20px;
    height: 2px;
    background: #f5f5f5;
    border-radius: 2px;
    transition: all 0.2s ease;
  }

  .toggled span:first-child {
    transform: rotate(45deg);
    margin-bottom: -3px;
  }

  .toggled span:nth-child(2) {
    display: none;
  }

  .toggled span:nth-child(3) {
    transform: rotate(-45deg);
    margin-top: -3px;
  }

  section {
    padding: 32px 0 !important;
  }

  .hero .wrapper {
    flex-direction: column;
  }

  .hero-img {
    width: 100%;
  }

  .hero .alert {
    padding-left: 16px;
    border-left: 1px solid #7144e4;
    margin-left: 30px;
    margin-right: 30px;
    margin-bottom: 24px;
  }

  .hero .alert br {
    display: none;
  }

  .hero .text-wrapper {
    padding: 0;
  }

  h1 {
    font-size: 42px;
    line-height: 52px;
    text-align: center;
    margin-bottom: 20px;
  }

  .subtitle {
    font-size: 18px;
    line-height: 24px;
    text-align: center;
    margin-bottom: 32px;
  }

  .hero .link {
    width: auto;
  }

  .hero .info {
    text-align: center;
  }

  .desk {
    display: none !important;
  }

  .mobile {
    display: flex;
  }

  h2 {
    font-size: 32px;
    line-height: 48px;
    margin-bottom: 24px;
  }

  .what .wrapper {
    flex-direction: column;
  }

  .what .wrapper .item {
    width: 100%;
    padding: 24px;
  }

  .benefits .wrapper .top {
    flex-direction: column;
  }

  .benefits .item {
    padding: 24px;
    width: 100%;
    max-width: none;
  }

  .benefits .item p {
    font-size: 18px;
  }

  .benefits .item img {
    max-width: 96px;
  }

  .benefits .wrapper .bottom {
    flex-direction: column;
  }

  .started .wrapper {
    flex-direction: column;
    margin-bottom: 32px;
  }

  .started .item {
    padding: 20px;
    border-radius: 16px;
    background: #101523;
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
  }

  .started .item p {
    font-size: 16px;
    line-height: 20px;
  }

  .accordion-trigger {
    text-align: left;
    font-weight: 600;
  }

  .dl-modal__dialog {
    padding: 24px;
  }

  .dl-modal__title {
    font-size: 32px;
  }

  .dl-modal__text {
    font-size: 18px;
    line-height: 130%;
    margin-bottom: 16px;
  }

  .dl-modal__text br {
    display: none;
  }

  footer .container {
    flex-direction: column;
    gap: 24px;
  }

  .footer-menu {
    gap: 12px;
  }

  .footer-menu a {
    font-size: 14px;
  }

  footer .top {
    flex-direction: column;
    gap: 16px;
  }
}
