body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background: #f9fafb;
  color: #002169;
}

/* HEADER */
.site-header {
  background: #002169;
  color: #ffe11e;
  padding: 1.5rem 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 1200px;
}

.brand-text h1 {
  margin: 0;
  font-size: 1.6rem;
}

.brand-text p {
  margin: .25rem 0 0;
  font-size: .9rem;
}
.logo-wrap {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  overflow: hidden;
}


.logo {
  width: 48px;
  height: 48px;
  max-width: 48px;
  max-height: 48px;
  object-fit: contain;
  background: white;
  padding: 6px;
  border-radius: 10px;
  display: block;
}


/* FILTERS */
.filters {
  display: flex;
  justify-content: center;
  gap: .5rem;
  padding: 1rem;
  background: white;
}

.filters button {
  border: none;
  padding: .5rem 1.1rem;
  border-radius: 999px;
  background: #ffe11e;
  color: #002169;
  font-weight: 600;
  cursor: pointer;
  transition: all .25s ease;
}

.filters button:hover {
  background: #002169;
  color: #ffe11e;
  box-shadow: 0 0 0 3px rgba(255,225,30,.4);
}

/* PYRAMID */
.pyramid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin: 2rem auto;
  max-width: 900px;
}

.level {
  border-radius: 16px;
  padding: 1rem;
  text-align: center;
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  animation: popIn .6s ease forwards;
}

.level:hover {
  box-shadow: 0 15px 35px rgba(0,0,0,.18);
  transform: scale(1.01);
}

/* Pyramid widths */
.create { width: 40%; background: #ffe11e; }
.evaluate { width: 50%; background: #fff176; }
.analyze { width: 60%; background: #c7d2fe; }
.apply { width: 70%; background: #bfdbfe; }
.understand { width: 80%; background: #e0e7ff; }
.remember { width: 90%; background: #f1f5f9; }

.level:nth-child(1) { animation-delay: .1s; }
.level:nth-child(2) { animation-delay: .2s; }
.level:nth-child(3) { animation-delay: .3s; }
.level:nth-child(4) { animation-delay: .4s; }
.level:nth-child(5) { animation-delay: .5s; }
.level:nth-child(6) { animation-delay: .6s; }

@keyframes popIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* TOOLS */
.tool-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
}

.tool-btn {
  padding: .45rem .8rem;
  border-radius: 999px;
  border: 1px solid #002169;
  background: white;
  cursor: pointer;
  font-size: .85rem;
  transition: all .25s ease;
}

.tool-btn:hover {
  background: #002169;
  color: #ffe11e;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,.15);
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background: white;
  padding: 1.8rem;
  border-radius: 16px;
  max-width: 520px;
  width: 90%;
  transform: scale(.85);
  opacity: 0;
  animation: modalIn .35s ease forwards;
}

@keyframes modalIn {
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.close {
  float: right;
  font-size: 1.6rem;
  cursor: pointer;
  color: #002169;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 1.5rem;
  font-size: .85rem;
}
