:root {
  --font-headers: 'Montresor', -apple-system, BlinkMacSystemFont, "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif !important;
  --font-common: 'EB Garamond', -apple-system, BlinkMacSystemFont, "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif !important;
  --duration: 0.7s;
  --bg-primary: #161616;
  --bg-secondary: #fff;
  --txt-primary: #000;
  --btn-secondary: #b10b0b;
  --btn-primary: #0021FF;
  --btn-text-primary: #fff;
  --btn-text-secondary: #000000;
  --text-primary: #fff;
  --text-secondary: #1D1D1F;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 62.5%;
  overflow-x: hidden;
}

main {
  position: relative;
}

body {
  font-family: var(--font-common);
  font-style: normal;
  position: relative;
  color: var(--bg-primary);
  color: var(--txt-primary);
  font-size: 1.6rem;
  line-height: 1.3em;
  font-weight: 400;
  margin: 0;
  padding: 0;
  background-color: var(--bg-primary);
}

body::-webkit-scrollbar-track {
  background-color: var(--bg-primary);
}

body::-webkit-scrollbar-thumb {
  background-color: var(--bg-secondary);
}

body::-webkit-scrollbar {
  width: 10px;
}

a {
  font-family: var(--font-headers);
  color: inherit;
  outline: none;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  text-decoration: none;
}

a:hover {
  color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-headers);
  color: var(--text-primary);
  line-height: 100%;
  margin: 0;
  font-weight: 400;
}
p {
  font-family: var(--font-common);
  margin: 0;
}

button,
input,
textarea,
span,
div {
  font-family: inherit;
  outline: none !important;
}

button:hover,
input:hover,
textarea:hover,
span:hover,
div:hover {
  outline: none !important;
}

button:focus,
input:focus,
textarea:focus,
span:focus,
div:focus {
  outline: none !important;
}

button:active,
input:active,
textarea:active,
span:active,
div:active {
  outline: none !important;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  appearance: textfield;
  -moz-appearance: textfield;
}

.button-primary {
  color: var(--btn-text-primary);
  background: var(--btn-primary);
}

.button-secondary {
  color: var(--btn-text-primary);
  background: var(--btn-secondary);
}

.button-normal {
  padding: .5rem 1rem;
}

.button-large {
  padding: 2.6rem 3rem;
  font-weight: 700;
  font-size: 1.8rem;
  line-height: .9em;
}

.button-small {
  padding: .25rem .5rem;
  font-size: 0.75rem;
}
a.request__button {
  font-family: var(--font-headers);
  border: 0.8rem solid transparent; 
  border-image-source: url('../img/button-border.svg');
  border-image-slice: 10;
  border-image-repeat: round;
  background: #82520C;
  background-clip: padding-box;
  padding: 1.8rem 4.2rem;
  cursor: pointer;
  box-sizing: border-box;
  display: block;
  width: fit-content;
  font-size: 2.4rem;
  line-height: 1em;
  font-weight: 400;
}

a.request__button:hover {
    background: #8d6324;
    background-clip: padding-box;
}

.container {
  width: 100%;
  max-width: 1384px;
  margin: 0 auto;
  margin-bottom: 8rem;
  padding: 0 3.2rem;
  box-sizing: border-box;
}
  
.block {
  display: block;
  width: 100%;
}

.row {
  display: flex;
  gap: 2.8rem;
}

.row__block {
  width: 100%;
}

.row__block p:not(:last-child) {
  margin: 0 0 1.8rem;
}

.p {
  font-size: 16px;
  letter-spacing: 0%;
}

.p strong {
  font-weight: 600;
}

.section {
  padding: 8rem 0;
}

.section-selection {
  background: var(--bg-secondary);
}

.section-selection .title {
  color: var(--text-secondary);
}

.bg__mask {
    position: absolute;
}

.bg__mask.intro__mask {
    top: 100%;
    transform: translateY(-100%);
}

.bg__mask.invitation__mask {
  transform: rotate(180deg);
  top: 0;
}

.intro {
  background-size: auto auto;
  background-position: top center;
  color: var(--text-primary);
  position: relative;
}

.intro .container {
  margin-bottom: 0;
}

.intro .logo {
  margin-bottom: 8rem;
  padding-top: 1rem;
  display: block;
}

.intro .content {
  width: 77.7rem;
  padding-bottom: 16rem;
}

.intro h1 {
  font-size: 4.8rem;
  line-height: 120%;
  vertical-align: middle;
}

.intro .addition {
  margin-top: 2.4rem;
  margin-bottom: 5.6rem;
  font-size: 2.4rem;
  line-height: 100%;
  font-weight: 500;
}

