.system-construction {
  --sc-blue: #0076ff;
  --sc-blue-dark: #0055b5;
  --sc-red: #f1361d;
  --sc-text: #423e3a;
  --sc-muted: #53504f;
  --sc-light: #f7fafc;
  --sc-border: #d8dadb;
  --sc-white: #ffffff;
  --sc-radius: 5px;
  color: var(--sc-text);
  font-family: var(--font-body), Arial, sans-serif;
  background: var(--sc-white);
}

.system-container,
.system-tariffs__container {
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
}

.system-hero {
  min-height: 455px;
  padding: 0;
  overflow: hidden;
  background: var(--sc-white) url("../system-construction/images/hero_bg.png") center bottom repeat-x;
}

.system-hero .system-container {
  min-height: 455px;
}

.system-hero__wrapper {
  display: grid;
  grid-template-columns: minmax(0, 650px) 400px;
  gap: 60px;
  align-items: stretch;
  min-height: 455px;
}

.system-hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 28px;
}

.system-hero__label {
  width: 100%;
  max-width: 650px;
  margin: 0 0 130px;
  color: #2c2b29;
  font-size: clamp(42px, 4.3vw, 48px);
  font-weight: 800;
  line-height: 1;
}

.system-hero__title {
  max-width: 650px;
  margin: 0;
  color: #373635;
  font-family: var(--font-body), Arial, sans-serif;
  font-size: clamp(28px, 2.7vw, 31px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.3px;
}

.system-hero__title strong {
  display: block;
  margin-bottom: 18px;
  color: #2c2b29;
  font-size: clamp(42px, 4.3vw, 48px);
  font-weight: 800;
  line-height: 1;
}

.system-hero__man {
  position: relative;
  container-type: inline-size;
  align-self: end;
  width: min(100%, 400px);
  margin-left: auto;
}

.system-hero__man img {
  display: block;
  width: 100%;
  height: auto;
}

.system-hero__sign {
  position: absolute;
  left: 11%;
  top: 55%;
  width: 61%;
  height: 40%;
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--sc-white);
  font-family: Arial, sans-serif;
  text-align: center;
  line-height: 1.04;
  transform: rotate(2deg);
  text-shadow: 0 1px 3px rgba(120, 0, 0, 0.4);
  pointer-events: none;
}

.system-hero__sign b {
  display: block;
  margin-bottom: 0;
  font-size: 9cqw;
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.system-hero__sign span {
  display: block;
  margin-top: 0.4em;
  font-size: 6.7cqw;
  font-weight: 700;
  line-height: 1.04;
}

.system-presentation {
  padding: 78px 0 88px;
  background: var(--sc-white);
}

.system-presentation__title,
.system-tools__title,
.system-tariffs__cell--title h2 {
  margin: 0;
  font-family: var(--font-body), Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0;
}

.system-presentation__title {
  margin-bottom: 47px;
  color: #2c2b29;
  font-size: 32px;
  line-height: 1.1;
}

.system-presentation__panel {
  width: 100%;
  margin: 0 auto;
  min-height: 247px;
  padding: 62px 54px 45px;
  border-radius: 6px;
  color: var(--sc-text);
  background: #f7f7f7;
  box-shadow: none;
}

.system-presentation__form {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
  max-width: none;
  gap: 0;
  margin: 0;
}

.system-presentation__form > .system-field {
  flex: 0 0 23.4%;
  display: block;
  position: relative;
  max-width: 23.4%;
}

.system-field__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.system-field__input {
  display: block;
  width: 100%;
  max-width: none;
  height: 50px;
  padding: 0;
  border: 0;
  border-bottom: 2px solid #d8d8d8;
  border-radius: 0;
  color: #2c2b29;
  font: 400 18px/1.2 var(--font-body), Arial, sans-serif;
  outline: none;
  background: transparent;
}

.system-field__input::placeholder {
  color: #2c2b29;
  opacity: 1;
}

.system-field__input:focus {
  border-color: var(--sc-blue);
  box-shadow: none;
}

.system-field__input.error {
  border-bottom-color: #ff3b30;
}

.system-field .warning,
.system-policy .warning {
  position: absolute;
  right: 0;
  bottom: -20px;
  z-index: 2;
  display: block;
  padding: 2px 10px;
  border-radius: 4px;
  background: #ff3b30;
  color: var(--sc-white);
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
}

.system-button {
  display: inline-flex;
  flex: 0 0 200px;
  align-items: center;
  justify-content: center;
  width: 200px;
  max-width: none;
  height: 52px;
  min-height: 52px;
  padding: 0 20px;
  border: 0;
  border-radius: 0;
  color: var(--sc-white);
  background: var(--sc-red);
  font: 800 16px/1 var(--font-body), Arial, sans-serif;
  text-align: center;
  text-transform: none;
  white-space: nowrap;
  cursor: pointer;
}

.system-button:disabled {
  opacity: 0.75;
  cursor: wait;
}

.system-policy {
  position: relative;
  display: flex;
  flex: 0 0 100%;
  gap: 6px;
  align-items: flex-start;
  justify-content: flex-end;
  margin-top: 34px;
  padding-right: 4px;
  color: #bdbdbd;
  font-size: 16px;
  line-height: 1.25;
  text-align: right;
}

.system-policy input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.system-policy__box {
  display: block;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: -2px;
  border: 2px solid #bdbdbd;
  background: transparent;
}

.system-policy.error .system-policy__box {
  border-color: #ff3b30;
}

.system-policy .warning {
  top: 22px;
  right: 0;
  bottom: auto;
}

.system-policy input:checked + .system-policy__box {
  border-color: var(--sc-blue);
  background: var(--sc-blue) url("../system-construction/images/icn_accept.svg") center/15px auto no-repeat;
}

.system-policy__text a {
  color: #bdbdbd;
  text-decoration: underline;
}

.system-form-result {
  margin: 0;
  color: #2c2b29;
  font: 800 28px/1.25 var(--font-body), Arial, sans-serif;
}

.system-form-result--error {
  color: #ff3b30;
}

.system-tools {
  padding: 39px 0 47px;
  background: var(--sc-blue-dark);
  color: var(--sc-white);
}

.system-tools .system-container {
  width: min(100% - 66px, 1070px);
}

.system-tools__title {
  margin-bottom: 46px;
  color: var(--sc-white);
  font-size: clamp(28px, 3vw, 31px);
  line-height: 1.2;
  text-align: left;
}

.system-tools__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 21px 22px;
  align-items: stretch;
}

