html {
	position: relative;
	min-height: 100%;
}

body {
	margin-bottom: 130px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	background: #f5f7fb;
	color: #17233d;
}

#page-content {
	padding: 104px 30px 50px;
	max-width: 1180px;
	margin: 0 auto;
}

/************/
/* Menu     */
/************/

.logo {
	width: 200px;
	height: auto;
}

.navbar-brand {
	height: auto;
	padding: 10px 50px 0px 15px;
}

.navbar-nav {
	font-size: 20px
}

.navbar-toggle {
	margin-top: 8px;
}

.navbar-nav > li > a
{
	margin-top: 4px;
	font-size: 20px;
	line-height: 20px;
	font-style: italic;
	padding-top: 12px;
	padding-bottom: 12px;
}

.navbar-default .navbar-nav > li > a
{
	color: #4366b1;
}

.navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-nav > li > a:hover
{
	color: #263665;
}

.navbar-default .navbar-nav>.active>a,
.navbar-default .navbar-nav>.open>a {
	background-color: #4366b1;
	background-image: none;
	color: #F8F8F8;
	box-shadow: none;
}

.navbar-default .navbar-nav>.active>a:focus, 
.navbar-default .navbar-nav>.active>a:hover {
	background-color: #4366b1;
	background-image: none;
	color: #F8F8F8;
}

.language-menu > li > a {
	font-size: 16px !important;
	font-weight: 600;
	font-style: normal;
}

.language-menu .dropdown-menu {
	min-width: 145px;
	font-size: 16px;
}

.language-menu .dropdown-menu > li > a {
	padding: 9px 16px;
}

@media (min-width: 768px) {
	.language-menu {
		margin-right: 15px;
	}
}

@media (max-width: 410px) {
	.navbar-brand {
		padding-right: 0px;
	}
}

@media (min-width: 768px) {
	#navbar li.sep {
		margin-top: 4px;
		width: 8px;
		height: 48px;
		background-image: url(sep.png);
		background-repeat: no-repeat;
		background-size: 8px 44px;
	}
	
	#navbar li.sep-none {
		background-image: none;
	}
	
	#navbar li.sep-left {
		background-image: url(left.png);
	}
	
	#navbar li.sep-right {
		background-image: url(right.png);
	}
	
}

/************/
/* Footer   */
/************/

#footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 130px;
	background-color: #1A1A1A;
}

#footer-content {
	font-size: 12px;
	padding: 10px 30px 0 30px;
	color: #C0C0C0
}

#footer .name {
	display: inline-block;
	font-size: 16px;
	font-style: italic;
	line-height: 16px;
	color: #F0F0F0;
	font-weight: 400;
	margin-bottom: 7px;
}

@media (max-width: 767px) {
  #footer-content, #page-content {
	padding-left: 10px;
	padding-right: 10px;
  }
}

.copyright {
	float: right;
}

/****************/
/* Page content */
/****************/
h1 {
	color: #172f65;
	font-size: clamp(2.7rem, 5vw, 4.4rem);
	font-weight: 750;
	letter-spacing: -0.04em;
	line-height: 1.05;
}

.header {
	font-style: italic;
	color: #4366b1;
}

.profile {
	display: flex;
	align-items: flex-start;
	gap: 34px;
	max-width: 980px;
	margin: 35px 0 42px;
}

.profile__photo {
	width: 224px;
	height: 224px;
	flex: 0 0 224px;
	object-fit: cover;
	border-radius: 50%;
	box-shadow: 0 14px 35px rgba(28, 50, 98, .16);
}

.profile__content h1 {
	margin: 0 0 18px;
}

.profile__content p {
	margin: 0 0 15px;
	font-size: 1.55rem;
	line-height: 1.65;
	color: #4b5d7e;
}

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

.section-divider {
	max-width: 900px;
	margin: 0 0 42px;
	border: 0;
	border-top: 1px solid #dbe3f0;
}

.apps-intro {
	max-width: 720px;
	margin: 0 0 42px;
}

.apps-intro > p:last-child,
.app-page__header p,
.app-page__body p {
	font-size: 1.55rem;
	line-height: 1.65;
	color: #4b5d7e;
}

