@font-face {
  font-family: "Ubuntu";
  src: url("assets/fonts/Ubuntu.woff") format("woff");
  font-weight: 400;
}

@font-face {
  font-family: "Ubuntu";
  src: url("assets/fonts/Ubuntu-Bold.woff") format("woff");
  font-weight: 700;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: #393939;
  font-family: "Ubuntu", Arial, sans-serif;
  font-size: 16px;
  background: #fff;
}

a,
button {
  font-family: inherit;
}

a {
  color: #27a9e3;
}

button {
  cursor: pointer;
}

.container {
  width: min(96%, 960px);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  height: 48px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 48px;
  gap: 30px;
}

.home-link {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background: url("assets/svg/home.svg") center / contain no-repeat;
}

.main-nav {
  display: flex;
  gap: 32px;
  flex: 1;
}

.main-nav a,
.lang-nav a {
  color: #111;
  font-size: 18px;
  text-decoration: none;
  white-space: nowrap;
}

.lang-nav {
  display: flex;
  gap: 12px;
}

.hero {
  position: relative;
  min-height: 608px;
  margin-top: 48px;
  padding-bottom: 58px;
  background: linear-gradient(to right, #d9ebde 50%, #c9e9f8 50%);
  overflow: visible;
}

.hero-stage {
  position: relative;
  width: min(96%, 1240px);
  min-height: 470px;
  background-image: url("assets/images/ss.png"), url("assets/images/dd.png");
  background-repeat: no-repeat;
  background-position: top 78px left 160px, top 38px right 195px;
  background-size: 565px auto, 565px 430px;
  animation: character-clash 2s linear both;
}

@keyframes character-clash {
  0% {
    background-position: top 78px left 120px, top 38px right 155px;
  }

  90% {
    background-position: top 78px left 148px, top 38px right 180px;
  }

  100% {
    background-position: top 78px left 160px, top 38px right 195px;
  }
}

.shop {
  position: absolute;
  top: 150px;
  z-index: 2;
  width: 238px;
  height: 238px;
  border-radius: 50%;
  color: #fff;
  text-align: center;
}

.shop strong {
  position: absolute;
  top: 47px;
  left: 0;
  right: 0;
  font-size: 108px;
  line-height: 0.78;
}

.shop span {
  display: block;
  margin-top: 22px;
  font-size: 32px;
  font-weight: 400;
}

.ss-badge {
  left: 112px;
  background: #258b64;
  box-shadow: 5px -2px 0 #1c6348;
}

.dd-badge {
  right: 104px;
  background: #27a9e2;
  box-shadow: 5px -2px 0 #1d78a0;
}

.hero-title {
  width: min(96%, 960px);
  margin: 0 auto;
  color: #27a9e2;
  text-align: center;
  font-weight: 700;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.hero-title span {
  display: block;
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 400;
}

.hero-title strong {
  display: block;
  font-size: clamp(34px, 4.2vw, 55px);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: -35px;
  width: 70px;
  height: 70px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #fff url("assets/svg/chevron.svg") center / 22px 14px no-repeat;
}

#compare_block > .title-block {
  padding-top: 104px;
}

.home-block > .title-block {
  width: min(96%, 960px);
  margin: 0 auto;
  padding: 74px 0 42px;
  text-align: center;
}

.title-block h2 {
  margin: 0;
  color: #393939;
  font-size: clamp(30px, 3.4vw, 40px);
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.title-block p {
  margin: 12px 0 0;
  font-size: 20px;
}

.compare-wrap {
  max-width: 880px;
  text-align: center;
}

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

.compare-item {
  display: none;
  min-height: 52px;
  padding: 16px 70px;
  border-bottom: 2px solid #cecece;
  font-size: 18px;
  line-height: 1.25;
  background-repeat: no-repeat;
  background-size: 23px;
}

.compare-item.is-shown {
  display: block;
}

.compare-item.dd-has {
  background-image: url("assets/svg/no.svg"), url("assets/svg/yes.svg");
  background-position: center left 20px, center right 20px;
}

.compare-item.ss-has {
  background-image: url("assets/svg/yes.svg"), url("assets/svg/no.svg");
  background-position: center left 20px, center right 20px;
}

.compare-item.ss-has.dd-has {
  background-image: url("assets/svg/yes.svg"), url("assets/svg/yes.svg");
}

.text-button {
  border: 0;
  color: #27a9e3;
  background: transparent;
  text-decoration: underline;
}

.more {
  margin-top: 16px;
  font-size: 18px;
}

.choose-block .title-block {
  padding-top: 88px;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 44px;
  max-width: 912px;
}

.choice:nth-child(2) {
  text-align: right;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 330px);
  min-height: 51px;
  padding: 5px 20px;
  border-radius: 30px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  white-space: normal;
}

.button-ss {
  background: #258b64;
  box-shadow: 0 2px 0 #1c6348;
}

.button-ss:hover {
  background: #a49b89;
  box-shadow: 0 2px 0 #706551;
}

.button-dd {
  background: linear-gradient(180deg, #27a9e3, #52c7fb);
  box-shadow: 0 2px 0 #1d78a0;
}

.button-dd:hover {
  box-shadow: 0 2px 0 #1d78a0, 0 0 64px #27a9e2;
}

.choice p {
  width: min(100%, 330px);
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.25;
  text-align: center;
}

.choice:nth-child(2) p {
  margin-left: auto;
}

.comments-block .title-block {
  padding-top: 88px;
  padding-bottom: 32px;
}

.disqus-box {
  max-width: 760px;
  margin: 0 auto;
}

.authorize-block {
  padding-bottom: 36px;
  text-align: center;
}

.authorize-block h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.authorize-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social {
  min-width: 110px;
  min-height: 32px;
  padding: 8px 10px 8px 34px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  font-size: 13px;
  background-repeat: no-repeat;
  background-position: center left 12px;
  background-size: 18px;
}

.social.fb {
  background-color: #3c5999;
  background-image: url("assets/svg/fb.svg");
  background-size: 10px;
}

.social.tw {
  background-color: #409aff;
  background-image: url("assets/svg/tw.svg");
}

.social.gp {
  background-color: #c53d2c;
  background-image: url("assets/svg/gp.svg");
}

.social.dr {
  background-color: #f60;
  background-image: url("assets/svg/dr.svg");
}

.comment-form {
  max-width: 560px;
  margin: 0 auto 30px;
  text-align: center;
}

.user-image {
  width: 50px;
  height: 50px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: #eee;
}

#user_name {
  display: block;
  padding-bottom: 15px;
  font-size: 20px;
}

.comment-form label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.comment-form textarea {
  display: block;
  width: 100%;
  min-height: 120px;
  margin: 0 auto;
  padding: 12px;
  border: 2px solid #ccc;
  resize: vertical;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 15px;
}

#add_comment {
  width: min(100%, 330px);
  min-height: 48px;
  border: 0;
  border-radius: 30px;
  color: #000;
  background: #eee;
  box-shadow: 0 2px 0 #ccc;
}

