/**
 * Плотность ~80% + ширина лендинга на весь экран.
 * Карта: .cursor/projects/fond/landing-page/01-токены.md §0
 *
 * Не используем CSS zoom / transform:scale — zoom давал пустые поля по бокам.
 * Плотность: корневой font-size 80% (rem). Ширина: fluid .container.
 * Подключать ПОСЛЕ libs.min.css и main.min.css.
 */

:root {
  --lp-scale: 0.8;
  /* перебиваем main.min.css: html { font-size: 16px } */
  --lp-root: 80%;
  --lp-page-gutter: clamp(20px, 3vw, 48px);
  --lp-container-max: none; /* на всю ширину окна */
}

html {
  font-size: var(--lp-root);
  width: 100%;
  max-width: 100%;
  scroll-padding-top: 80px;
}

body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.wrapper {
  width: 100%;
  max-width: 100%;
}

/* Bootstrap .container был 1180–1400px — растягиваем */
.container,
.container-fluid {
  width: 100% !important;
  max-width: var(--lp-container-max) !important;
  padding-left: var(--lp-page-gutter) !important;
  padding-right: var(--lp-page-gutter) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/*
 * offset-* не обнулять: ими центрируются «Этапы сделки», шаги запуска,
 * блок «Инвесторам» и пагинация. Иначе колонки прижимаются к левому краю.
 */

/* Шкала запуска: высота задаётся из js/common.js по скроллу */
.roadmap__progress {
  position: absolute;
  z-index: 0;
  height: 0;
  border-radius: 210px;
  background: linear-gradient(180deg, #7ea0ff 0%, #5272db 42%, #3d5cc1 100%);
  pointer-events: none;
}

.roadmap__steps .step-date,
.roadmap__steps .step-text {
  opacity: 0.42;
  transition: opacity 0.35s ease;
}

.roadmap__steps .step.is-reached .step-date,
.roadmap__steps .step.is-reached .step-text {
  opacity: 1;
}

.roadmap__steps .step.is-reached:after {
  background-color: #a3b7fc;
}

.roadmap__steps .step.is-reached .step-dot:before {
  background-color: #3d5cc1;
}

.roadmap__steps .step.is-reached .step-dot:after {
  background-color: #bccbfd;
}

.roadmap__steps .step.is-current .step-text {
  font-weight: inherit;
}

.roadmap__title-row,
.roadmap__coin,
.roadmap__tagline {
  display: none !important;
}

.roadmap__board {
  width: min(920px, 100%);
  margin: 0 auto;
}

.roadmap__head {
  margin: 0 0 36px;
  padding-left: calc(140px + 28px + 48px + 28px);
}

.roadmap .roadmap__steps {
  max-width: none;
  --track-top: 48px;
  --track-height: 0px;
  --track-left: 168px;
  --track-width: 48px;
}

.roadmap .roadmap__steps::before {
  left: var(--track-left) !important;
  top: var(--track-top) !important;
  bottom: auto !important;
  width: var(--track-width) !important;
  height: var(--track-height) !important;
  border-radius: 8px !important;
  transform: none !important;
  -webkit-transform: none !important;
}

.roadmap__progress {
  border-radius: 8px;
  transition: height 0.45s ease;
}

.roadmap .step {
  scroll-snap-align: none;
}

.roadmap .step {
  position: relative;
  display: grid !important;
  grid-template-columns: 140px 48px minmax(0, 1fr);
  column-gap: 28px;
  align-items: center;
  flex-wrap: nowrap !important;
  min-height: 0;
  padding: 36px 0 !important;
}

.roadmap .step-label {
  text-align: right;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.3;
  color: #1d1d1d;
}

.roadmap .step-date,
.roadmap .step-text {
  display: none !important;
}

.roadmap .step::after,
.roadmap .step.is-reached::after {
  display: none !important;
  content: none !important;
}

.roadmap .step-line {
  position: relative;
  top: auto;
  bottom: auto;
  left: auto;
  width: 48px;
  height: 48px;
  flex: none !important;
}

@media (max-width: 767px) {
  .roadmap__head {
    padding-left: 0;
    margin-bottom: 24px;
  }

  .roadmap .step {
    grid-template-columns: 76px 40px minmax(0, 1fr);
    column-gap: 12px;
    padding: 26px 0 !important;
  }

  .roadmap .step-label {
    font-size: 0.9rem;
  }

  .roadmap .step-line {
    width: 40px;
    height: 40px;
  }
}

.roadmap .step-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  transform: translate(-50%, -50%);
}

.roadmap .step-dot::before,
.roadmap .step-dot::after {
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  -webkit-transform: translate(-50%, -50%) !important;
}

.roadmap .step-copy {
  opacity: 0.38;
  transition: opacity 0.35s ease;
}

.roadmap .step.is-reached .step-copy,
.roadmap .step.is-current .step-copy {
  opacity: 1;
}

.roadmap .step-name,
.roadmap .step-desc {
  display: grid;
}

.roadmap .step-name span,
.roadmap .step-desc span {
  grid-area: 1 / 1;
  transition: opacity 0.35s ease;
}

.roadmap .step-name span + span,
.roadmap .step-desc span + span {
  font-weight: 600;
  opacity: 0;
}

.roadmap .step.is-current .step-name span,
.roadmap .step.is-current .step-desc span {
  opacity: 0;
}

.roadmap .step.is-current .step-name span + span,
.roadmap .step.is-current .step-desc span + span {
  opacity: 1;
}

.roadmap .step-name {
  margin-bottom: 2px;
  font-size: 1.2rem;
  line-height: 1.3;
}

.roadmap .step-desc {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.4;
  color: #404040;
}

.roadmap__aside-title {
  margin: 0 0 12px;
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
}

.roadmap__aside-lead {
  margin: 0 0 28px;
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.45;
  color: #404040;
}

.roadmap__aside-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.roadmap__aside-item {
  margin: 0 0 22px;
  opacity: 0.4;
  transition: opacity 0.35s ease;
}

.roadmap__aside-item.is-reached,
.roadmap__aside-item.is-current {
  opacity: 1;
}

.roadmap__aside-name,
.roadmap__aside-text {
  display: grid;
}

.roadmap__aside-name span,
.roadmap__aside-text span {
  grid-area: 1 / 1;
  transition: opacity 0.35s ease;
}

.roadmap__aside-name span + span,
.roadmap__aside-text span + span {
  font-weight: 600;
  opacity: 0;
}

.roadmap__aside-item.is-current .roadmap__aside-name span,
.roadmap__aside-item.is-current .roadmap__aside-text span {
  opacity: 0;
}

.roadmap__aside-item.is-current .roadmap__aside-name span + span,
.roadmap__aside-item.is-current .roadmap__aside-text span + span {
  opacity: 1;
}

.roadmap__aside-name {
  margin-bottom: 4px;
  font-size: 1.15rem;
}

.roadmap__aside-text {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.4;
  color: #1d1d1d;
}

/* Ховеры: без сдвига вёрстки, только цвет и тень */
.btn,
a,
.news__block,
.navbar__menu a,
.select_wrap .select_ul li,
.footer__content-social--icon,
.footer__content-social--icon path,
.navbar-auth__login {
  transition: color 0.35s ease, background-color 0.35s ease, box-shadow 0.35s ease, opacity 0.35s ease, filter 0.35s ease, fill 0.35s ease, border-color 0.35s ease;
}

.navbar__menu li a,
.navbar__menu li a:hover,
.footer__menu a,
.footer__menu a:hover {
  font-weight: 300;
}

.news__block,
.news__block:hover {
  transform: none !important;
}

/* шапка: язык скрыт; вход как у JetLend; бургер с доп. пунктами */
.navbar-lang {
  display: none !important;
}

.navbar-auth__login {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 36px;
  margin: 0;
  padding: 0 16px;
  border: 1px solid #2f7a4a;
  border-radius: 160px;
  background: #2f7a4a;
  font-family: Roboto, sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
  color: #fff;
  text-decoration: none;
}

.navbar-auth__icon {
  display: block;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
}

.navbar-auth__login,
.lp-inn__submit {
  position: relative;
  isolation: isolate;
}

.navbar-auth__login::before,
.lp-inn__submit::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #3d9a62 0%, #174d32 100%);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.6s ease;
}

