:root {
  --primary: #1E2329;
  --layout: #F4F6F9;
  --secondary: #4D5562;
  --accent: #2E4A68;
}

    body {
      font-family: Arial, sans-serif;
      margin: 0;
      background: #fff;
      color: #333;
      line-height: 1.6;
    }

    /* Шапка */
    header {
      background: var(--layout);
      color: var(--primary);
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 12px 24px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.15);
      position: sticky;
      top: 0;
      z-index: 100;
    }

    header .logo {
      display: flex;
      align-items: center;
      text-decoration: none;
      color: var(--primary);
    }

    header .logo img {
      height: 36px;
      width: auto;
      margin-right: 10px;
	  border-radius: 50%;
	  background-color: var(--primary);
    }

    header nav a {
      color: var(--primary);
      text-decoration: none;
      margin-left: 20px;
      font-weight: 500;
      transition: opacity 0.2s ease;
    }

    header nav a:hover {
      opacity: 0.8;
    }

    main {
      max-width: 800px;
      margin: 60px auto;
      padding: 20px;
    }

    h1, h2 {
      color: #222;
    }

    a {
      color: var(--accent);
      text-decoration: none;
    }

    a:hover {
      text-decoration: underline;
    }

    form {
      margin-top: 20px;
    }

    label {
      display: block;
      margin-top: 10px;
      font-weight: bold;
    }

    input, textarea {
      width: 100%;
      padding: 10px;
      margin-top: 5px;
      border: 1px solid #ccc;
      border-radius: 4px;
      font-size: 14px;
      box-sizing: border-box;
    }

    button {
      background-color: var(--accent);
      color: white;
      border: none;
      padding: 10px 16px;
      border-radius: 4px;
      cursor: pointer;
      margin-top: 15px;
      font-size: 15px;
    }

    button:hover {
      background-color: #2e3dcf;
    }

    .alert {
      margin-top: 15px;
      padding: 10px;
      border-radius: 4px;
    }

    .alert.success { background-color: #d4edda; color: #155724; }
    .alert.error { background-color: #f8d7da; color: #721c24; }

	main {
	max-width: 800px;
	margin: 40px auto;
	padding: 20px;
	}

	/* Карточка */
	.card {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.08);
	overflow: hidden;
	}

	/* Медиа */
	.media {
		background: #f3f3f3;
		width: 100%;
		height: 50dvh;
	}

	
	.media img,
	.media video {
		width: 100%;
		height: 100%;
		display: block;
	}
	
	.media img {
		position: absolute;
		object-fit: cover;
	}

	/* Общие блоки */
	.section {
	padding: 20px;
	}

	.title {
	margin: 0;
	font-size: 26px;
	color: var(--primary);
	}

	.subtitle {
	margin-top: 6px;
	color: #777;
	font-size: 14px;
	}

	.text {
	margin-top: 16px;
	font-size: 16px;
	}

	/* Профиль */
	.profile {
	display: flex;
	gap: 20px;
	align-items: center;
	}

	.image {
		position: relative;
		width: 100%;
		height: 100%;
	}

	.image > img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.avatar {
		position: relative;
	width: 120px;
	height: 120px;
	border-radius: 50%;
	object-fit: cover;
	background: #e5e5e5;
	flex-shrink: 0;
	overflow: hidden;
	}

	.avatar > img {
		position: absolute;
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
	.image > img.thumbnail,
	.avatar > img.thumbnail {
		top: 0;
		left: 0;
		z-index: 0;
		filter: blur(1px);
	}

	/* Мелкие бейджи */
	.badges {
	display: flex;
	gap: 8px;
	margin-top: 10px;
	flex-wrap: wrap;
	}

	.badge {
	background: var(--layout);
	color: var(--primary);
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 13px;
	}

	.app-download {
	margin-top: 60px;
	padding: 40px 20px;
	}

	.app-download__card {
	max-width: 800px;
	margin: 0 auto;
	background: var(--layout);
	border-radius: 20px;
	padding: 32px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	}

	.app-download__text h2 {
	margin: 0;
	color: var(--primary);
	font-size: 24px;
	}

	.app-download__text p {
	margin-top: 10px;
	color: #555;
	max-width: 420px;
	}

	.app-download__buttons {
	display: flex;
	gap: 12px;
	flex-shrink: 0;
	}

	.store-btn {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 12px 18px;
	border-radius: 12px;
	text-decoration: none;
	color: #fff;
	min-width: 150px;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
	}

	.store-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0,0,0,0.15);
	}

	.store-btn.google {
	background: linear-gradient(135deg, #34A853, #0F9D58);
	}

	.store-btn.apple {
	background: linear-gradient(135deg, #111, #444);
	}

	.store-btn__small {
	font-size: 12px;
	opacity: 0.85;
	}

	.store-btn__big {
	font-size: 16px;
	font-weight: bold;
	}

	.app-download {
  margin-top: 60px;
  padding: 40px 20px;
}

.app-download__card {
  max-width: 800px;
  margin: 0 auto;
  background: var(--layout);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.app-download__text h2 {
  margin: 0;
  font-size: 24px;
  color: var(--primary);
}

.app-download__text p {
  margin-top: 10px;
  color: #555;
  max-width: 420px;
}

.app-download__buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  min-width: 190px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.18);
}

.store-btn.google {
  background: linear-gradient(135deg, #34A853, #0F9D58);
}

.store-btn.apple {
  background: linear-gradient(135deg, #111, #444);
}

.store-btn__icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.store-btn__small {
  display: block;
  font-size: 12px;
  opacity: 0.85;
}

.store-btn__big {
  display: block;
  font-size: 16px;
  font-weight: bold;
}

.screenshots {
  margin: 40px 0;
  display: flex;
  gap: 24px;
  overflow-x: auto;

  padding: 10px 20px;

  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.screenshots::-webkit-scrollbar {
  display: none;
}

.phone {
  flex-shrink: 0;
  width: 220px;

  border-radius: 28px;
  overflow: hidden;

  background: #EEF1F5;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);

  scroll-snap-align: center;
}

.phone img {
  width: 100%;
  display: block;
}

    @media (max-width: 600px) {
      header nav a {
        margin-left: 12px;
        font-size: 14px;
      }
      main { margin: 50px 10px; }
	  .profile {
			flex-direction: column;
			align-items: flex-start;
		}

		.avatar {
			width: 96px;
			height: 96px;
		}

		.title {
			font-size: 22px;
		}
		.app-download__card {
			flex-direction: column;
			text-align: center;
		}

		.app-download__buttons {
			width: 100%;
			justify-content: center;
		}

		.store-btn {
			width: auto;
			align-items: center;
		}
		.app-download__card {
			flex-direction: column;
			text-align: center;
		}

		.app-download__buttons {
			width: 100%;
			flex-direction: column;
		}
    }