.comments {
  border-top: 2px solid #ccc;
  border-bottom: 2px solid #ccc;
}

.comment-item {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 16px;
  max-width: 700px;
  margin: 0 auto;
  padding: 18px 0;
}

.comment-item + .comment-item {
  border-top: 1px solid #ddd;
}

.comment-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
}

.comment-item h3 {
  margin: 0;
  font-size: 20px;
}

.comment-date {
  display: block;
  margin-top: 2px;
  color: #777;
  font-size: 12px;
}

.comment-text {
  margin: 8px 0 0;
  font-size: 18px;
  line-height: 1.35;
  white-space: pre-wrap;
}

.empty-comments {
  max-width: 700px;
  margin: 0 auto;
  padding: 18px 0;
  text-align: center;
}

.footer {
  padding: 60px 0 70px;
  text-align: center;
}

.footer span,
.footer button {
  color: #393939;
  font-size: 18px;
  text-decoration: none;
}

.modal-trigger {
  border: 0;
  background: transparent;
}

.go-up {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 10;
  display: none;
  width: 22px;
  height: 18px;
  border: 0;
  background: url("assets/svg/chevron.svg") center / contain no-repeat;
  transform: rotate(180deg);
}

.go-up.is-visible {
  display: block;
}

.modal {
  width: min(90vw, 720px);
  border: 0;
  padding: 42px 32px;
  color: #000;
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.4);
}

.modal h2 {
  margin: 0 0 24px;
  text-align: center;
}

.modal-content p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.45;
}

.modal-content p:last-child {
  margin-bottom: 0;
}

.modal-close {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
}

.modal-close::before,
.modal-close::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 5px;
  width: 2px;
  height: 18px;
  background: #333;
}

.modal-close::before {
  transform: rotate(45deg);
}

.modal-close::after {
  transform: rotate(-45deg);
}

