html, body {
  background-color: #260702;
  font-family: InterTight, sans-serif;
  color: #FFF;
}
.wrapper {
  width: 100vw;
  height: 100dvh;
  overflow-x: hidden;
  padding-top: 48px;
  position: relative;
}
a:focus-visible, button:focus-visible {
  outline: 2px solid #FFCC00;
  outline-offset: 3px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.header {
  max-width: 1032px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}
.header-logo {
  display: block;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-link {
  padding: 8px 12px;
  font-weight: 500;
  font-size: 18px;
  line-height: 132%;
  transition: color .2s ease-in;
}
.header-link:hover {
  color: #FFCC00;
}
.btn-yellow {
  background: transparent;
  border: 2px solid #FFCC00;
  padding: 8px 16px;
  border-radius: 48px;
  color: #FFCC00;
  font-weight: 500;
  font-size: 18px;
  line-height: 132%;
  transition: all .2s ease-in;
  width: fit-content;
  white-space: nowrap;
}
.btn-yellow:hover {
  color: #FFFFFF;
  border-color: #FFFFFF;
}
.btn-yellow:active {
  color: #EA6113;
  border-color: #EA6113;
}
.btn-yellow--filled {
  background: #FFCC00;
  color: #260702;
}
.btn-yellow--filled:hover {
  background: #FFFFFF;
  color: #260702;
}
.btn-yellow--filled:active {
  background: #EA6113;
  color: #FFFFFF;
}
.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  border: none;
  padding: 16px 24px;
  border-radius: 48px;
  color: #EA6113;
  font-weight: 600;
  font-size: 20px;
  line-height: 122%;
  transition: all .2s ease-in;
  height: 56px;
  min-width: 182px;
  white-space: nowrap;
}
.btn-white:hover {
  background: #FFCC00;
}
.btn-white:active {
  color: #260702;
  background: #FFCC00;
}
.container {
  max-width: 856px;
  margin: 0 auto;
}
h1 {
  font-size: 64px;
  font-weight: 500;
  line-height: 122%;
  max-width: 680px;
}
.yellow-txt {
  color: #FFCC00;
}
.head-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  width: 100%;
  text-align: center;
  margin: 98px auto;
  position: relative;
  z-index: 2;
}
.head-section p {
  max-width: 504px;
  width: 100%;
  line-height: 154%;
  font-weight: 500;
  font-size: 20px;
}
h3 {
  color: #EA6113;
  font-size: 32px;
  font-weight: 500;
  line-height: 122%;
  text-align: center;
  margin: 8px 0;
}
h4 {
  font-size: 24px;
  line-height: 132%;
  text-align: center;
  max-width: 504px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.main {
  margin: 98px 0;
  display: flex;
  flex-direction: column;
}
.main-block {
  display: flex;
  align-items: center;
  gap: 24px;
  width: fit-content;
}
.main-block + .main-block {
  margin-top: 82px;
}
.main-block:nth-child(2){
  flex-direction: row-reverse;
  gap: 64px;
}
h2 {
  font-size: 44px;
  line-height: 132%;
  font-weight: 500;
}

/* pricing */

.pricing {
  margin-bottom: 98px;
  display: flex;
  flex-direction: column;
  align-items: center;
  scroll-margin-top: 48px;
}
.pricing h2 {
  text-align: center;
}
.pricing-lead {
  max-width: 616px;
  margin-top: 16px;
  text-align: center;
  text-wrap: balance;
  font-weight: 500;
  font-size: 20px;
  line-height: 154%;
}
.pricing-table {
  width: 100%;
  margin-top: 48px;
  padding: 8px 32px;
  border: 1px solid #4B1204;
  border-radius: 24px;
  font-variant-numeric: tabular-nums;
}
.pricing-row {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid #4B1204;
}
.pricing-row--head {
  align-items: end;
  padding: 24px 0 28px;
  border-top: none;
}
.pricing-row--sub {
  margin-top: -12px;
  padding-top: 0;
  border-top: none;
}
.pricing-plan {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pricing-plan__name {
  color: #EA6113;
  font-weight: 500;
  font-size: 24px;
  line-height: 132%;
}
.pricing-plan__price {
  color: #FFCC00;
  font-weight: 500;
  font-size: 44px;
  line-height: 110%;
}
.pricing-plan__period, .pricing-row--sub .pricing-label, .pricing-row--sub .pricing-value, .pricing-note {
  color: rgba(255, 255, 255, 0.64);
}
.pricing-plan__period {
  font-weight: 500;
  font-size: 16px;
  line-height: 132%;
}
.pricing-label {
  font-weight: 500;
  font-size: 18px;
  line-height: 132%;
}
.pricing-value {
  font-weight: 500;
  font-size: 24px;
  line-height: 132%;
}
.pricing-row--sub .pricing-label, .pricing-row--sub .pricing-value {
  font-size: 16px;
}
.pricing-included {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.pricing-included p {
  font-weight: 500;
  font-size: 18px;
  line-height: 132%;
}
.pricing-included ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.pricing-included li {
  padding: 8px 14px;
  border-radius: 8px;
  background: #4B1204;
  color: #EA6113;
  font-weight: 500;
  font-size: 18px;
  line-height: 132%;
}
.pricing .btn-white {
  margin-top: 48px;
}
.pricing-note {
  max-width: 616px;
  margin-top: 12px;
  text-align: center;
  text-wrap: balance;
  font-weight: 500;
  font-size: 14px;
  line-height: 150%;
}
.btn-white + .pricing-note {
  margin-top: 32px;
}
.pricing-note a {
  text-decoration: underline;
  transition: color .2s ease-in;
}
.pricing-note a:hover {
  color: #FFCC00;
}

/* footer */

.footer {
  background: #4B1204;
  padding: 24px 24px 32px 24px;
  border-radius: 24px 24px 0 0;
  max-width: 856px;
  width: 100%;
  margin: 0 auto;
}
.footer-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}
.footer p {
  font-weight: 500;
  font-size: 18px;
  line-height: 132%;
  margin-top: 10px;
}
.footer .left p {
  margin-top: 10px;
}
.footer .footer-company {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 14px;
  line-height: 150%;
}
.footer .right a {
  display: inline-block;
  margin-top: 8px;
  color: #FFCC00;
  font-weight: 500;
  font-size: 18px;
  line-height: 132%;
}
.footer .right a + p {
  margin-top: 20px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-links a {
  font-weight: 500;
  font-size: 16px;
  line-height: 132%;
  transition: color .2s ease-in;
}
.footer-links a:hover {
  color: #FFCC00;
}
.bg-img {
  position: absolute;
  left: -120px;
  top: -270px;
  z-index: 1;
}

/* terms, privacy */

.legal {
  max-width: 720px;
  margin: 72px auto 98px;
}
.legal h1 {
  max-width: none;
  font-size: 44px;
}
.legal-date {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.64);
  font-weight: 500;
  font-size: 18px;
  line-height: 132%;
}
.legal h2 {
  margin: 48px 0 16px;
  font-size: 24px;
  line-height: 132%;
}
.legal p, .legal li {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  font-size: 17px;
  line-height: 160%;
}
.legal p + p, .legal p + ul, .legal ul + p {
  margin-top: 12px;
}
.legal ul {
  padding-left: 24px;
}
.legal li {
  list-style: disc;
}
.legal li::marker {
  color: #EA6113;
}
.legal li + li {
  margin-top: 8px;
}
.legal strong {
  color: #FFF;
  font-weight: 700;
}
.legal a {
  color: #FFCC00;
  text-decoration: underline;
}

@media (max-width:1050px) {
  .wrapper {
    padding: 24px 24px 0 24px;
  }
  .main-block, .main-block:nth-child(2) {
    flex-direction: column;
    width: 100%;
    gap: 32px;
  }
  .main-block:nth-child(2) h2 {
    text-align: center;
  }
}
@media (max-width:770px) {
  h1 {
    font-size: 44px;
  }
  .bg-img {
    left: -610px;
  }
  .header-link {
    display: none;
  }
  .header-nav {
    gap: 8px;
  }
  .header-nav .btn-yellow {
    padding: 8px 12px;
  }
  .head-section {
    margin-top: 48px;
  }
  .head-section .btn-white {
    margin-top: 24px;
  }
  .head-section p, .btn-white, .pricing-lead {
    font-size: 18px;
  }
  .btn-yellow {
    font-size: 16px;
    line-height: 122%;
  }
  .btn-white {
    height: 60px;
    min-width: 186px;
  }
  .main-block:not(:nth-child(2)) h2, .pricing h2 {
    font-size: 32px;
    line-height: 122%;
    text-align: center;
  }
  h3 {
    font-size: 26px;
  }
  h4 {
    font-size: 20px;
  }
  .footer-top {
    flex-direction: column;
    align-items: center;
  }
  .footer .left, .footer .right {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-links {
    justify-content: center;
  }
  .main-block__img {
    width: 100%;
    max-width: 364px;
  }
  .main-block__img img {
    width: 100%;
    object-fit: contain;
  }
  .main {
    margin-bottom: 48px;
  }
  .pricing {
    margin-bottom: 48px;
  }
  .pricing-table {
    margin-top: 32px;
    padding: 4px 16px;
  }
  .pricing-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 4px 8px;
    padding: 16px 0;
  }
  .pricing-row--sub {
    margin-top: -4px;
    padding-top: 0;
  }
  .pricing-label {
    grid-column: 1 / -1;
    color: rgba(255, 255, 255, 0.64);
    font-size: 16px;
  }
  .pricing-row--head .pricing-label {
    display: none;
  }
  .pricing-plan__name {
    font-size: 18px;
  }
  .pricing-plan__price {
    font-size: 24px;
  }
  .pricing-plan__period {
    font-size: 14px;
  }
  .pricing-value {
    font-size: 20px;
  }
  .pricing-included li {
    font-size: 16px;
  }
  .legal {
    margin: 48px auto;
  }
  .legal h1 {
    font-size: 32px;
  }
  .legal h2 {
    margin-top: 40px;
    font-size: 22px;
  }
}