.navbar-auth__login:hover,
.lp-inn__submit:hover {
  color: #fff;
  border-color: transparent;
  text-decoration: none;
  box-shadow: 0 5px 9px rgba(47, 122, 74, 0.65);
}

.navbar-auth__login:hover::before,
.lp-inn__submit:hover::before {
  opacity: 1;
}

.navbar-right .btn-blue,
.footer .btn-blueGrad {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px;
  font-size: 0.875rem;
  line-height: 1;
}

.lp-btn-icon {
  display: block;
  flex: 0 0 auto;
}

.navbar__burger-item {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  margin: 0 0 0 4px !important;
  vertical-align: middle;
}

#nav-icon.navbar-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  position: relative;
  cursor: pointer;
  z-index: 1062;
}

#nav-icon.navbar-burger span {
  display: block;
  position: absolute;
  left: 5px;
  width: 18px;
  height: 1.5px;
  margin: 0;
  border-radius: 1px;
  background: #1d1d1d;
  opacity: 1;
  transform: none;
  transition: top 0.28s ease, transform 0.28s ease, opacity 0.28s ease;
}

#nav-icon.navbar-burger span:nth-child(1) { top: 8px; }
#nav-icon.navbar-burger span:nth-child(2) { top: 13px; }
#nav-icon.navbar-burger span:nth-child(3) { top: 18px; }

