*,
*:before,
*:after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
}

/* fix onclick on document on iOS */
/* без этого на ios мобилах не срабатывает document.onclick */

@media (max-width: 639px) {
  html * {
    cursor: pointer;
  }
}

/* iOS Safari remove gray highlight when tapping links */

html {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* iPad Input Shadows */

input[type='text'],
input[type='email'],
input[type='search'],
input[type='password'] {
  -webkit-appearance: none;
  -moz-appearance: none;
  /* mobile firefox too! */
}

input[type='text']::-ms-clear {
  display: none;
}

input[type='password']::-ms-reveal {
  display: none;
}

/**
* 1. Set default font family to sans-serif.
* 2. Prevent iOS text size adjust after orientation change, without disabling
*    user zoom.
*/

html {
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

/**
* Improve readability when focused and also mouse hovered in all browsers.
*/

a:active,
a:hover {
  outline: 0;
}

/**
* Re-set default cursor for disabled elements.
*/

button[disabled],
html input[disabled] {
  cursor: default;
}

/**
* Remove most spacing between table cells.
*/

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

/*******************************
            Page
*******************************/

/* html {
  overflow-x: hidden;
} */
body {
  height: 100%;
  margin: 0px;
  padding: 0px;
  overflow-x: hidden;
  min-width: 320px;
  color: #192032;

  --Deep-Blue-200: #e4ddeb;
  --Deep-Blue-300: #beb3c7;
  --Deep-Blue-400: #8b7f95;
  --Deep-Blue-600: #604b75;
  --Deep-Blue-800: #53386f;

  --Fuchsia-50: #fffcff;
  --Fuchsia-100: #faf2f9;
  --Fuchsia-200: #f7e8f8;
  --Fuchsia-600: #876ab5;
  --Fuchsia-700: #735e96;

  --Orange-100: #fff3ec;
  --Orange-300: #ffc18e;
  --Orange-500: #ff7719;
  --Orange-700: #ff5200;
  --Orange-800: #f6460e;

  background-color: var(--Fuchsia-100);
}

a {
  text-decoration: none;
}

bdo[dir='rtl'] {
  text-align: right;
}

button {
  padding: 0;
  outline: none;
  background: none;
  border: none;
}

h1,
h2,
h3,
h4,
h5,
p,
.inter {
  font-family: 'Inter', Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 0;
}

/* style system */
/* BOILERPLATE_NOTE: заменить шрифт, если нужно */
/* По умолчанию для этих элементов не меняется шрифт, поэтому добавленно отдельное правило */
input,
select,
button {
  font-family: 'Inter', Helvetica, Arial, sans-serif;
}

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

.m0 {
  margin: 0;
}

.d-none {
  display: none;
}

.popup-opened {
  overflow: hidden;
}

.popup-opened::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    50% 50% at 50% 50%,
    rgba(72, 56, 88, 0.7) 0%,
    rgba(52, 38, 66, 0.7) 100%
  );
  z-index: 998;
}

.plug {
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  max-width: 380px;
  padding: 24px;
  background-color: #ffffff;
  border-radius: 16px;
}

.link {
  color: var(--Orange-500);
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%; /* 31.2px */
  text-align: center;

  display: inline-flex;
  padding: 8px;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.link:hover {
  color: var(--Orange-700);
}

.link:active {
  color: var(--Orange-800);
}

/* .link:visited {
  color: var(--Orange-500);
} */

.link-secondary {
  color: var(--Deep-Blue-400);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px; /* 142.857% */
  border-bottom: 1px solid var(--Deep-Blue-300);
  transition: all 0.3s;
}

.link-secondary:hover {
  color: var(--Deep-Blue-600);
  border-bottom: 1px solid;
}

.link-secondary:active {
  color: var(--Deep-Blue-800);
  border-bottom: 1px solid;
}

/* Fonts */

.section-title {
  color: var(--Deep-Blue-800);
  text-align: center;
  font-size: 80px;
  font-weight: 700;
  line-height: 110%; /* 88px */
  letter-spacing: -0.8px;
  max-width: 1142px;
  margin: 0 auto;
  margin-bottom: 24px;
}

.section-subtitle {
  color: var(--Deep-Blue-600);
  text-align: center;
  font-size: 24px;
  font-weight: 400;
  line-height: 130%; /* 31.2px */
  max-width: 824px;
  margin: 0 auto;
  margin-bottom: 80px;
}

@media (max-width: 719px) {
  .section-title {
    font-size: 48px;
    letter-spacing: -0.48px;
  }
  .section-subtitle {
    font-size: 18px;
  }
}
