@charset "UTF-8";

/* Fonts */
@font-face {
  font-family: "NT Somic";
  font-style: normal;
  font-weight: 400;

  font-display: swap;
  src: url("../fonts/nt-somic/regular/nt-somic-regular.woff2") format('woff2'),
    url("../fonts/nt-somic/regular/nt-somic-regular.woff") format('woff');
}
@font-face {
  font-family: "NT Somic";
  font-style: normal;
  font-weight: 600;

  font-display: swap;
  src: url("../fonts/nt-somic/semi-bold/nt-somic-semi-bold.woff2") format('woff2'),
    url("../fonts/nt-somic/semi-bold/nt-somic-semi-bold.woff") format('woff');
}


/* Variables */
:root {
  --color-default-black: #000000;
  --color-default-white: #ffffff;

  --color-grey-100: #e5e5e5;
  --color-grey-200: #c2cdd8;
  --color-grey-300: #617585;
  --color-grey-400: #3a5366;
  --color-grey-500: #00223b;

  --color-blue-0: #ebf0f5;
  --color-blue-100: #cde6ff;
  --color-blue-200: #3788d8;
  --color-blue-300: #0d6ac5;

  --color-green-0: #cdf5e0;
  --color-green-100: #11c666;
  --color-green-200: #0d5830;

  --easy: all 0.2s ease-in-out;
  --easy-slow: all 0.4s ease-in-out;

  --z-index--1: -1;
  --z-index-0: 0;
  --z-index-1: 1;
  --z-index-5: 5;
  --z-index-10: 10;
}


/* Reboot */
*,
*::before,
*::after {
  box-sizing: border-box;
  outline: none!important;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html {
  font-family: "NT Somic", "Arial", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: calc(100vw / 1728 * 10);
  line-height: normal;
  color: var(--color-grey-500);
}

body {
  width: 100%;
  height: 100%;
  background-color: var(--color-default-white);
}

h1, h2, h3, h4, h5, h6, p {
  margin: 0;
}

h1, .h1 {
  font-weight: 600;
  font-size: 8.4rem;
  line-height: 100%;
  letter-spacing: -0.336rem;
}

h2, .h2 {
  font-weight: 600;
  font-size: 6.8rem;
  line-height: 100%;
  letter-spacing: -0.408rem;
}

h3, .h3 {
  font-weight: 600;
  font-size: 3.8rem;
  line-height: 100%;
  letter-spacing: -0.228rem;
}

h4, .h4 {
  font-weight: 600;
  font-size: 2.8rem;
  line-height: 120%;
  letter-spacing: -0.084rem;
}

h5, .h5 {
  font-weight: 600;
  font-size: 2.4rem;
  line-height: normal;
  letter-spacing: -0.048rem;
}

h6, .h6 {
  font-weight: 600;
  font-size: 2.2rem;
  line-height: 150%;
  letter-spacing: -0.044rem;
}

a {
  display: inline-block;
  color: var(--color-grey-500);
  text-decoration: none;

  transition: var(--easy);
  -moz-transition: var(--easy);
  -o-transition: var(--easy);
  -webkit-transition: var(--easy);
}

ul,
ol {
  margin: 0;
  padding: 0;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

address {
  font-style: normal;
}

input:not([type="checkbox"]),
textarea {
  padding: 2.4rem;
  width: 100%;
  border-radius: 1.4rem;
  border: none;
  background-color: var(--color-blue-0);
  box-shadow: 0 0 5px 0 rgba(13, 106, 197, 0.1) inset;
  font-family: "NT Somic", "Arial", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 1.8rem;
  line-height: 140%;
  letter-spacing: -0.036rem;
  color: var(--color-grey-500);

  transition: var(--easy);
  -moz-transition: var(--easy);
  -o-transition: var(--easy);
  -webkit-transition: var(--easy);
}

input::-moz-placeholder {
  color: rgba(0, 34, 59, 0.5);;
}

input::-webkit-input-placeholder {
  color: rgba(0, 34, 59, 0.5);;
}

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

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  display: none;
}

input.error {
  box-shadow:
    0 0 5px 0 rgba(13, 106, 197, 0.1) inset,
    0 0 0 2px firebrick !important;
}

fieldset:has(input.error) > span,
.calculator__field:has(input.error) > span {
  color: firebrick;
}

textarea {
  resize: none;
}

.input-dropdown {
  position: relative;
}
.input-dropdown.is-active input {
  border-radius: 1.4rem 1.4rem 0 0;
}
.input-dropdown ul {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: var(--z-index-1);
  display: none;
  padding: 2.4rem;
  width: 100%;
  height: 21.4rem;
  overflow-y: scroll;
  border-radius: 0 0 1.4rem 1.4rem;
  background-color: var(--color-default-white);
  box-shadow: 0 1rem 1.4rem 0 rgba(0, 0, 0, 0.1);
  list-style-type: none;
  color: var(--color-grey-500);
}
.input-dropdown ul.is-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4rem;
  height: 4rem;
  background-image: url('../img/svg/loader.svg');
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: 50%;
  animation: spinner 0.8s linear infinite;
}
.input-dropdown li {
  cursor: pointer;

  transition: var(--easy);
  -moz-transition: var(--easy);
  -o-transition: var(--easy);
  -webkit-transition: var(--easy);
}
.input-dropdown li:not(:last-child) {
  margin: 0 0 2rem;
}