#nav-icon.navbar-burger.is-open span:nth-child(1) {
  top: 13px;
  transform: rotate(45deg);
}

#nav-icon.navbar-burger.is-open span:nth-child(2) {
  opacity: 0;
}

#nav-icon.navbar-burger.is-open span:nth-child(3) {
  top: 13px;
  transform: rotate(-45deg);
}

.navbar-drop {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  z-index: 30;
  min-width: 220px;
  padding: 10px 8px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(29, 29, 29, 0.12);
  opacity: 0;
  transform: translateX(-50%) translateY(8px);
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.navbar-drop::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: 12px;
  height: 12px;
  background: #fff;
  transform: translateX(-50%) rotate(45deg);
}

.navbar-drop.is-open {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.navbar__menu .navbar-drop a,
.navbar__menu .navbar-drop a:hover {
  display: block;
  padding: 12px 16px;
  border-radius: 10px;
  color: #1d1d1d;
  font-family: Roboto, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.3;
  text-transform: none;
  text-decoration: none;
}

.navbar__menu .navbar-drop a:hover {
  background: #f3f5fb;
}

.navbar-right .btn-blue {
  display: inline-flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.navbar__menu--bar {
  display: flex !important;
  align-items: center !important;
}

.navbar__menu--bar > li {
  display: flex !important;
  align-items: center !important;
}

.news__block:hover .news__block-title {
  color: #1d1d1d !important;
}

.news__block:hover .news__block-date,
.news__block:hover .news__block-link {
  color: #3a53a6 !important;
}

.news__block:hover .news__block-icon,
.news__block:hover .news__block-link img {
  filter: none !important;
}

.news__block:hover:before {
  opacity: 0 !important;
}

.navbar-floating > .container > .row {
  align-items: center;
}

.navbar-logo a {
  display: flex;
  align-items: center;
  line-height: 0;
}

.navbar-logo img {
  display: block;
  width: auto;
  height: 40px;
}

.navbar__menu--bar > li > a {
  display: inline-flex !important;
  align-items: center;
  height: 40px;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: 1 !important;
}

.navbar-right {
  gap: 12px;
  min-height: 40px;
}

.lp-investor {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.lp-investor li {
  display: grid;
  gap: 4px;
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.45;
  color: #404040;
}

.lp-investor span {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #3a53a6;
}

.firstScreen .btn-gold {
  display: none !important;
}

.lp-inn {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 560px;
}

.lp-inn__input {
  flex: 1 1 auto;
  width: 100%;
  height: 52px;
  margin: 0;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  background: #f3f4f6;
  color: #1d1d1d;
  font-family: Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1;
  outline: none;
}

.lp-inn__input::placeholder {
  color: #b0b4bc;
}

.lp-inn__input:focus {
  box-shadow: 0 0 0 2px rgba(47, 122, 74, 0.35);
}

.lp-inn__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 0 0 auto;
  height: 52px;
  margin: 0;
  padding: 0 28px;
  border: 0;
  border-radius: 12px;
  background: #1f7a5c;
  color: #fff;
  font-family: Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.35s ease;
}

.lp-inn__submit:hover {
  background: #1f7a5c;
}

.lp-inn__lead {
  margin: 0 0 18px;
  max-width: 640px;
  font-size: 1.05rem;
  line-height: 1.45;
  color: #404040;
}

.news#anchorNews {
  padding-top: 24px;
  padding-bottom: 96px;
}

.lp-faq {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin: 0;
}

.lp-faq__item {
  position: relative;
  background: #f5f9ff;
  border: 0;
  border-radius: 18px;
  outline: none;
}

.lp-faq__item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: -21px;
  height: 1px;
  background: rgba(29, 29, 29, 0.14);
}