@media (max-width: 820px) {
  .header-inner {
    gap: 16px;
  }

  .main-nav {
    gap: 16px;
  }

  .main-nav a,
  .lang-nav a {
    font-size: 15px;
  }

  .hero {
    min-height: 560px;
  }

  .hero-stage {
    width: min(96%, 820px);
    min-height: 410px;
    background-size: 390px auto, 415px 318px;
    background-position: top 86px left 87px, top 48px right 97px;
    animation-name: character-clash-tablet;
  }

  @keyframes character-clash-tablet {
    0% {
      background-position: top 86px left 55px, top 48px right 67px;
    }

    90% {
      background-position: top 86px left 79px, top 48px right 89px;
    }

    100% {
      background-position: top 86px left 87px, top 48px right 97px;
    }
  }

  .shop {
    width: 162px;
    height: 162px;
    top: 178px;
  }

  .shop strong {
    top: 35px;
    font-size: 70px;
  }

  .shop span {
    margin-top: 14px;
    font-size: 22px;
  }

  .ss-badge {
    left: 28px;
  }

  .dd-badge {
    right: 22px;
  }

  .choice-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .choice,
  .choice:nth-child(2) {
    text-align: center;
  }

  .choice p,
  .choice:nth-child(2) p {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 560px) {
  .site-header {
    height: auto;
  }

  .header-inner {
    min-height: 48px;
    flex-wrap: wrap;
    padding: 8px 0;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .lang-nav {
    margin-left: auto;
  }

  .hero {
    margin-top: 78px;
    min-height: auto;
    padding-bottom: 78px;
  }

  .hero-stage {
    width: 100%;
    min-height: 330px;
    overflow: hidden;
    background-size: 220px auto, 235px 179px;
    background-position: top 54px left 58px, top 48px right 54px;
    animation-name: character-clash-mobile;
  }

  @keyframes character-clash-mobile {
    0% {
      background-position: top 54px left 34px, top 48px right 30px;
    }

    90% {
      background-position: top 54px left 52px, top 48px right 48px;
    }

    100% {
      background-position: top 54px left 58px, top 48px right 54px;
    }
  }

  .shop {
    width: 112px;
    height: 112px;
    top: 206px;
  }

  .shop strong {
    top: 24px;
    font-size: 50px;
  }

  .shop span {
    margin-top: 11px;
    font-size: 16px;
  }

  .ss-badge {
    left: 16px;
  }

  .dd-badge {
    right: 16px;
  }

  .hero-title {
    padding: 0 8px;
  }

  .hero-title span {
    font-size: 21px;
    line-height: 1.15;
  }

  .hero-title strong {
    font-size: 34px;
    line-height: 1;
  }

  .home-block > .title-block {
    padding-top: 58px;
  }

  .title-block p {
    font-size: 17px;
  }

  .compare-item {
    padding: 14px 44px;
    font-size: 15px;
    background-position: center left 8px, center right 8px;
  }

  .authorize-list {
    align-items: stretch;
  }

  .social {
    min-width: 138px;
  }
}

@media (max-width: 420px) {
  .hero-stage {
    min-height: 306px;
    background-size: 190px auto, 205px 156px;
    background-position: top 58px left 44px, top 54px right 42px;
  }

  @keyframes character-clash-mobile {
    0% {
      background-position: top 58px left 24px, top 54px right 22px;
    }

    90% {
      background-position: top 58px left 39px, top 54px right 37px;
    }

    100% {
      background-position: top 58px left 44px, top 54px right 42px;
    }
  }

  .shop {
    width: 98px;
    height: 98px;
    top: 198px;
  }

  .shop strong {
    top: 22px;
    font-size: 43px;
  }

  .shop span {
    margin-top: 9px;
    font-size: 14px;
  }

  .ss-badge {
    left: 12px;
  }

  .dd-badge {
    right: 12px;
  }

  .hero-title span {
    font-size: 19px;
  }

  .hero-title strong {
    font-size: 30px;
  }

  .button {
    width: 100%;
    max-width: 330px;
    min-height: 46px;
    padding: 8px 14px;
    font-size: 14px;
    letter-spacing: 0;
  }

  .title-block h2 {
    font-size: 28px;
  }
}

@media (max-width: 360px) {
  .main-nav {
    gap: 12px;
  }

  .main-nav a,
  .lang-nav a {
    font-size: 14px;
  }

  .hero-stage {
    min-height: 286px;
    background-size: 170px auto, 185px 141px;
    background-position: top 58px left 34px, top 54px right 32px;
  }

  @keyframes character-clash-mobile {
    0% {
      background-position: top 58px left 18px, top 54px right 16px;
    }

    90% {
      background-position: top 58px left 30px, top 54px right 28px;
    }

    100% {
      background-position: top 58px left 34px, top 54px right 32px;
    }
  }

  .shop {
    width: 88px;
    height: 88px;
    top: 190px;
  }

  .shop strong {
    top: 20px;
    font-size: 38px;
  }

  .shop span {
    font-size: 13px;
  }
}