.input-number {
  position: relative;
}
.input-number input {
  padding: 2.4rem 6.4rem;
  text-align: center;
}
.input-number-toggle {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 0;
  width: 4rem;
  height: 4rem;
  border: none;
  background-color: transparent;
  cursor: pointer;
}
.input-number-toggle-minus {
  left: 1.4rem;
}
.input-number-toggle-plus {
  right: 1.4rem;
}
.input-number-toggle-minus::before,
.input-number-toggle-plus::before,
.input-number-toggle-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 1.5rem;
  height: 0.3rem;
  background-color: var(--color-grey-300);
}
.input-number-toggle-plus::after {
  transform: translateX(-50%) translateY(-50%) rotate(90deg);
}


/* Utils */
.wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

.wrapper .header,
.wrapper .footer {
  flex-shrink: 0;
}

.wrapper main {
  flex-grow: 1;
}

.visually-hidden {
  position: absolute;
  width: 0.1rem;
  height: 0.1rem;
  margin: -0.1rem;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(100%);
  white-space: nowrap;
  overflow: hidden;
}

.screen-lock {
  position: relative;
  overflow: hidden;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.easy {
  transition: var(--easy);
  -moz-transition: var(--easy);
  -o-transition: var(--easy);
  -webkit-transition: var(--easy);
}

.easy-slow {
  transition: var(--easy-slow);
  -moz-transition: var(--easy-slow);
  -o-transition: var(--easy-slow);
  -webkit-transition: var(--easy-slow);
}

.flex {
  display: flex;
  align-items: center;
}

.flex-c {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex-sb {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mb-20 {
  margin-bottom: 20rem;
}

.mb-8 {
  margin-bottom: 8rem;
}

.mb-4 {
  margin-bottom: 4rem;
}

.only-desc {
  display: block;
}

.only-mob {
  display: none;
}

.form-none {
  display: none;
}

.sup-wrapper {
  display: flex;
}

.sup {
  margin: 0.3rem 0 0;
  font-size: 0.9rem;
  line-height: normal;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(58, 83, 102, 0.5);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);

  z-index: var(--z-index--1);
  opacity: 0;
}

.color-grey-400,
.color-grey-400 * {
  color: var(--color-grey-400);
}


/* Button */
.button {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 1.4rem;
  font-family: "NT Somic", "Arial", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 1.8rem;
  line-height: 140%;
  letter-spacing: -0.036rem;
  cursor: pointer;

  transition: var(--easy);
  -moz-transition: var(--easy);
  -o-transition: var(--easy);
  -webkit-transition: var(--easy);
}
.button-l {
  padding: 2rem 3.4rem 2.2rem;
}
.button-m {
  padding: 1.6rem 3.4rem 1.9rem;
}
.button-0 {
  padding: 0;
}
.button-primary {
  border: none;
  background-color: var(--color-blue-300);
  color: var(--color-default-white);
}
.button-secondary {
  border: 1.5px solid var(--color-blue-100);
  background-color: var(--color-default-white);
  color: var(--color-blue-300);
}
.button-tertiary {
  border: 1.5px solid var(--color-grey-100);
  background-color: var(--color-default-white);
  color: var(--color-grey-300);
}
.button-quaternary {
  border: none;
  background-color: var(--color-default-white);
  color: var(--color-grey-500);
}
.button-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: var(--z-index-1);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  border: none;
  background-color: var(--color-blue-0);
  color: var(--color-grey-500);
  cursor: pointer;

  transition: var(--easy);
  -moz-transition: var(--easy);
  -o-transition: var(--easy);
  -webkit-transition: var(--easy);
}
.button-arrow-prev {
  left: -3rem;
}
.button-arrow-next {
  right: -3rem;
}
.button-arrow svg {
  width: 2rem;
  height: 2rem;
  opacity: 0.5;
}
.button-arrow-prev svg {
  transform: rotate(90deg);
}
.button-arrow-next svg {
  transform: rotate(-90deg);
}


/* Container */
.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 4rem;
}


