*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  font-family: "Inter", system-ui, sans-serif;
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 449px;
  max-width: 100%;
  /* Design sits slightly above vertical centre */
  margin-bottom: 88px;
}

/* Three overlapping cards stacked in one grid cell */
.cards {
  display: grid;
  place-items: start;
}

.card-slot,
.card--3d {
  grid-area: 1 / 1;
}

.card-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 185.141px;
  height: 185.141px;
}

.card-slot--sketch {
  margin: 83.9px 0 0 189.27px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  width: 156.098px;
  height: 156.098px;
  margin: 0;
  padding: 7.805px;
  border-radius: 15.61px;
}

.card--3d {
  margin: 52.9px 0 0 103.63px;
}

.card--tilt-right {
  transform: rotate(12deg);
}

.card--tilt-left {
  transform: rotate(-12deg);
}

.card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.card__tag {
  position: relative;
  padding: 1.301px 5.203px;
  border-radius: 999px;
  background: #fff;
  color: #404040;
  font-family: "DM Mono", ui-monospace, monospace;
  font-weight: 500;
  font-size: 7.805px;
  line-height: 13.008px;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.brand__logo {
  margin: 0;
  line-height: 0;
}

.brand__tagline {
  margin: 0;
  color: #6b7280;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
}

.sparkle {
  position: absolute;
  width: 30px;
  font-size: 30px;
  line-height: 36px;
  letter-spacing: -0.75px;
  text-align: center;
}

.sparkle--top {
  top: -18px;
  left: 278px;
}

.sparkle--left {
  top: 108px;
  left: -22px;
}

.sparkle--bottom {
  top: 227px;
  left: 111px;
}