.lp-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 26px 28px;
  border: 0;
  outline: none;
  box-shadow: none;
  background: transparent;
  color: #1d1d1d;
  font-family: Montserrat, sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}

.lp-faq__q:focus,
.lp-faq__q:focus-visible {
  outline: none;
  box-shadow: none;
}

.lp-faq__q span {
  position: relative;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #3a53a6;
}

.lp-faq__q span::before,
.lp-faq__q span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: #fff;
  border-radius: 1px;
  transform: translate(-50%, -50%);
}

.lp-faq__q span::before {
  width: 12px;
  height: 1.5px;
}

.lp-faq__q span::after {
  width: 1.5px;
  height: 12px;
  transition: transform 0.35s ease;
}

.lp-faq__item.is-open .lp-faq__q span::after {
  transform: translate(-50%, -50%) scaleY(0);
}

.lp-faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s ease;
}

.lp-faq__item.is-open .lp-faq__a {
  grid-template-rows: 1fr;
}

.lp-faq__body {
  overflow: hidden;
  padding: 0 28px 26px;
  color: #404040;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.55;
}

.lp-inn__status {
  flex: 1 0 100%;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
  color: #1d1d1d;
}

.lp-inn__status.is-error {
  color: #8a2b2b;
}

@media (max-width: 575px) {
  .lp-inn {
    flex-direction: column;
    align-items: stretch;
  }

  .lp-inn__submit {
    width: 100%;
  }
}

@media (max-width: 1199px) {
  .navbar__menu--bar > li:not(.navbar__burger-item) {
    display: none !important;
  }

  .navbar__menu--bar {
    display: flex !important;
    align-items: center;
    margin: 0;
  }

  .navbar-drop {
    display: none !important;
  }
}

@media (min-width: 1200px) {
  .navbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  .navbar .mobile-menu {
    display: none !important;
  }
}

.footer__legal {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.72);
  font-family: Roboto, sans-serif;
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.45;
}

.footer__legal p {
  margin: 0 0 8px;
}

.footer__legal a {
  color: #fff;
  text-decoration: none;
}

.footer__legal a:hover {
  color: #d7e2ff;
}

/* шапка на всю ширину, без «плавающей» узкой полосы */
.navbar-floating {
  width: 100% !important;
  left: 0 !important;
  transform: none !important;
  -webkit-transform: none !important;
}