.system-tools__card {
  position: relative;
  padding: 29px 26px 28px;
  border: 0;
  border-radius: 13px;
  background: var(--sc-white);
  box-shadow: 0 2px 10px rgba(16, 24, 40, 0.04);
}

.system-tools__num {
  margin-bottom: 21px;
  color: var(--sc-blue-dark);
  font-family: var(--font-body), Arial, sans-serif;
  font-size: 44px;
  font-weight: 300;
  line-height: 1;
}

.system-tools__card h3 {
  margin: 0 0 14px;
  color: #0e1116;
  font-family: var(--font-body), Arial, sans-serif;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.1;
}

.system-tools__card p {
  margin: 0;
  color: #0e1116;
  font-size: 15px;
  line-height: 1.25;
}

.system-tools__badge {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--sc-blue-dark);
  background: rgba(0, 85, 181, 0.08);
  font-size: 13px;
  font-weight: 600;
}

.system-tariffs {
  padding: 55px 0 88px;
  background: var(--sc-white);
}

.system-tariffs__container {
  width: min(100% - 94px, 1792px);
  overflow-x: visible;
  padding-bottom: 0;
}

.system-tariffs__table {
  width: 100%;
  min-width: 0;
  border-radius: 0;
  overflow: visible;
  background: var(--sc-white);
  box-shadow: none;
}

.system-tariffs__row {
  display: grid;
  grid-template-columns: 1fr 0.5fr 0.5fr 0.5fr;
  border-bottom: 1px solid #f0e8e4;
}

.system-tariffs__row:last-child {
  border-bottom: 0;
}

.system-tariffs__row:not(.system-tariffs__row--head) {
  position: relative;
  z-index: 1;
}

.system-tariffs__row--head {
  position: sticky;
  top: 0;
  z-index: 110;
  align-items: stretch;
  min-height: 166px;
  background: var(--sc-white);
}

.system-tariffs__row--head::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 60%;
  z-index: 3;
  border: 6px solid var(--sc-blue);
  border-radius: 8px;
  pointer-events: none;
}

.system-tariffs__cell {
  box-sizing: border-box;
  min-width: 0;
  padding: 0;
  border-right: 0;
  background: var(--sc-white);
}

.system-tariffs__cell:last-child {
  border-right: 0;
}

.system-tariffs__cell--title {
  display: flex;
  align-items: center;
  background: var(--sc-white);
}

.system-tariffs__cell--title h2 {
  color: var(--sc-blue-dark);
  font-size: 36px;
  font-weight: 800;
  line-height: 1.1;
}

.system-tariffs__plan {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
  color: #4b4b4b;
  min-height: 166px;
  border-left: 1px solid #edf2f7;
  background: var(--sc-white);
  text-align: center;
}