.expectations {
  padding-top: 1.2rem;
}

.expectations__row {
  width: 100%;
  display: flex;
  gap: 4.8rem;
}
.expectations__col:nth-child(1) {
  width: calc(50% - 2.4rem);
}
.expectations__col:nth-child(2) {
  width: calc(50% - 2.4rem);
}

.expectations h2 {
  font-size: 3.2rem;
  font-weight: 400;
  margin-bottom: 2.4rem;
}
.expectations .expectations__col:nth-child(2) h2 {
  margin-bottom: .8rem;
}

.expectations p {
  color: var(--text-primary);
  font-size: 2.4rem;
  line-height: 1em;
}

.expectations .basic__features {
  margin-top: 3.2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  grid-template-rows: auto auto auto;
  gap: 1.6rem 1.6rem;
  align-items: stretch;
}

.expectations .basic__features--item {
  border-top: 1px solid #E69A28;
  border-bottom: 1px solid #E69A28;
  box-sizing: border-box;
  color: var(--text-primary);
  font-size: 1.6rem;
  font-family: var(--font-common);
  text-align: center;
  padding: 1.4rem 0;
  background-color: #0A0A0A;
}

.expectations .level__features {
  font-family: var(--font-common);
  color: var(--text-primary);
  display: flex;
  flex-direction: row;
  gap: 1.2rem;
  margin-top: 1rem;
}

.level__features--item {
  display: flex;
  position: relative;
}

.expectations .container .request__button {
  align-self: center;
  color: var(--text-primary);
  margin: 5.2rem auto 8rem;
}

.level__features--item__text {
  position: absolute;
  bottom: 2.4rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  height: auto;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  flex: 1;
  justify-content: center;
  gap: .4rem;
}


.level__features--item__text .header{
  font-family: var(--font-headers);
  position: relative;
  background-color: #E69A28;
  padding: .2rem 0.5rem;
  font-size: 1.2rem;
  width: fit-content;
  letter-spacing: 1px;
}

.level__features--item__text .text{
  font-size: 1.6rem;
  line-height: 1em;
  width: 100%;
}

.hooks h2 {
  text-align: center;
  font-size: 4.2rem;
}

.hooks .content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 2.4rem;
  width: 100%;
  padding-top: 3.2rem;
}

.hooks .hooks__item {
  min-height: 18rem;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  background-size: cover;
}

.hooks .hooks__item:nth-child(1) {
}

.hooks .hooks__item:nth-child(2) {
  grid-column: 1;
  grid-row: 2;
}

.hooks .hooks__item:nth-child(3) {
  grid-row: span 2;
}

.hooks .hooks__item:nth-child(4) {
  grid-column: span 2;
  grid-row: span 2;
}

.hooks__item--header {
  width: 100%;
  color: var(--text-secondary);
  font-size: 2rem;
  font-family: var(--font-headers);
  font-weight: 300;
  background-color: #E69A28;
  text-align: center;
  padding: 0.3rem;
}

.hooks__item--description {
  color: var(--text-primary);
  font-size: 1.6rem;
  text-align: center;
  width: 90%;
  font-weight: 500;
}
.descriptions .content {
  /* display: grid;
  grid-template-columns: repeat(5, 1fr); 
  width: 100%;
  padding-top: 3.2rem;
  gap: 2rem;
  align-items: stretch; */
  display: flex;
  gap: 4.8rem;
  padding-top: 3.2rem;
  justify-content: center;
}

.descriptions__item {
  display: flex;
  flex-direction: column;
  padding: 7rem 6.5rem;
  color: var(--text-primary);
  background-repeat: no-repeat;
  background-size: cover;
}

.descriptions__item:nth-child(1) {
  grid-column: span 3;
  background-image: url('../img/descriptions/bg-large.svg');
  height: 760px;
  width: 736px;
}

.descriptions__item:nth-child(2) {
  grid-column: span 2;
  background-image: url('../img/descriptions/bg-small.svg');
  height: 760px;
  width: 512px;
}

.descriptions__item h2 {
  font-size: 3.2rem;
  line-height: 1.1;
  margin-bottom: 2rem;
  text-align: center;
}

.descriptions__item--metrics, 
.descriptions__item--steps {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 0.8rem;
}

.descriptions__item--steps__item {
  display: flex;
  gap: 1.6rem;
  align-items: center;
  margin-bottom: 1.2rem;
}
.descriptions__item--steps__item .text {
  font-size: 2.4rem;
}