/* Table */
table {
  width: 100%;
  border-spacing: 0;
}
table th,
table td {
  padding: 2rem;
  text-align: left;
}
.table-2col table th:last-child,
.table-2col table td:last-child {
  text-align: right;
}
table th:first-child,
table td:first-child  {
  border-radius: 1.4rem 0 0 1.4rem;
}
table th:last-child,
table td:last-child  {
  border-radius: 0 1.4rem 1.4rem 0;
}
table thead {
  font-weight: 600;
  font-size: 2.2rem;
  line-height: 150%;
  letter-spacing: -0.044rem;
  color: var(--color-default-white);
}
table th {
  background-color: var(--color-blue-200);
}
table tbody {
  font-weight: 400;
  font-size: 2rem;
  line-height: 140%;
  letter-spacing: -0.02rem;
}
table tr:nth-child(even){
  background-color: var(--color-blue-0);
}
table td:first-child {
  font-weight: 600;
  color: var(--color-blue-300);
}
table td a {
  font-weight: 600;
  color: var(--color-blue-300);
  text-decoration: underline;
}


/* Text */
.text_400_20 {
  font-weight: 400;
  font-size: 2rem;
  line-height: 140%;
  letter-spacing: -0.02rem;
}
.text_600_20 {
  font-weight: 600;
  font-size: 2rem;
  line-height: 140%;
  letter-spacing: -0.02rem;
}
.text_400_18 {
  font-weight: 400;
  font-size: 1.8rem;
  line-height: 140%;
  letter-spacing: -0.036rem;
}
.text_600_18 {
  font-weight: 600;
  font-size: 1.8rem;
  line-height: 140%;
}
.text_400_16 {
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 150%;
}
.text_600_14 {
  font-weight: 600;
  font-size: 1.6rem;
  line-height: 150%;
}


/* Attention */
.attention {
  position: relative;
  padding: 0.4rem 1.4rem 0.8rem 3.6rem;
  border-radius: 10rem;

  transition: var(--easy);
  -moz-transition: var(--easy);
  -o-transition: var(--easy);
  -webkit-transition: var(--easy);
}
.attention::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 1.4rem;
  transform: translateY(-50%);
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background-color: var(--color-green-100);
  animation: pulse 1.2s ease-in-out infinite;
}
.attention-primary {
  background-color: var(--color-green-0);
  color: var(--color-green-200);
}
.attention-secondary {
  border: 1.5px solid var(--color-grey-200);
  color: var(--color-grey-400);
}
.attention-tertiary {
  background-color: var(--color-grey-500);
  color: var(--color-default-white);
}
.attention-tertiary::before {
  background-color: var(--color-default-white);
}


/* Sticker */
.sticker {
  position: absolute;
  top: 1rem;
  left: 8rem;
  display: block;
  padding: 0.4rem 1.4rem 0.8rem;
  border-radius: 10rem;
}
.sticker-primary {
  background-color: var(--color-blue-100);
  color: var(--color-grey-500);
}
.sticker-secondary {
  background-color: var(--color-blue-200);
  color: var(--color-default-white);
}


/* Animation */
@keyframes pulse {
  0%, 10%, 100% {
    opacity: 1;
  }
  50%, 60% {
    opacity: 0;
  }
}
@keyframes spinner {
  0% {
    transform: translateX(-50%) translateY(-50%) rotate(0deg);
  }
  100% {
    transform: translateX(-50%) translateY(-50%) rotate(360deg);
  }
}


