@font-face {
  font-family: "Bodoni 72 Oldstyle";
  src: url("../fonts/subset-BodoniSvtyTwoOSITCTT-Book.woff2") format("woff2"), url("../fonts/subset-BodoniSvtyTwoOSITCTT-Book.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Bodoni 72 Oldstyle";
  src: url("../fonts/subset-BodoniSvtyTwoOSITCTT-BookIt.woff2") format("woff2"), url("../fonts/subset-BodoniSvtyTwoOSITCTT-BookIt.woff") format("woff");
  font-weight: normal;
  font-style: italic;
}
@font-face {
  font-family: "Bodoni 72 Oldstyle";
  src: url("../fonts/subset-BodoniSvtyTwoOSITCTT-Bold.woff2") format("woff2"), url("../fonts/subset-BodoniSvtyTwoOSITCTT-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: "Calibre";
  src: url("../fonts/hinted-subset-Calibre-Regular.woff2") format("woff2"), url("../fonts/hinted-subset-Calibre-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Calibre";
  src: url("../fonts/hinted-subset-Calibre-RegularItalic.woff2") format("woff2"), url("../fonts/hinted-subset-Calibre-RegularItalic.woff") format("woff");
  font-weight: normal;
  font-style: italic;
}
@font-face {
  font-family: "Calibre";
  src: url("../fonts/hinted-subset-Calibre-Medium.woff2") format("woff2"), url("../fonts/hinted-subset-Calibre-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: "Calibre";
  src: url("../fonts/hinted-subset-Calibre-MediumItalic.woff2") format("woff2"), url("../fonts/hinted-subset-Calibre-MediumItalic.woff") format("woff");
  font-weight: 500;
  font-style: italic;
}
@font-face {
  font-family: "Calibre";
  src: url("../fonts/hinted-subset-Calibre-Semibold.woff2") format("woff2"), url("../fonts/hinted-subset-Calibre-Semibold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: "Calibre";
  src: url("../fonts/hinted-subset-Calibre-SemiboldItalic.woff2") format("woff2"), url("../fonts/hinted-subset-Calibre-SemiboldItalic.woff") format("woff");
  font-weight: 600;
  font-style: italic;
}
@font-face {
  font-family: "Calibre";
  src: url("../fonts/hinted-subset-Calibre-Bold.woff2") format("woff2"), url("../fonts/hinted-subset-Calibre-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: "Calibre";
  src: url("../fonts/hinted-subset-Calibre-BoldItalic.woff2") format("woff2"), url("../fonts/hinted-subset-Calibre-BoldItalic.woff") format("woff");
  font-weight: bold;
  font-style: italic;
}
.clearfix:after {
  content: "";
  display: block;
  clear: both;
}

.ellipsis {
  white-space: nowrap;
  /* 1 */
  text-overflow: ellipsis;
  /* 2 */
  overflow: hidden;
}

#header {
  padding-bottom: 1.875rem;
}
@media (min-width: 768px) {
  #header {
    padding-bottom: 2.5rem;
  }
}
@media (min-width: 992px) {
  #header {
    padding-bottom: 3.5rem;
  }
}

.logo {
  width: 16.25rem;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .logo {
    width: 23.9375rem;
  }
}
.logo img {
  width: 100%;
}

.heading-block {
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.heading-block h3 {
  letter-spacing: -0.02em;
  margin-bottom: -0.375rem;
}

.font-family-serif-italic {
  font-family: "Bodoni 72 Oldstyle", "Times New Roman", "Times", "Baskerville", "Georgia", serif;
  font-style: italic;
}

.intro-section {
  margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
  .intro-section {
    margin-bottom: 5.1875rem;
  }
}

.instruction-section {
  margin-bottom: 0.625rem;
  counter-reset: card-number;
}
@media (min-width: 992px) {
  .instruction-section {
    margin-bottom: 2.875rem;
  }
}
.instruction-section .heading-block {
  margin-bottom: 3.125rem;
}
@media (min-width: 992px) {
  .instruction-section .heading-block {
    margin-bottom: 3.8125rem;
  }
}

.form-section {
  margin-bottom: 2.5rem;
}

form {
  letter-spacing: -0.02em;
  font-size: 1.125rem;
}
@media (min-width: 768px) {
  form {
    font-size: 1.375rem;
  }
}
form.referral-form {
  counter-reset: row-number;
  padding: 1.25rem;
}
@media (min-width: 992px) {
  form.referral-form {
    padding: 1.5rem 4rem 4.875rem;
  }
}
form h2,
form h5 {
  font-weight: 500;
  letter-spacing: -0.025em;
}
form h2 {
  margin-bottom: 1.25rem;
}
@media (min-width: 768px) {
  form h2 {
    margin-bottom: 2.25rem;
  }
}
form .form-row.decor-circle {
  padding-top: 1.25rem;
}
@media (min-width: 768px) {
  form .form-row.decor-circle {
    padding-top: 2.5rem;
  }
}
@media (min-width: 992px) {
  form .form-row.decor-circle {
    padding-top: 0;
  }
}
form label {
  font-size: 1.125rem;
}
@media (min-width: 768px) {
  form label {
    font-size: 1.3125rem;
    margin-bottom: 0.5rem;
  }
}
form .add-btn {
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}
@media (min-width: 768px) {
  form .add-btn {
    font-size: 1.5rem;
    margin-bottom: 1.75rem;
  }
}

.both-side-text-decor {
  position: relative;
}
.both-side-text-decor:before {
  content: url("../images/decor-left.png");
  position: absolute;
  top: -1rem;
  left: -3rem;
}
.both-side-text-decor:after {
  content: url("../images/decor-right.png");
  position: absolute;
  top: -0.8125rem;
  right: -3.375rem;
}

.right-side-text-decor-1 {
  position: relative;
}
.right-side-text-decor-1:after {
  content: url("../images/decor-top-right-1.png");
  position: absolute;
  top: -1.875rem;
  right: -1.375rem;
}
@media (min-width: 992px) {
  .right-side-text-decor-1:after {
    top: -3.5625rem;
  }
}

.right-side-text-decor-2 {
  position: relative;
}
.right-side-text-decor-2:after {
  content: url("../images/decor-top-right-2.png");
  position: absolute;
  top: -1.6875rem;
  right: -2.0625rem;
}

.cut-corner {
  -webkit-clip-path: polygon(0% 0%, 100% 0%, 100% calc(100% - 50px), calc(100% - 50px) 100%, 0 100%);
          clip-path: polygon(0% 0%, 100% 0%, 100% calc(100% - 50px), calc(100% - 50px) 100%, 0 100%);
}

.decor-shape {
  position: absolute;
  left: -0.625rem;
  bottom: -1.25rem;
  width: 9.375rem;
  min-height: 10rem;
  padding: 0.875rem 0.625rem;
  background-size: 100% 100%;
  color: #fff;
  font-size: 1.5rem;
}
@media (min-width: 576px) {
  .decor-shape {
    width: 11.25rem;
    min-height: 11.875rem;
  }
}
@media (min-width: 768px) {
  .decor-shape {
    min-height: 15rem;
    width: 12.5rem;
    font-size: 2.25rem;
  }
}
@media (min-width: 992px) {
  .decor-shape {
    min-height: 17rem;
    height: calc(100% - 74px);
    width: 15.4375rem;
    padding: 1.875rem 1.25rem 2.5rem;
    left: -2%;
    bottom: -5.125rem;
  }
}
@media (min-width: 1100px) {
  .decor-shape {
    left: -4.5rem;
    bottom: -4.0625rem;
  }
}
.decor-shape .font-family-serif-italic {
  margin-bottom: -0.875rem;
}
@media (min-width: 992px) {
  .decor-shape .font-family-serif-italic {
    margin-bottom: -1.875rem;
  }
}
.decor-shape .display-1 {
  font-weight: 700;
  margin-bottom: -1.25rem;
  letter-spacing: -0.02em;
}
@media (min-width: 992px) {
  .decor-shape .display-1 {
    margin-bottom: -2rem;
  }
}
@media (min-width: 992px) {
  .decor-shape span:last-child {
    margin-left: 0.9375rem;
  }
}

.decor-circle:after {
  position: absolute;
  z-index: 1;
  width: 1.875rem;
  height: 1.875rem;
  font-size: 1.375rem;
  line-height: 1.2;
  border-radius: 50%;
  background-color: #ef4937;
  color: #fff;
  font-weight: 700;
  box-shadow: -4px 4px 0 rgba(38, 28, 69, 0.16);
  text-align: center;
  transform: translate(-50%, -50%) rotate(-10deg);
}
@media (min-width: 768px) {
  .decor-circle:after {
    width: 3.625rem;
    height: 3.625rem;
  }
}
.decor-circle.promo-card:after {
  background-color: #261c45;
  transform: translate(-45%, -25%) rotate(-10);
}
@media (min-width: 768px) {
  .decor-circle.promo-card:after {
    content: "+";
    font-family: Arial, sans-serif;
    top: 47%;
    left: auto;
    right: -4.375rem;
    font-size: 3.625rem;
    line-height: 1;
    margin-bottom: -1.25rem;
  }
}
.decor-circle.instruction-card:after {
  counter-increment: card-number;
  content: counter(card-number);
  top: 0;
  left: 50%;
  font-weight: 600;
  background-color: #261c45;
}
@media (min-width: 768px) {
  .decor-circle.instruction-card:after {
    font-size: 3.5rem;
    line-height: 1;
  }
}
.decor-circle.form-row {
  position: relative;
}
.decor-circle.form-row:after {
  counter-increment: row-number;
  content: counter(row-number);
  top: 1.25rem;
  left: 50%;
}
@media (min-width: 768px) {
  .decor-circle.form-row:after {
    width: 2.875rem;
    height: 2.875rem;
    font-size: 2.25rem;
    line-height: 1.2;
    top: 1.875rem;
  }
}
@media (min-width: 992px) {
  .decor-circle.form-row:after {
    top: 58%;
    left: -1.875rem;
  }
}
@media (min-width: 1024px) {
  .decor-circle.form-row:after {
    left: -3.25rem;
  }
}

.intro-block {
  position: relative;
}
.intro-block .text-block {
  flex-grow: 1;
  letter-spacing: -0.07em;
  padding: 1.875rem 1.25rem 0;
}
@media (min-width: 768px) {
  .intro-block .text-block {
    padding: 1.875rem 3.75rem 0.625rem;
  }
}
@media (min-width: 992px) {
  .intro-block .text-block {
    padding: 1.75rem 0 2.5625rem 3.875rem;
  }
}
.intro-block .text-block h1 {
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (min-width: 992px) {
  .intro-block .text-block h1 {
    align-items: flex-start;
  }
}
.intro-block .text-block h1 .display-4 {
  display: block;
  letter-spacing: -0.03em;
}
@media (min-width: 992px) {
  .intro-block .text-block h1 .display-4 {
    margin-bottom: -0.9375rem;
  }
}
.intro-block .text-block h1 mark {
  display: block;
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: -0.625rem;
}
@media (min-width: 768px) {
  .intro-block .text-block h1 mark {
    font-size: 1.875rem;
  }
}
@media (min-width: 992px) {
  .intro-block .text-block h1 mark {
    margin-left: 9.375rem;
    font-size: 2.5rem;
    margin-bottom: -1.125rem;
  }
}
.intro-block .text-block h1 .display-1 {
  display: inline-block;
  transform: rotate(-7deg);
  z-index: 2;
  letter-spacing: -0.03em;
}
@media (min-width: 992px) {
  .intro-block .text-block h1 .display-1 {
    left: 8.8125rem;
  }
}
.intro-block .text-block .text-thanks {
  margin-top: 2rem;
  color: #261c45;
  letter-spacing: 0;
  font-weight: 600;
  line-height: 2;
}
.intro-block .image-block {
  flex: 0 0 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 50%;
}
@media (min-width: 768px) {
  .intro-block .image-block {
    padding-top: 40%;
  }
}
@media (min-width: 992px) {
  .intro-block .image-block {
    padding-top: 0;
    margin-left: auto;
    flex-basis: 39.6809%;
    min-height: 15rem;
  }
}

.custom-card {
  border: none;
}
.custom-card .card-header {
  transform: rotate(-1deg);
  max-width: 90%;
  padding: 0 1rem;
  text-align: center;
  margin-top: -1rem;
}
@media (min-width: 768px) {
  .custom-card .card-header {
    margin-top: -1.625rem;
  }
}
.custom-card .card-header > * {
  transform: rotate(1deg);
  margin-bottom: 0;
}

.promo-card {
  min-height: 17rem;
  align-items: center;
}
.promo-card .card-header {
  font-weight: 600;
  letter-spacing: -0.07em;
}
.promo-card .card-body {
  font-size: 1.125rem;
  letter-spacing: -0.015em;
}
.promo-card .card-body .caption {
  font-size: 1.5rem;
  letter-spacing: -0.01em;
}
@media (min-width: 992px) {
  .promo-card .card-body .caption {
    font-size: 2.25rem;
  }
}
.promo-card .card-body mark {
  font-size: 1.5rem;
  font-weight: 600;
}
@media (min-width: 992px) {
  .promo-card .card-body mark {
    font-size: 1.75rem;
  }
}
.promo-card.type-1 .card-body {
  padding: 2.5rem 0.3125rem 1.1875rem 1.75rem;
  width: 100%;
  text-align: center;
}
@media (min-width: 768px) {
  .promo-card.type-1 .card-body {
    padding: 1.5rem 1.25rem 1.5rem 1.75rem;
  }
}
.promo-card.type-1 .card-body .image img {
  margin-left: -1.75rem;
}
@media (min-width: 768px) {
  .promo-card.type-1 .card-body .text {
    padding-left: 0.625rem;
    padding-right: 1.3125rem;
  }
}
.promo-card.type-1 .card-body .price-row {
  width: 100%;
}
@media (min-width: 768px) {
  .promo-card.type-1 .card-body .price-row {
    margin-bottom: -0.9375rem;
  }
}
.promo-card.type-1 .card-body .price {
  text-shadow: 3px 3px 0 #7a357a;
  display: inline-block;
}
@media (min-width: 768px) {
  .promo-card.type-1 .card-body .price {
    margin-left: auto;
  }
}
.promo-card.type-1 .card-body .caption {
  line-height: 1.2;
  letter-spacing: -0.03em;
}
@media (min-width: 768px) {
  .promo-card.type-1 .card-body .caption {
    text-indent: -1.625rem;
    margin-left: -0.625rem;
  }
}
.promo-card.type-1 .card-body p {
  text-align: center;
}
@media (min-width: 768px) {
  .promo-card.type-1 .card-body p {
    text-align: left;
  }
}
.promo-card.type-1 .card-body .offer {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}
@media (min-width: 992px) {
  .promo-card.type-1 .card-body .offer {
    font-size: 1.625rem;
  }
}
.promo-card.type-2 .card-body {
  padding: 2.5rem 0.625rem 1.875rem 1.25rem;
}
@media (min-width: 768px) {
  .promo-card.type-2 .card-body {
    padding: 1.5625rem 0.625rem 2.5rem 0;
  }
}
@media (min-width: 992px) {
  .promo-card.type-2 .card-body {
    padding: 2rem 0.625rem 1.875rem 2rem;
  }
}
.promo-card.type-2 .card-body .text {
  padding-left: 1.25rem;
}
@media (min-width: 768px) {
  .promo-card.type-2 .card-body .text {
    padding-left: 2.125rem;
  }
}
.promo-card.type-2 .card-body .price {
  text-shadow: 3px 3px 0 #5cac78;
  display: inline-block;
  margin-top: -2.625rem;
}
@media (min-width: 768px) {
  .promo-card.type-2 .card-body .price {
    margin-bottom: -1.5rem;
  }
}
.promo-card.type-2 .card-body .caption {
  display: block;
}
@media (min-width: 768px) {
  .promo-card.type-2 .card-body .caption {
    margin-bottom: -0.5rem;
  }
}
.promo-card.type-2 .card-body p {
  margin-bottom: 0;
}
@media (min-width: 768px) {
  .promo-card.type-2 .card-body p {
    margin-bottom: -0.625rem;
  }
}

.promo-card-left {
  margin-right: 0.8rem;
}
@media (max-width: 768px) {
  .promo-card-left {
    margin-right: 0;
  }
}

.promo-card-right {
  margin-left: 0.8rem;
}
@media (max-width: 768px) {
  .promo-card-right {
    margin-left: 0;
  }
}

.instruction-card {
  border: none;
}
.instruction-card .card-body {
  padding: 2.5rem 1rem;
  font-size: 1.5rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.24;
  letter-spacing: -0.02em;
}
@media (min-width: 576px) {
  .instruction-card .card-body {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
@media (min-width: 992px) {
  .instruction-card .card-body {
    padding-top: 3.6875rem;
    padding-bottom: 3.5rem;
  }
}
.instruction-card .card-body p:last-child {
  margin-bottom: 0;
}
.instruction-card .card-body em {
  font-style: normal;
  font-size: 1.125rem;
}

body {
  min-width: 320px;
}