.descriptions__item--metrics img,
.descriptions__item--steps__item img {
  width: 5rem;
  height: 5rem;
  flex-shrink: 0;
}
.descriptions__item--metrics__content .header {
  color: #E69A28;
  font-family: var(--font-common);
  font-size: 3.2rem;
  margin-bottom: 0.5rem;
}
.descriptions__item--metrics__content .text {
  font-family: var(--font-common);
  font-size: 2.4rem;
  line-height: 100%;
}
.descriptions__item--best {
  margin-top: 2.4rem;
}

.descriptions__item--best__header {
  font-size: 3.2rem;
  font-family: var(--font-headers);
  color: #E69A28;
  line-height: 100%;
}

.descriptions__item--best ul, 
.descriptions__item--best ol {
  list-style: none;
  padding: 0;
}

.descriptions__item--best li {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 0.8rem;
  font-size: 2.4rem;
  line-height: 100%;
}

.descriptions__item--best ul li::before {
  content: "•";
  color: #ffcc00;
  font-weight: bold;
  flex-shrink: 0;
}

.descriptions__item--best ol {
  counter-reset: list-counter;
}

.descriptions__item--best ol li::before {
  counter-increment: list-counter;
  content: counter(list-counter) ".";
  color: #ffcc00;
  font-weight: bold;
  flex-shrink: 0;
  min-width: 1.5rem;
  font-family: var(--font-common);
}

.descriptions .container .request__button {
  align-self: center;
  color: var(--text-primary);
  margin-top: 1.5rem;
}

.quotes .container {
  display: flex;
  justify-content: center;
  gap: 33rem;
  position: relative;
  padding: 0 7rem;
}

.quotes__item {
  border: 1px solid white;
  background-size: cover;
  color: var(--text-primary);
  text-align: center;
  font-size: 2.4rem;
  line-height: 120%;
  vertical-align: middle;
  width: 41.7rem;
  height: 24.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headers);
  padding: 0 2.4rem;
}

.quotes__item:nth-child(1) {
  margin-bottom: 10rem;
  border-top-left-radius: 1.6rem;
  border-bottom-left-radius: 1.6rem;
}

.quotes__item:nth-child(2) {
  margin-top: 10rem;
  border-top-right-radius: 1.6rem;
  border-bottom-right-radius: 1.6rem;
}

.quotes .container img {
  position: absolute;
  height: 100%;
  left: 50%;
  transform: translateX(-50%);
  bottom: -20%;
}

.invitation {
  background-repeat: no-repeat;
  background-size: auto auto;
  background-position: bottom;
  color: var(--text-primary);
  position: relative;
  padding-top: 25rem;
}

.invitation .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0;
}

.invitation h2 {
  font-size: 4.8rem;
  line-height: 100%;
  vertical-align: middle;
  margin-bottom: 2.4rem;
}

.invitation .addition {
  margin-bottom: 4rem;
  font-size: 2.4rem;
}

.invitation .request__button {
  margin-bottom: 11rem;
}

.statistics {
  position: sticky;
  top: 73px;
  margin-right: 8rem;
  background-color: #FDF1DC;
  padding: 1.2rem 1.6rem;
  box-shadow: 0px 0px 4px 0px #00000080;
  border: solid #E69A28;
  border-width: 3px 0 3px 0;
  font-family: var(--font-common);
  font-size: 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1000;
  width: max-content;
  margin-left: auto;
}

.statistics__values {
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  grid-template-rows: repeat(2, 1fr);
  gap: 1rem 2rem;
  align-items: stretch;
  margin-bottom: 1rem;
}

.statistics__values--header, .statistics__leaders--header {
  font-family: var(--font-headers);
  font-weight: 300;
}

.statistics__values--value {
  text-align: right;
}

.statistics__leaders {
  width: 100%;
  text-align: left;
}
.statistics ol {
  padding-left: 1.8rem;
  margin-top: 0.5rem;
}

.request__button--simple {
  background-color: #82520C;
  padding: 0.8rem 3.3rem;
  text-align: center;
  margin-top: 1.6rem;
  color: var(--text-primary);
  transition: transform .3s ease-out;
}
.request__button--simple:hover {
  transform: scale(1.06);
  color: var(--text-primary);
}

.statistics__wrapper {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: auto;
}

img.lazy {
  opacity: 0;
  transition: opacity .3s ease-out;
}
img.lazy.loaded {
  opacity: 1;
}


