* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f4f6f8;
  color: #003b3b;
}

/* Шапка */

header {
  height: 65px;
  background: #fff;
  padding: 0 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-image {
  width: 100px;
  height: 45px;
  object-fit: contain;
  display: block;
}

/* Основная часть */

main {
  min-height: calc(100vh - 65px);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 35px 20px;
}

.card {
  background: #f0f1f5;
  width: 100%;
  max-width: 440px;
  padding: 32px 24px;
  border-radius: 16px;
  text-align: center;
}

/* Изображение замка */

.lock-image {
  display: block;
  width: 250px;
  height: 250px;
  object-fit: contain;
  margin: 0 auto 15px;
}

/* Заголовки и текст */

h1 {
  font-size: 30px;
  line-height: 1.3;
  margin: 10px 0 15px;
}

h2 {
  font-size: 20px;
  margin: 10px 0 12px;
}

p {
  color: #667779;
  line-height: 1.5;
  font-size: 15px;
}

/* Кнопка */

#continue {
  width: 100%;
  padding: 16px;
  background: #003b3b;
  color: white;
  border: 0;
  border-radius: 7px;
  font-size: 16px;
  font-weight: bold;
  margin-top: 20px;
  cursor: pointer;
  transition: transform .2s;
}

#continue:active {
  transform: scale(.98);
}

/* Информация */

.security-info {
  margin-top: 20px;
  font-size: 13px;
  color: #667779;
}

.security-info span {
  color: #27834a;
  margin-right: 5px;
}

.bottom-info {
  margin-top: 25px;
  font-size: 14px;
}

.bottom-info p {
  margin-bottom: 5px;
}

.bottom-info a {
  color: #003b3b;
  text-decoration: underline;
}

/* Модальное окно */

.modal-bg {
  display: none;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .5);
  justify-content: center;
  align-items: center;
  padding: 20px;
  z-index: 1000;
}

.modal {
  position: relative;
  background: #fff;
  width: 100%;
  max-width: 380px;
  padding: 30px 24px;
  border-radius: 14px;
  text-align: center;
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  border: none;
  background: none;
  font-size: 28px;
  cursor: pointer;
}

/* Три квадратные карточки с фотографиями */

.methods {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.method {
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f1f5;
  border-radius: 10px;
  overflow: hidden;
}

.method img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Мобильная версия */

@media (max-width: 480px) {
  main {
    padding: 20px 12px;
  }

  .card {
    padding: 28px 20px;
  }

  .lock-image {
    width: 90px;
    height: 90px;
    margin-bottom: 15px;
  }

  h1 {
    font-size: 21px;
  }

  h2 {
    font-size: 18px;
  }
}