* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #fff9fb;
  color: #4b4145;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 7%;
  background: #f7dce4;
}

.logo {
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: bold;
}

nav {
  display: flex;
  gap: 28px;
}

nav a {
  text-decoration: none;
  color: #4b4145;
  font-size: 15px;
}

nav a:hover {
  color: #c97f98;
}

.hero {
  min-height: 420px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(
    135deg,
    #f9e7ed,
    #f4ccd9
  );
  padding: 40px 20px;
}

.hero-text {
  max-width: 650px;
}

.hero h1 {
  font-family: Georgia, serif;
  font-size: 58px;
  margin-bottom: 16px;
}

.hero p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 28px;
}

.button {
  display: inline-block;
  padding: 12px 28px;
  background: #d98fa7;
  color: white;
  text-decoration: none;
  border-radius: 30px;
}

.button:hover {
  background: #c97894;
}

.intro {
  text-align: center;
  padding: 70px 20px 35px;
  max-width: 800px;
  margin: auto;
}

.intro h2,
.quiz h2 {
  font-family: Georgia, serif;
  font-size: 34px;
}

.intro p {
  line-height: 1.7;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 35px 7% 80px;
}

.card {
  background: white;
  border-radius: 22px;
  padding: 28px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
}

.placeholder {
  height: 180px;
  background: #f8e1e8;
  border-radius: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 60px;
  color: #d98fa7;
  margin-bottom: 22px;
}

.card h3 {
  font-family: Georgia, serif;
  font-size: 24px;
}

.card p {
  line-height: 1.6;
  color: #766a6e;
}

.card a {
  color: #c97894;
  text-decoration: none;
  font-weight: bold;
}

.quiz {
  text-align: center;
  padding: 70px 20px;
  background: #f7dce4;
}

.quiz p {
  margin-bottom: 24px;
}

footer {
  text-align: center;
  padding: 24px;
  background: #4b4145;
  color: white;
}

@media (max-width: 768px) {

  header {
    flex-direction: column;
    gap: 18px;
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }

  .hero {
    min-height: 360px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero p {
    font-size: 16px;
  }

  .cards {
    grid-template-columns: 1fr;
    padding: 30px 20px 60px;
  }

  .intro {
    padding: 50px 20px 25px;
  }

  .card {
    padding: 22px;
  }

  .placeholder {
    height: 150px;
  }
}