.contact-page { max-width: 720px; margin: 26px auto 0; }
.contact-page h1 { margin: 0 0 16px; }
.contact-page__intro { margin: 0 0 30px; font-size: 1.55rem; line-height: 1.65; color: #4b5d7e; }
.contact-form { padding: 32px; border: 1px solid #dde4f1; border-radius: 20px; background: #fff; box-shadow: 0 14px 35px rgba(28, 50, 98, .07); }
.contact-form__field { margin-bottom: 21px; }
.contact-form label { display: block; margin-bottom: 7px; color: #172f65; font-size: 1.2rem; font-weight: 700; }
.contact-form input:not([type="hidden"]), .contact-form textarea { display: block; width: 100%; padding: 11px 13px; border: 1px solid #c8d4e8; border-radius: 8px; background: #fff; color: #17233d; font: inherit; font-size: 1.35rem; line-height: 1.45; }
.contact-form textarea { resize: vertical; min-height: 145px; }
.contact-form input:focus, .contact-form textarea:focus { border-color: #4366b1; outline: 3px solid rgba(67, 102, 177, .18); }
.contact-form__submit { padding: 12px 19px; border: 0; border-radius: 9px; background: #4366b1; color: #fff; font-size: 1.25rem; font-weight: 700; }
.contact-form__submit:hover, .contact-form__submit:focus { background: #263665; }
.contact-form__error { margin: 7px 0 0; color: #a62d24; font-size: 1.1rem; font-weight: 600; }
.contact-form__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-alert { margin: 0 0 22px; padding: 14px 17px; border-radius: 9px; font-size: 1.25rem; }
.contact-alert--success { border: 1px solid #a7d8b0; background: #eaf8ed; color: #236337; }
.contact-alert--error { border: 1px solid #ebbbb6; background: #fff1f0; color: #963128; }

.eyebrow {
	margin: 0 0 10px;
	font-size: .9rem;
	font-weight: 800;
	letter-spacing: .13em;
	color: #4366b1;
}

.app-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 30px;
	max-width: 900px;
}

.app-card {
	display: flex;
	gap: 34px;
	padding: 36px;
	border: 1px solid #dde4f1;
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 14px 35px rgba(28, 50, 98, .07);
}

.app-card--space { border-top: 5px solid #313c8b; }
.app-card--audio { border-top: 5px solid #16447d; }

.app-card__content {
	display: flex;
	flex: 1;
	flex-direction: column;
	position: relative;
}

.app-icon {
	width: 150px;
	height: 150px;
	flex: 0 0 150px;
	object-fit: cover;
	border-radius: 33px;
	box-shadow: 0 10px 24px rgba(21, 44, 94, .2);
}

.app-icon--audiobook {
	position: relative;
	overflow: hidden;
	background: #153b78;
}

.app-icon--audiobook img {
	position: absolute;
	width: 118%;
	height: auto;
	left: -9%;
	top: -6%;
	pointer-events: none;
}

.app-icon--audiobook .audio-headphones { transform: scale(.76); }
.app-icon--audiobook .audio-book { transform: translateY(4%) scale(.76); }

.app-card h2, .app-page h2 {
	margin: 0 0 10px;
	color: #172f65;
	font-size: 2.3rem;
	font-weight: 750;
}

.app-card p {
	margin: 0 0 14px;
	font-size: 1.55rem;
	line-height: 1.6;
	color: #4b5d7e;
}

.app-link {
	align-self: flex-end;
	display: inline-block;
	margin-top: 17px;
	padding: 12px 18px;
	border-radius: 9px;
	background: #4366b1;
	color: white;
	font-weight: 700;
	font-size: 1.25rem;
	text-decoration: none;
}

.app-link:hover, .app-link:focus { color: white; background: #263665; text-decoration: none; }

.app-status {
	align-self: flex-start;
	display: inline-block;
	padding: 5px 8px;
	border-radius: 6px;
	background: #eef3ff;
	color: #31589b;
	font-size: 1.08rem;
	font-weight: 700;
}

.app-card .app-status {
	position: absolute;
	top: 0;
	right: 0;
}

.app-page { margin-top: 35px; }

.app-page__header {
	display: flex;
	align-items: center;
	gap: 28px;
	padding-bottom: 40px;
	border-bottom: 1px solid #dbe3f0;
}

.app-page__header h1 { margin: 0 0 11px; }
.app-page__header p { margin: 0; }
.app-page__header .app-status { margin-top: 10px; }
.app-page__icon { width: 142px; height: 142px; flex-basis: 142px; border-radius: 31px; }
.app-page__icon.app-icon--audiobook img { width: 118%; }

.app-page__body {
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(340px, 1.1fr);
	align-items: center;
	gap: 55px;
	padding-top: 42px;
}

.app-page__body h2 { font-size: 2.5rem; }
.app-help {
	margin-top: 58px;
	padding-top: 48px;
	border-top: 1px solid #cfd9e9;
}

.app-help__intro { max-width: 700px; }
.app-help__intro h2 { margin: 0 0 12px; color: #172f65; font-size: 2.5rem; font-weight: 750; }
.app-help__intro > p:last-child, .app-help__topic p, .app-help__troubleshooting p { color: #4b5d7e; font-size: 1.35rem; line-height: 1.65; }

.app-help__steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	padding: 0;
	margin: 34px 0 42px;
	list-style: none;
}

.app-help__steps li { display: flex; gap: 12px; }
.app-help__steps span { display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%; background: #4366b1; color: #fff; font-size: 1.05rem; font-weight: 800; }
.app-help h3 { margin: 0 0 7px; color: #172f65; font-size: 1.35rem; font-weight: 750; }
.app-help__steps p { margin: 0; color: #4b5d7e; font-size: 1.12rem; line-height: 1.55; }

.app-help__topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.app-help__topic { padding: 26px 28px; border: 1px solid #dbe3f0; border-radius: 16px; background: rgba(255, 255, 255, .72); }
.app-help__topic p { margin: 0 0 14px; }
.app-help__topic p:last-child { margin-bottom: 0; }

.app-help__footer { max-width: 760px; margin-top: 34px; }
.app-help__troubleshooting { padding: 4px 0; }
.app-help__troubleshooting p { margin: 0; }
.app-help__shortcuts { margin-top: 28px; padding: 28px 30px; border-radius: 16px; background: #172f65; color: #f5f8ff; }
.app-help__shortcuts h3 { color: #fff; }
.app-help__shortcuts dl { margin: 0; }
.app-help__shortcuts dl > div { display: flex; justify-content: space-between; gap: 18px; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .18); }
.app-help__shortcuts dt { font-size: 1.28rem; font-weight: 500; }
.app-help__shortcuts dd { margin: 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.22rem; font-weight: 700; }
.app-page__store { display: flex; align-items: center; gap: 36px; margin-top: 24px; }
.app-page__store-badge { display: block; width: 190px; height: auto; }
.app-page__store-qr { width: 140px; height: 140px; }
.app-carousel { overflow: hidden; border-radius: 16px; }
.app-carousel__track { display: flex; transition: transform .65s ease-in-out; }
.app-carousel .app-screenshot { flex: 0 0 100%; min-width: 0; }
.app-screenshot { width: 100%; border-radius: 16px; box-shadow: 0 20px 50px rgba(28, 50, 98, .18); cursor: zoom-in; transition: transform .22s ease, box-shadow .22s ease; }
.app-screenshot:hover, .app-screenshot:focus { transform: scale(1.02); box-shadow: 0 25px 56px rgba(28, 50, 98, .26); outline: none; }

.lightbox-open { overflow: hidden; }

.image-lightbox {
	position: fixed;
	z-index: 1100;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 32px;
	background: rgba(8, 17, 37, 0);
	opacity: 0;
	visibility: hidden;
	transition: opacity .24s ease, background-color .24s ease, visibility 0s linear .24s;
	cursor: zoom-out;
}

.image-lightbox.is-open {
	background: rgba(8, 17, 37, .9);
	opacity: 1;
	visibility: visible;
	transition: opacity .24s ease, background-color .24s ease;
}

.image-lightbox__image {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	border-radius: 8px;
	box-shadow: 0 24px 70px rgba(0, 0, 0, .45);
	transform: scale(.94);
	transition: transform .24s ease;
}

.image-lightbox.is-open .image-lightbox__image { transform: scale(1); }

.image-lightbox__close {
	position: absolute;
	top: 16px;
	right: 24px;
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 3rem;
	line-height: 1;
	cursor: pointer;
}

.environment-badge {
	position: fixed;
	top: 60px;
	left: 14px;
	z-index: 1200;
	padding: 7px 11px;
	border: 1px solid #8a2d00;
	border-radius: 4px;
	background: #f5a623;
	box-shadow: 0 2px 7px rgba(0, 0, 0, .22);
	color: #241000;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}

@media (max-width: 767px) {
	body { margin-bottom: 165px; }
	#footer { height: 165px; }
	#page-content { padding: 76px 18px 36px; }
	.app-grid, .app-page__body { grid-template-columns: 1fr; }
	.profile { gap: 22px; margin-top: 28px; }
	.profile__photo { width: 120px; height: 120px; flex-basis: 120px; }
	.profile__content p { font-size: 1.55rem; }
	.app-card { gap: 20px; padding: 24px; }
	.app-icon { width: 105px; height: 105px; flex-basis: 105px; border-radius: 23px; }
	.app-icon--audiobook img { width: 118%; }
	.app-page__header { align-items: flex-start; gap: 18px; }
	.app-page__icon { width: 92px; height: 92px; flex-basis: 92px; border-radius: 21px; }
	.app-page__body { gap: 26px; padding-top: 28px; }
	.app-help { margin-top: 42px; padding-top: 34px; }
	.app-help__intro h2 { font-size: 2.1rem; }
	.app-help__steps, .app-help__topics, .app-help__footer { grid-template-columns: 1fr; }
	.app-help__steps { gap: 20px; margin: 28px 0 32px; }
	.app-help__topic { padding: 22px; }
	.app-help__footer { gap: 24px; margin-top: 24px; }
	.app-page__store { gap: 24px; }
	.app-page__store-badge { width: 170px; }
	.app-page__store-qr { width: 112px; height: 112px; }
	.contact-page { margin-top: 12px; }
	.contact-form { padding: 23px 20px; }
}
