.page {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  background-image: url("assets/back.svg");
  background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.wrap {
  padding: 1.5em;
}

.container {
  max-width: 67.5em;
  margin: 0 auto;
}

.bg-block {
  width: 100vw;
  min-height: 50vh;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  display: block;
  box-sizing: border-box;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.bg-open {
  background-image: url("assets/open.svg");
}

.bg-digitalisation {
  background-image: url("assets/digitalisation.svg");
}

.bg-independent {
  background-image: url("assets/independent.svg");
}

.bg-dependencies {
  background-image: url("assets/dependencies.svg");
}

.bg-accuracy {
  background-image: url("assets/accuracy.svg");
}

.bg-result {
  background-image: url("assets/result.svg");
}

.bg-contacts {
  background-image: url("assets/contacts.svg");
}

.bg-logo {
  background-image: url("assets/logo.svg");
  background-size: 50%;
}

.section-pair {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  height: auto;
  border-bottom: 0.5px solid;
  border-image: linear-gradient(to right, transparent, rgba(34, 211, 238, 0.4), transparent) 1;
}

.section {
  margin: 1.5em 0;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 0;
  box-sizing: border-box;
  display: block;
  height: 100%;
}

.section:first-of-type {
  margin-top: 0;
}

.card {
  border-radius: 0.75em;
  padding: 1.25em;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
  max-width: 100%;
  overflow-wrap: break-word;
}

.card .stack {
  max-width: 67.5em;
  margin-left: auto;
  margin-right: auto;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 0.75em;
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75em;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1em;
}

.title-xl {
  font-size: 1.625em;
  font-weight: 700;
  line-height: 1.25;
  color: #F1F5F9;
}

.title-lg {
  font-size: 1.625em;
  font-weight: 700;
  line-height: 1.25;
  color: #F1F5F9;
}

.section-pair:first-of-type .title-lg {
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.section-pair:first-of-type .title-lg::before {
  content: " ";
  display: inline-block;
  width: 2em;
  height: 2em;
  background-image: url("assets/logo_small.svg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  flex-shrink: 0;
}

.text {
  font-size: 1em;
  line-height: 1.6;
  color: #CBD5E1;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

strong {
  color: #22D3EE;
  font-weight: 600;
}

.hero {
  border: 0.0625em solid rgba(71, 85, 105, 0.4);
  border-radius: 0.875em;
  padding: 1.5em;
  width: 100%;
  margin: 0;
}

.hero.stack {
  background: url("assets/open.svg") top center/cover no-repeat;
  border: none;
  padding: 4em 1.5em 8em 1.5em;
  min-height: 24em;
  text-shadow: 0 0.25em 0.75em rgba(0, 0, 0, 0.65);
  text-align: center;
  width: 100%;
}

.hero.stack .stack {
  max-width: 67.5em;
  margin: 0 auto;
}

.hero.stack .text {
  color: #CBD5E1;
  font-size: large;
  text-shadow: 0.0em 0.0em 0.25em rgb(0, 0, 0);
}

.hero.stack .text.muted {
  color: #A5B4FC;
}

.hero.stack .title-xl {
  color: #F1F5F9;
  text-shadow: 0.0em 0.0em 0.25em rgb(0, 0, 0);
}

.hero.stack strong {
  color: #22D3EE;
}

.bullet {
  border: 0.5px solid rgba(34, 211, 238, 0.4);
  border-radius: 0.625em;
  padding: 0.75em 0.875em;
  box-sizing: border-box;
  width: 100%;
}

.media-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.media-wrapper-title {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 4em;
  padding: 0.5em 0.5em 0.5em 12.5em;
}

.accent-cyan {
  color: #22D3EE;
}

.accent-sky {
  color: #38BDF8;
}

.accent-magenta {
  color: #E879F9;
}

.accent-indigo {
  color: #A5B4FC;
}

body.horizont .grid-2 {
  grid-template-columns: 1fr 1fr;
}

body.horizont .grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

body.horizont .title-xl {
  font-size: 2em;
}

body.horizont .title-lg {
  font-size: 2em;
}

body.horizont .text {
  font-size: 1.5em;
  max-width: 100%;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

body.horizont .wrap {
  padding: 0;
}

body.horizont .container {
  display: flex;
  flex-direction: column;
  max-width: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}

body.horizont .section-pair {
  display: flex;
  flex-direction: row;
  width: 100%;
  min-height: 100vh;
  height: auto;
}

body.horizont .bg-block {
  width: 50%;
  flex: 0 0 50%;
  position: static;
  margin: 0;
  left: auto;
  right: auto;
  height: 100vh;
  background-size: 90%;
}

body.horizont .section {
  width: 50%;
  flex: 0 0 50%;
  position: static;
  margin: 0;
  left: auto;
  right: auto;
  height: 100vh;
  overflow: hidden;
  box-sizing: border-box;
  max-width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

body.horizont .section-pair:last-of-type .section {
  width: 100%;
  flex: 0 0 100%;
}

body.horizont .media-wrapper-title {
  padding-top: 10vh;
  padding: 0.5em 0.5em 0.5em 2.5em;
}

body.horizont .section-pair:first-of-type .title-lg {
  display: flex;
  align-items: center;
  gap: 0.5em;
}

body.horizont .section-pair:first-of-type .title-lg::before {
  content: " ";
  display: inline-block;
  width: 2em;
  height: 2em;
  background-image: url("assets/logo_small.svg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  flex-shrink: 0;
}

body.horizont .card {
  max-width: 100%;
  width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
  box-sizing: border-box;
}

body.horizont .card .stack {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

body.horizont .bg-logo {
  background-image: url(assets/logo.svg);
  background-size: 50%;
}

body.horizont .media-wrapper {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
}

body.horizont .text {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

body.vertical {
  background-position: left top;
}

body.vertical .section-pair {
  padding-bottom: 5vh;
  flex-direction: column;
}

body.vertical .wrap {
  padding: 0;
}

body.vertical .section {
  margin: 0;
  margin-left: 0;
  margin-right: 0;
  left: 0;
  right: 0;
  padding: 0;
  min-height: 50vh;
  height: auto;
  position: static;
  width: 100%;
}

body.vertical .bg-block {
  width: 100vw;
  height: 50vh;
  left: 50%;
  right: 50%;
}

body.vertical .card {
  padding-top: 0;
  padding: 1em;
}

body.vertical .card,
body.vertical .hero,
body.vertical .bullet {
  border-radius: 0;
}

body.vertical .title-xl {
  font-size: 1.5em;
}

body.vertical .title-lg {
  font-size: 1.5em;
}

body.vertical .text {
  font-size: 1.125em;
  max-width: 100%;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
  text-align: center;
}

body.vertical .media-wrapper-title {
  padding: 0 0.5em 0.5em 0.5em;
  min-height: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  margin: 0 auto;
  width: calc(100% - 2.5em);
  max-width: calc(100% - 2.5em);
  box-sizing: border-box;
}

body.vertical .hero.stack {
  background: url("assets/open.svg") bottom center no-repeat;
  text-shadow: 0.25em 0.25em 0.25em rgb(0, 0, 0);
  padding: 10em 1.5em 1em 1.5em;
}

body.vertical .media-wrapper-title .title-lg {
  text-align: center;
  width: 100%;
  display: block;
}

body.vertical .section-pair:first-of-type .title-lg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
}

body.vertical .section-pair:first-of-type .title-lg::before {
  content: " ";
  display: inline-block;
  width: 2em;
  height: 2em;
  background-image: url("assets/logo_small.svg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  flex-shrink: 0;
}

body.vertical .grid,
body.vertical .grid-2,
body.vertical .grid-3 {
  grid-template-columns: 1fr;
}

body.vertical .bg-logo {
  background-image: url(assets/logo.svg);
  background-size: 70%;
}

.footer {
  width: 100%;
}