@media screen and (max-width: 1380px) {
  .descriptions .content {
    gap: 2.4rem;
  }
  .descriptions__item {
    background-size: contain;
  }
  .descriptions__item:nth-child(1) {
    
  }
  .descriptions__item:nth-child(2) {
    
  }
}
@media screen and (max-width: 1280px) {
  .descriptions .content {
    flex-direction: column;
    align-items: center;
  }
  .descriptions__item:nth-child(2) {
    grid-column: span 3;
    background-image: url(../img/descriptions/bg-large.svg);
    height: 760px;
    width: 736px;
  }
  .expectations__row {
    flex-direction: column;
    align-items: center;
  }
  .expectations__col:nth-child(1),
  .expectations__col:nth-child(2) {
    width: 680px;
  }
  .hooks .content {
    width: 680px;
    margin: 0 auto;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 1fr);
  }
}
@media screen and (max-width: 991px) {
  .quotes .container {
    gap: 13rem;
  }
  .quotes__item:nth-child(2) {
    margin-top: 20rem;
  }
  .quotes .container img {
    width: 400px;
    height: auto;
  }
}
@media screen and (max-width: 768px) {
  .quotes .container {
    gap: 2.4rem;
    flex-direction: column;
    display: flex;
  }
  .quotes__item:nth-child(1) {
    order: 1;
    margin-bottom: 0;
    border-top-right-radius: 1.6rem;
  }
  .quotes__item:nth-child(2) {
    margin-top: 0;
    margin-left: auto;
    order: 3;
    border-bottom-left-radius: 1.6rem;
  }
  .quotes .container img {
    width: 400px;
    height: auto;
    position: relative;
    order: 2;
    bottom: unset;
  }
  .quotes__item {
    width: 60%;
    height: 200px;
  }
  .statistics__wrapper {
    position: fixed;
    bottom:0;
    left: 0;
    right: 0;
    top: unset;
    width: 100%;
    z-index: 200;
  }
  .statistics {
    width: 100%;
    justify-content: center;
  }
  .statistics__leaders {
    width: 190px;
    display: none;
  }
  .intro .content {
    width: 100%;
  }
  .intro h1 {
    font-size: 3.2rem;
  }
  .expectations__col:nth-child(1), .expectations__col:nth-child(2) {
    width: 100%;
  }
  .hooks .content {
    width: 100%;
  }
  .hooks .hooks__item:nth-child(4) {
    background-size: contain;
    background-position: 50% 0;
  }
  .level__features--item {
    width: calc(100% / 3 - 1.2rem);
  }
  .level__features--item img {
    width: 100%;
    height: auto;
  }
  .level__features--item__text .text {
    width: 90%;
  }
  .descriptions__item:nth-child(1),
  .descriptions__item:nth-child(2) {
    background-image: none;
    width: 100%;
    height: auto;
    padding: 0;
  }
  

}

@media screen and (max-width: 580px) {
  .hooks h2, 
  .descriptions__item h2,
  .invitation h2 {
    font-size: 3.2rem;
  }
  .invitation {
    padding: 0 0 10rem;
  }
  .expectations h2,
  .expectations .expectations__col:nth-child(2) h2 {
    font-size: 2.4rem;
    margin: 0 0 1.6rem;
  }
  .expectations p {
    font-size: 1.6rem;
  }
  .expectations .basic__features, .level__features {
    margin-top: 1.6rem;
  }
  .intro .logo {
    margin-bottom: 4.8rem;
  }
  .intro .addition {
    margin-top: 1.6rem;
    font-size: 2rem;
    margin-bottom: 3.2rem;
  }
  .intro {
    /* padding-bottom: 200px; */
    background-position: 70% 100%;
    background-size: cover;
    background-repeat: no-repeat;
  }
  .hooks .container {
    margin-bottom: 4.8rem;
  }
  .hooks .content {
    width: 100%;
    padding-top: 2.4rem;
    gap: 1.6rem;
  }
  .hooks .hooks__item:nth-child(4) {
    background-size: contain;
    background-position: 50% 0;
  }
  .hooks .hooks__item:nth-child(2) {
    grid-column: 1;
    grid-row: 1;
  } 
  .hooks .hooks__item:nth-child(3) {
    grid-column: span 2;
    grid-row: span 2;
  }
  .expectations .level__features {
    flex-direction: column;
  }
  .level__features--item {
    width: 100%;
  }
  .level__features--item__text .text {
    width: 90%;
  }
  .descriptions__item--best__header {
    font-size: 2.4rem;
  }
  .descriptions__item--metrics__content .text {
    font-size: 1.6rem;
  }
  .descriptions__item--best li {
    font-size: 2rem;
  }
  .quotes .container {
    padding: 0 3.2rem;
  }
  .quotes__item:nth-child(1),
  .quotes__item:nth-child(2) {
    width: 80%;
  }
  .quotes .container img {
    width: 300px;
    height: auto;
    position: relative;
    order: 2;
    bottom: unset;
  }
}
@media screen and (max-width: 440px) {
  .intro {
    background-position: 62% 100%;
    background-size: cover;
    background-repeat: no-repeat;
  }
}