/* Hover */
@media (min-width: 1024px) {
  @media (hover: hover) {
    body:has(.header__navigation-item:hover .header__navigation-item-menu) .overlay {
      z-index: var(--z-index-1);
      opacity: 1;
    }
    input:not([type="checkbox"]):hover,
    .input-number:has(.input-number-toggle:hover) input,
    textarea:hover,
    .button-arrow:hover {
      background-color: var(--color-blue-100);
    }
    .button-primary:hover,
    .input-number-toggle:hover::before,
    .input-number-toggle:hover::after {
      background-color: var(--color-blue-200);
    }
    .button-secondary:hover {
      background-color: var(--color-blue-100);
    }
    .button-tertiary:hover {
      background-color: var(--color-grey-100);
    }
    .button-quaternary:hover {
      transform: scale(1.1);
    }
    .attention-secondary:hover {
      border: 1.5px solid var(--color-blue-200);
    }
    .input-dropdown li:hover {
      color: var(--color-blue-300);
    }
  }
}


/* Focus */
input:not([type="checkbox"]):focus,
textarea:focus  {
  background-color: var(--color-blue-100);
  box-shadow:
    0 0 5px 0 rgba(13, 106, 197, 0.1) inset,
    0 0 0 2px rgba(55, 136, 216, 0.5) !important;
}
.button-primary:focus {
  background-color: var(--color-blue-200);
}
.button-secondary:focus {
  background-color: var(--color-blue-100);
}
.button-tertiary:focus {
  background-color: var(--color-grey-100);
}
.button-quaternary:focus {
  transform: scale(1.1);
}


/* Active */
.button-primary:active {
  background-color: var(--color-blue-200);
  box-shadow: 0 0 0 3px var(--color-blue-100);
}
.button-secondary:active {
  background-color: var(--color-blue-100);
  box-shadow: 0 0 0 3px var(--color-blue-200);
}
.button-tertiary:active {
  background-color: var(--color-grey-100);
  box-shadow: 0 0 0 3px var(--color-grey-200);
}


@media (min-width: 1729px) {
  /* Reboot */
  html {
    font-size: 10px;
  }

  /* Container */
  .container {
    width: 1728px;
  }
}


@media (max-width: 1023px) {
  /* Reboot */
  html {
    font-size: calc(100vw / 375 * 10);
  }
  h1, .h1 {
    font-size: 3.2rem;
    letter-spacing: -0.16rem;
  }
  h2, .h2 {
    font-size: 3.2rem;
    letter-spacing: -0.24rem;
  }
  h3, .h3 {
    font-size: 2.4rem;
    letter-spacing: -0.168rem;
  }
  h4, .h4 {
    font-size: 1.8rem;
    letter-spacing: -0.054rem;
  }
  h5, .h5 {
    font-size: 1.4rem;
    letter-spacing: -0.028rem;
  }
  h6, .h6 {
    font-size: 2rem;
    line-height: normal;
    letter-spacing: -0.04rem;
  }
  input:not([type="checkbox"]),
  textarea {
    padding: 1.6rem;
    font-size: 1.4rem;
    letter-spacing: -0.018rem;
  }


  /* Utils */
  .mb-20,
  .mb-4 {
    margin-bottom: 8rem;
  }
  .only-desc {
    display: none;
  }
  .only-mob {
    display: block;
  }
  .overlay.is-active {
    z-index: var(--z-index-1);
    opacity: 1;
  }


  /* Button */
  .button {
    font-size: 1.6rem;
    letter-spacing: -0.032rem;
  }
  .button-m {
    padding: 1.5rem 2.4rem;
  }


  /* Text */
  .text_600_20 {
    font-size: 1.4rem;
    letter-spacing: -0.014rem;
  }
  .text_400_20 {
    font-size: 1.4rem !important;
    letter-spacing: -0.014rem;
  }
  .text_400_18 {
    font-size: 1.4rem;
    letter-spacing: -0.028rem;
  }
  .text_600_14 {
    font-size: 1.4rem;
  }
  .text_400_16 {
    font-size: 1.4rem;
  }


  /* Container */
  .container {
    padding: 0 1rem;
  }


  /* Table */
  .table-wrapper {
    margin: 0 -3rem;
    padding: 0 3rem;
    width: 100vw;
    overflow-x: scroll;
  }
  table th,
  table td {
    min-width: 15rem;
  }
  table thead {
    font-size: 1.6rem;
    letter-spacing: -0.032rem;
  }
  table tbody {
    font-weight: 600;
    font-size: 1.4rem;
    line-height: 150%;
    letter-spacing: -0.028rem;
  }


  /* Sticker */
  .sticker {
    display: none;
  }
}