.system-tariffs__plan h3 {
  margin: 0 0 2px;
  color: inherit;
  font-family: var(--font-body), Arial, sans-serif;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}

.system-tariffs__plan p {
  margin: 0;
  color: #777;
  font-size: 14px;
  font-weight: 700;
}

.system-tariffs__plan--base {
  background: #fbfdff;
  box-shadow: inset 0 0 0 3px #f6faff;
}

.system-tariffs__plan--vip {
  border: 0;
  border-radius: 0;
  background: var(--sc-white);
}

.system-tariffs__plan--vip::after {
  content: "";
  position: absolute;
  top: 10%;
  right: 0;
  width: 1px;
  height: 80%;
  background: #e5e5e5;
}

.system-tariffs__plan--plus {
  border: 0;
  border-radius: 0;
  background: var(--sc-white);
}

.system-tariffs__old-price {
  min-height: 17px;
  color: #9c9c9c;
  font-size: 14px;
  font-weight: 700;
  text-decoration: line-through;
}

.system-tariffs__old-price--empty {
  text-decoration: none;
}

.system-tariffs__price {
  color: #4b4b4b;
  font-family: var(--font-body), Arial, sans-serif;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.system-tariffs__option {
  padding: 18px 24px 17px 0;
}

.system-tariffs__option h4 {
  margin: 0 0 16px;
  color: var(--sc-blue-dark);
  font-family: var(--font-body), Arial, sans-serif;
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.system-tariffs__option p,
.system-tariffs__option li {
  margin: 0;
  color: var(--sc-muted);
  font-size: 12px;
  line-height: 1.35;
}

.system-tariffs__option ul {
  margin: 0;
  padding-left: 18px;
}

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

.system-tariffs__check img {
  width: 24px;
  height: auto;
}

.system-tariffs__row--group .system-tariffs__cell,
.system-tariffs__row--list .system-tariffs__cell {
  background: var(--sc-white);
}

.system-tariffs__row--users .system-tariffs__cell {
  background: var(--sc-white);
  padding-top: 20px;
}

.system-tariffs__users {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
  color: #a09e9c;
  font-size: 12px;
  font-weight: 300;
  line-height: 1em;
  text-align: center;
  text-transform: uppercase;
}

.system-tariffs__users img {
  max-width: 54px;
  height: 27px;
}

@media (max-width: 1180px) {
  .system-hero__wrapper {
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 36px;
  }

}

@media (max-width: 820px) {
  .system-container,
  .system-tariffs__container {
    width: min(100% - 28px, 1180px);
  }

  .system-hero {
    min-height: 0;
    padding-top: 28px;
  }

  .system-hero__wrapper {
    grid-template-columns: 1fr;
    gap: 22px;
    min-height: 0;
  }

  .system-hero .system-container {
    min-height: 0;
  }

  .system-hero__content {
    padding-bottom: 0;
  }

  .system-hero__title {
    margin-bottom: 10px;
    font-size: clamp(22px, 5vw, 28px);
  }

  .system-hero__title strong {
    font-size: clamp(32px, 8vw, 42px);
  }

  .system-hero__man {
    width: min(70vw, 290px);
    margin: 0 auto;
  }

  .system-presentation,
  .system-tools,
  .system-tariffs {
    padding-top: 54px;
    padding-bottom: 62px;
  }

  .system-tools {
    padding-bottom: 22px;
  }

  .system-presentation__title {
    margin-bottom: 24px;
  }

  .system-presentation__panel {
    min-height: 0;
    padding: 24px 18px;
  }

  .system-presentation__form > .system-field {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 20px;
  }

  .system-presentation__submit {
    flex: 0 0 100%;
    width: 100%;
    max-width: none;
  }

  .system-policy {
    justify-content: center;
    margin-top: 18px;
    padding-right: 0;
    font-size: 13px;
    text-align: center;
  }

  .system-tools__grid {
    grid-template-columns: 1fr;
  }

  .system-tools .system-container {
    width: min(100% - 28px, 1070px);
  }

  .system-tools__card {
    min-height: 0;
  }

  .system-tools__card h3 {
    min-height: 0;
  }
}

@media (max-width: 900px) {
  .system-tariffs {
    padding-top: 40px;
    padding-bottom: 64px;
  }

  .system-tariffs__container {
    width: min(100% - 64px, 760px);
    overflow: visible;
  }

  .system-tariffs__table {
    display: block;
    width: 100%;
    overflow: visible;
  }

  .system-tariffs__row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-bottom: 1px solid #f0e8e4;
  }

  .system-tariffs__row--head {
    top: 0;
    z-index: 120;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-height: 0;
    background: var(--sc-white);
  }

  .system-tariffs__row--head::after {
    display: block;
    top: calc(48px * 1.05 + 84px);
    right: 0;
    bottom: 0;
    left: 33.333333%;
    z-index: 8;
    border: 4px solid var(--sc-blue);
    border-radius: 8px;
  }

  .system-tariffs__cell--title {
    grid-column: 1 / -1;
    padding: 0 0 84px;
  }

  .system-tariffs__cell--title h2 {
    font-size: 48px;
    line-height: 1.05;
  }

  .system-tariffs__plan {
    min-height: 180px;
    padding: 16px 8px;
    gap: 10px;
    border-left: 0;
  }

  .system-tariffs__plan h3 {
    font-size: 24px;
    line-height: 1;
    white-space: nowrap;
  }

  .system-tariffs__plan p {
    font-size: 22px;
    font-weight: 400;
    line-height: 1.1;
    white-space: nowrap;
  }

  .system-tariffs__old-price {
    min-height: 21px;
    font-size: 18px;
    line-height: 1;
    white-space: nowrap;
  }

  .system-tariffs__price {
    font-size: 32px;
    line-height: 1;
    white-space: nowrap;
  }

  .system-tariffs__plan--base {
    border-radius: 8px 0 0 0;
  }

  .system-tariffs__plan--vip {
    border: 0;
    border-radius: 0;
  }

  .system-tariffs__plan--vip::after {
    top: 13%;
    right: 0;
    z-index: 4;
    height: 74%;
  }

  .system-tariffs__plan--plus {
    border: 0;
    border-radius: 0;
  }

  .system-tariffs__option {
    grid-column: 1 / -1;
    padding: 42px 0 34px;
  }

  .system-tariffs__option h4 {
    margin-bottom: 30px;
    font-size: 30px;
    line-height: 1.05;
  }

  .system-tariffs__option p,
  .system-tariffs__option li {
    font-size: 24px;
    line-height: 1.28;
  }

  .system-tariffs__check {
    min-height: 112px;
    align-items: center;
    justify-content: center;
  }

  .system-tariffs__check img {
    width: 42px;
  }

  .system-tariffs__row--group .system-tariffs__cell:not(.system-tariffs__option) {
    display: none;
  }

  .system-tariffs__row--group .system-tariffs__option {
    padding-bottom: 28px;
  }

  .system-tariffs__row--users {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .system-tariffs__row--users .system-tariffs__cell:first-child {
    display: none;
  }

  .system-tariffs__row--users .system-tariffs__cell {
    min-height: 112px;
  }

  .system-tariffs__users {
    gap: 14px;
    color: #9c9c9c;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
  }
}

@media (max-width: 520px) {
  .system-presentation__title,
  .system-tools__title,
  .system-tariffs__cell--title h2 {
    font-size: 24px;
  }

  .system-hero__title {
    font-size: 20px;
  }

  .system-hero__title strong {
    font-size: 32px;
  }

  .system-field__input,
  .system-button {
    height: 54px;
    min-height: 54px;
    font-size: 16px;
  }

  .system-form-result {
    font-size: 22px;
  }

  .system-tariffs {
    padding-top: 32px;
  }

  .system-tariffs__container {
    width: min(100% - 32px, 760px);
  }

  .system-tariffs__cell--title {
    padding-bottom: 45px;
  }

  .system-tariffs__plan {
    min-height: 96px;
    padding: 8px 3px;
    gap: 6px;
  }

  .system-tariffs__plan h3 {
    font-size: 13px;
  }

  .system-tariffs__plan p {
    font-size: 13px;
  }

  .system-tariffs__old-price {
    min-height: 13px;
    font-size: 11px;
  }

  .system-tariffs__price {
    font-size: 18px;
  }

  .system-tariffs__row--head::after {
    top: calc(24px * 1.05 + 45px);
    border-width: 3px;
  }

  .system-tariffs__option {
    padding: 30px 0 24px;
  }

  .system-tariffs__option h4 {
    margin-bottom: 22px;
    font-size: 18px;
  }

  .system-tariffs__option p,
  .system-tariffs__option li {
    font-size: 14px;
  }

  .system-tariffs__check {
    min-height: 76px;
  }

  .system-tariffs__check img {
    width: 24px;
  }

  .system-tariffs__row--users .system-tariffs__cell {
    min-height: 92px;
  }

  .system-tariffs__users {
    gap: 10px;
    font-size: 9px;
  }

  .system-tariffs__users img {
    max-width: 40px;
    height: 24px;
  }
}
